pub struct VisualizationListener<'a> { /* private fields */ }Expand description
A non-blocking TcpListener for decision diagram visualization
Implementations§
Source§impl VisualizationListener<'_>
impl VisualizationListener<'_>
Sourcepub fn poll(&mut self) -> Result<bool>
pub fn poll(&mut self) -> Result<bool>
Poll for clients like OxiDD-vis
If a connection was established, this method will directly handle the
client. If the decision diagram(s) were successfully sent, the return
value is Ok(true). If no client was available
(TcpListener::accept() returned an error with
io::ErrorKind::WouldBlock), the return value is Ok(false).
Err(..) signals a communication error.
Auto Trait Implementations§
impl<'a> Freeze for VisualizationListener<'a>
impl<'a> RefUnwindSafe for VisualizationListener<'a>
impl<'a> Send for VisualizationListener<'a>
impl<'a> Sync for VisualizationListener<'a>
impl<'a> Unpin for VisualizationListener<'a>
impl<'a> !UnwindSafe for VisualizationListener<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more