pub enum PortFnAttrCap {
RoceBit = 0,
MigratableBit = 1,
IpsecCryptoBit = 2,
IpsecPacketBit = 3,
}Available on crate feature
devlink only.Expand description
Enum - defines an integer enumeration, with values for each entry incrementing by 1, (e.g. 0, 1, 2, 3)
Variants§
Implementations§
Source§impl PortFnAttrCap
impl PortFnAttrCap
pub fn from_value(value: u64) -> Option<Self>
Trait Implementations§
Source§impl Clone for PortFnAttrCap
impl Clone for PortFnAttrCap
Source§fn clone(&self) -> PortFnAttrCap
fn clone(&self) -> PortFnAttrCap
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 moreimpl Copy for PortFnAttrCap
Auto Trait Implementations§
impl Freeze for PortFnAttrCap
impl RefUnwindSafe for PortFnAttrCap
impl Send for PortFnAttrCap
impl Sync for PortFnAttrCap
impl Unpin for PortFnAttrCap
impl UnsafeUnpin for PortFnAttrCap
impl UnwindSafe for PortFnAttrCap
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