pub struct Guard<B: Eq + Hash> { /* private fields */ }Expand description
A guard that tracks message delivery. When all clones are dropped, the message is marked as delivered.
Trait Implementations§
Auto Trait Implementations§
impl<B> !RefUnwindSafe for Guard<B>
impl<B> !UnwindSafe for Guard<B>
impl<B> Freeze for Guard<B>
impl<B> Send for Guard<B>
impl<B> Sync for Guard<B>
impl<B> Unpin for Guard<B>
impl<B> UnsafeUnpin for Guard<B>where
Arc<Inner<B>>: UnsafeUnpin,
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