pub struct DualKeySendCap<P>where
P: Permission,{ /* private fields */ }Expand description
A thread-safe dual-authorization capability token.
Created via DualKeyCap::make_send. Unlike DualKeyCap, this implements
Send + Sync.
Implementations§
Source§impl<P> DualKeySendCap<P>where
P: Permission,
impl<P> DualKeySendCap<P>where
P: Permission,
Trait Implementations§
Source§impl<P> Clone for DualKeySendCap<P>where
P: Permission,
impl<P> Clone for DualKeySendCap<P>where
P: Permission,
Source§fn clone(&self) -> DualKeySendCap<P>
fn clone(&self) -> DualKeySendCap<P>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<P> Send for DualKeySendCap<P>where
P: Permission,
impl<P> Sync for DualKeySendCap<P>where
P: Permission,
Auto Trait Implementations§
impl<P> Freeze for DualKeySendCap<P>
impl<P> RefUnwindSafe for DualKeySendCap<P>where
P: RefUnwindSafe,
impl<P> Unpin for DualKeySendCap<P>where
P: Unpin,
impl<P> UnsafeUnpin for DualKeySendCap<P>
impl<P> UnwindSafe for DualKeySendCap<P>where
P: 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