pub struct LinuxCapability(/* private fields */);Expand description
A bounded Linux capability name.
Implementations§
Trait Implementations§
Source§impl Clone for LinuxCapability
impl Clone for LinuxCapability
Source§fn clone(&self) -> LinuxCapability
fn clone(&self) -> LinuxCapability
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 moreSource§impl Debug for LinuxCapability
impl Debug for LinuxCapability
impl Eq for LinuxCapability
Source§impl Ord for LinuxCapability
impl Ord for LinuxCapability
Source§fn cmp(&self, other: &LinuxCapability) -> Ordering
fn cmp(&self, other: &LinuxCapability) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for LinuxCapability
impl PartialEq for LinuxCapability
Source§impl PartialOrd for LinuxCapability
impl PartialOrd for LinuxCapability
impl StructuralPartialEq for LinuxCapability
Auto Trait Implementations§
impl Freeze for LinuxCapability
impl RefUnwindSafe for LinuxCapability
impl Send for LinuxCapability
impl Sync for LinuxCapability
impl Unpin for LinuxCapability
impl UnsafeUnpin for LinuxCapability
impl UnwindSafe for LinuxCapability
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