Enum netlink_packet_generic::ctrl::nlas::GenlCtrlAttrs[][src]

pub enum GenlCtrlAttrs {
    FamilyId(u16),
    FamilyName(String),
    Version(u32),
    HdrSize(u32),
    MaxAttr(u32),
    Ops(Vec<Vec<OpAttrs>>),
    McastGroups(Vec<Vec<McastGrpAttrs>>),
    Policy(PolicyAttr),
    OpPolicy(OppolicyAttr),
    Op(u32),
}

Variants

FamilyId(u16)

Tuple Fields of FamilyId

0: u16
FamilyName(String)

Tuple Fields of FamilyName

0: String
Version(u32)

Tuple Fields of Version

0: u32
HdrSize(u32)

Tuple Fields of HdrSize

0: u32
MaxAttr(u32)

Tuple Fields of MaxAttr

0: u32
Ops(Vec<Vec<OpAttrs>>)

Tuple Fields of Ops

0: Vec<Vec<OpAttrs>>
McastGroups(Vec<Vec<McastGrpAttrs>>)

Tuple Fields of McastGroups

0: Vec<Vec<McastGrpAttrs>>
Policy(PolicyAttr)

Tuple Fields of Policy

0: PolicyAttr
OpPolicy(OppolicyAttr)

Tuple Fields of OpPolicy

0: OppolicyAttr
Op(u32)

Tuple Fields of Op

0: u32

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize the current type.

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Return the length of the serialized data.

Serialize this types and write the serialized data into the given buffer. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.