pub struct MessagePort { /* fields omitted */ }
This forcefully disconnects the message port from its paired port. This
will wake up the .recv
on the paired port, which will return Ok(None)
.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.