pub struct Outbox(/* private fields */);Expand description
Ordered event delivery for one hub (or one CMUX session).
Sinks run with no hub or manager lock held, so a sink may call back into the
manager. Events reach sinks in queue order whichever thread queued them: while the
hub thread is between routing and dispatch (begin_batch .. end_batch), events
queued by other threads (watch remainder on unwatch, Disconnect from a JNI
callback) wait behind the hub’s batch. One thread delivers at a time; a thread
that finds delivery in progress leaves its events to it (also when a sink re-enters).
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Outbox
impl Forget for Outbox
impl RefUnwindSafe for Outbox
impl Send for Outbox
impl Sync for Outbox
impl Unpin for Outbox
impl UnsafeUnpin for Outbox
impl UnwindSafe for Outbox
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