pub enum AuthorityMechanism {
DescriptorSeals,
MaximumPortRights,
ExactHandleRights,
}Expand description
Kernel mechanism that freezes shared-memory authority before transfer.
Variants§
DescriptorSeals
Linux descriptor seals plus a read-only imported mapping.
MaximumPortRights
Mach memory-entry maximum protections.
ExactHandleRights
Windows exact-rights duplicated section handles.
Trait Implementations§
Source§impl Clone for AuthorityMechanism
impl Clone for AuthorityMechanism
Source§fn clone(&self) -> AuthorityMechanism
fn clone(&self) -> AuthorityMechanism
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 AuthorityMechanism
Source§impl Debug for AuthorityMechanism
impl Debug for AuthorityMechanism
impl Eq for AuthorityMechanism
Source§impl PartialEq for AuthorityMechanism
impl PartialEq for AuthorityMechanism
impl StructuralPartialEq for AuthorityMechanism
Auto Trait Implementations§
impl Freeze for AuthorityMechanism
impl RefUnwindSafe for AuthorityMechanism
impl Send for AuthorityMechanism
impl Sync for AuthorityMechanism
impl Unpin for AuthorityMechanism
impl UnsafeUnpin for AuthorityMechanism
impl UnwindSafe for AuthorityMechanism
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