pub struct Sovereign<T> { /* private fields */ }Expand description
A wrapper that enforces ownership semantics across network boundaries.
“Memory safety with sovereign integrity.”
Implementations§
Trait Implementations§
Source§impl<T> DistributedBorrow<T> for Sovereign<T>
impl<T> DistributedBorrow<T> for Sovereign<T>
impl<T: Send> Send for Sovereign<T>
impl<T: Sync> Sync for Sovereign<T>
Auto Trait Implementations§
impl<T> !Freeze for Sovereign<T>
impl<T> !RefUnwindSafe for Sovereign<T>
impl<T> Unpin for Sovereign<T>where
T: Unpin,
impl<T> UnwindSafe for Sovereign<T>where
T: 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