pub struct OwnedNotifyPermit { /* private fields */ }Expand description
An owned permit to send a single notification.
Created by HandlerCtx::permit_owned,
HandlerCtx::try_permit_owned, HandlerCtx::permit_many,
or HandlerCtx::try_permit_many. The permit guarantees a slot
in the notification channel, making send synchronous — only
serialization can fail.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OwnedNotifyPermit
impl !RefUnwindSafe for OwnedNotifyPermit
impl Send for OwnedNotifyPermit
impl Sync for OwnedNotifyPermit
impl Unpin for OwnedNotifyPermit
impl !UnwindSafe for OwnedNotifyPermit
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