Enum ocf::linux::Capability [] [src]

pub enum Capability {
    AuditControl,
    AuditRead,
    AuditWrite,
    BlockSuspend,
    Chown,
    DacOverride,
    DacReadSearch,
    FOwner,
    FSetID,
    IpcLock,
    IpcOwner,
    Kill,
    Lease,
    LinuxImmutable,
    MacAdmin,
    MacOverride,
    Mknod,
    NetAdmin,
    NetBindService,
    NetBroadcast,
    NetRaw,
    SetGID,
    SetTFCap,
    SetPCap,
    SetUID,
    SysAdmin,
    SysBoot,
    SysChroot,
    SysModule,
    SysNice,
    SysPAcct,
    SysPTrace,
    SysRawIO,
    SysResource,
    SysTime,
    SysTtyConfig,
    Syslog,
    WakeAlarm,
}

Variants

AuditControl
AuditRead
AuditWrite
BlockSuspend
Chown
DacOverride
DacReadSearch
FOwner
FSetID
IpcLock
IpcOwner
Kill
Lease
LinuxImmutable
MacAdmin
MacOverride
Mknod
NetAdmin
NetBindService
NetBroadcast
NetRaw
SetGID
SetTFCap
SetPCap
SetUID
SysAdmin
SysBoot
SysChroot
SysModule
SysNice
SysPAcct
SysPTrace
SysRawIO
SysResource
SysTime
SysTtyConfig
Syslog
WakeAlarm

Methods

impl Capability

fn cap_flag(&self) -> usize

Trait Implementations

impl<'a> Into<&'static str> for &'a Capability

fn into(self) -> &'static str

impl Deserialize for Capability

fn deserialize<D: Deserializer>(d: &mut D) -> Result<Self, D::Error>

impl Serialize for Capability

fn serialize<S: Serializer>(&self, s: &mut S) -> Result<(), S::Error>

Derived Implementations

impl Eq for Capability

impl PartialEq for Capability

fn eq(&self, __arg_0: &Capability) -> bool

fn ne(&self, __arg_0: &Capability) -> bool

impl Debug for Capability

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Capability

fn clone(&self) -> Capability

fn clone_from(&mut self, source: &Self)

impl Copy for Capability