pub struct Root<'d, P: Purpose> { /* private fields */ }Expand description
Non-cloneable secret root bound invariantly to one driver domain. Protocol authorities retain it for that lifetime and use compile-time lanes to separate streams; storage is exactly the two secret key words.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'d, P> !Send for Root<'d, P>
impl<'d, P> !Sync for Root<'d, P>
impl<'d, P> Freeze for Root<'d, P>
impl<'d, P> RefUnwindSafe for Root<'d, P>where
(Key, PhantomData<(fn(&'d ()) -> &'d (), ThreadBound)>, PhantomData<fn(P) -> P>): RefUnwindSafe,
impl<'d, P> Unpin for Root<'d, P>
impl<'d, P> UnsafeUnpin for Root<'d, P>where
(Key, PhantomData<(fn(&'d ()) -> &'d (), ThreadBound)>, PhantomData<fn(P) -> P>): UnsafeUnpin,
impl<'d, P> UnwindSafe for Root<'d, P>
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