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