pub struct CapabilityAddItem { /* private fields */ }Expand description
One exact service capability name from cap_add.
Implementations§
Source§impl CapabilityAddItem
impl CapabilityAddItem
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the exact source span of this sequence item.
Sourcepub fn is_exact_candidate(&self) -> bool
pub fn is_exact_candidate(&self) -> bool
Reports whether this value is a conservative future cross-format exact candidate.
This classification is purely lexical: the value must be non-empty and contain no whitespace. It does not normalize case or consult a capability whitelist or target.
Trait Implementations§
Source§impl Clone for CapabilityAddItem
impl Clone for CapabilityAddItem
Source§fn clone(&self) -> CapabilityAddItem
fn clone(&self) -> CapabilityAddItem
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 CapabilityAddItem
impl Debug for CapabilityAddItem
impl Eq for CapabilityAddItem
Source§impl PartialEq for CapabilityAddItem
impl PartialEq for CapabilityAddItem
impl StructuralPartialEq for CapabilityAddItem
Auto Trait Implementations§
impl Freeze for CapabilityAddItem
impl RefUnwindSafe for CapabilityAddItem
impl Send for CapabilityAddItem
impl Sync for CapabilityAddItem
impl Unpin for CapabilityAddItem
impl UnsafeUnpin for CapabilityAddItem
impl UnwindSafe for CapabilityAddItem
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