pub enum WriterOwner {
Creator,
Peer,
}Expand description
Endpoint that will retain the sole writable mapping after transfer.
Variants§
Creator
The process creating and transferring the region remains the writer.
Peer
The authenticated peer becomes the sole writer.
Trait Implementations§
Source§impl Clone for WriterOwner
impl Clone for WriterOwner
Source§fn clone(&self) -> WriterOwner
fn clone(&self) -> WriterOwner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WriterOwner
Source§impl Debug for WriterOwner
impl Debug for WriterOwner
impl Eq for WriterOwner
Source§impl PartialEq for WriterOwner
impl PartialEq for WriterOwner
impl StructuralPartialEq for WriterOwner
Auto Trait Implementations§
impl Freeze for WriterOwner
impl RefUnwindSafe for WriterOwner
impl Send for WriterOwner
impl Sync for WriterOwner
impl Unpin for WriterOwner
impl UnsafeUnpin for WriterOwner
impl UnwindSafe for WriterOwner
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