Struct dpdk_unix::android_linux::capabilities::CapabilitySet []

pub struct CapabilitySet { /* fields omitted */ }

Methods

impl CapabilitySet

AuditControl: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_AUDIT_CONTROL as u32,}

AuditWrite: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_AUDIT_WRITE as u32,}

Chown: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_CHOWN as u32,}

DiscretionaryAccessControlBypass: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_DAC_OVERRIDE as u32,}

DiscretionaryAccessControlFileReadBypass: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_DAC_READ_SEARCH as u32,}

FileOwnerBypass: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_FOWNER as u32,}

FileSetId: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_FSETID as u32,}

LockMemory: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_IPC_LOCK as u32,}

IpcOwner: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_IPC_OWNER as u32,}

Kill: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_KILL as u32,}

Lease: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_LEASE as u32,}

Immutable: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_LINUX_IMMUTABLE as u32,}

MakeNodes: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_MKNOD as u32,}

SystemAdministration: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_SYS_ADMIN as u32,}

NetworkAdministration: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_NET_ADMIN as u32,}

BindPortsBelow1024: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_NET_BIND_SERVICE as u32,}

NetRaw: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_NET_RAW as u32,}

SetUid: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_SETUID as u32,}

SetGid: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_SETGID as u32,}

SetFileCapabilities: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_SETFCAP as u32,}

SetProcessCapabilities: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_SETPCAP as u32,}

RebootAndKexecLoad: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_SYS_BOOT as u32,}

Chroot: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_SYS_CHROOT as u32,}

KernelModule: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_SYS_MODULE as u32,}

Nice: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_SYS_NICE as u32,}

ProcessAccounting: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_SYS_PACCT as u32,}

PTrace: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_SYS_PTRACE as u32,}

RawIO: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_SYS_RAWIO as u32,}

Resource: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_SYS_RESOURCE as u32,}

Time: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_SYS_TIME as u32,}

TtyConfig: CapabilitySet = CapabilitySet{bits: 1 << capability::CAP_SYS_TTY_CONFIG as u32,}

Returns an empty set of flags.

Returns the set containing all flags.

Returns the raw value of the flags currently stored.

Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.

Convert from underlying bit representation, dropping any bits that do not correspond to flags.

Returns true if no flags are currently stored.

Returns true if all flags are currently set.

Returns true if there are flags common to both self and other.

Returns true all of the flags in other are contained within self.

Inserts the specified flags in-place.

Removes the specified flags in-place.

Toggles the specified flags in-place.

impl CapabilitySet
[src]

Trait Implementations

impl Copy for CapabilitySet

impl PartialEq for CapabilitySet

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for CapabilitySet

impl Clone for CapabilitySet

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialOrd for CapabilitySet

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for CapabilitySet

This method returns an Ordering between self and other. Read more

impl Hash for CapabilitySet

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for CapabilitySet

Formats the value using the given formatter.

impl BitOr for CapabilitySet

The resulting type after applying the | operator

Returns the union of the two sets of flags.

impl BitOrAssign for CapabilitySet

Adds the set of flags.

impl BitXor for CapabilitySet

The resulting type after applying the ^ operator

Returns the left flags, but with all the right flags toggled.

impl BitXorAssign for CapabilitySet

Toggles the set of flags.

impl BitAnd for CapabilitySet

The resulting type after applying the & operator

Returns the intersection between the two sets of flags.

impl BitAndAssign for CapabilitySet

Disables all flags disabled in the set.

impl Sub for CapabilitySet

The resulting type after applying the - operator

Returns the set difference of the two sets of flags.

impl SubAssign for CapabilitySet

Disables all flags enabled in the set.

impl Not for CapabilitySet

The resulting type after applying the ! operator

Returns the complement of this set of flags.

impl Extend<CapabilitySet> for CapabilitySet

Extends a collection with the contents of an iterator. Read more

impl FromIterator<CapabilitySet> for CapabilitySet

Creates a value from an iterator. Read more

impl Default for CapabilitySet
[src]

Returns the "default value" for a type. Read more