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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)