pub struct Bus<M> { /* private fields */ }Expand description
Lock-free bounded MPMC message bus with explicit backpressure.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<M> !Freeze for Bus<M>
impl<M> RefUnwindSafe for Bus<M>
impl<M> Send for Bus<M>where
M: Send,
impl<M> Sync for Bus<M>where
M: Send,
impl<M> Unpin for Bus<M>where
M: Unpin,
impl<M> UnsafeUnpin for Bus<M>
impl<M> UnwindSafe for Bus<M>
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