pub enum ParamCmode {
Runtime = 0,
Driverinit = 1,
Permanent = 2,
}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 ParamCmode
impl ParamCmode
pub fn from_value(value: u64) -> Option<Self>
Trait Implementations§
Source§impl Clone for ParamCmode
impl Clone for ParamCmode
Source§fn clone(&self) -> ParamCmode
fn clone(&self) -> ParamCmode
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 ParamCmode
impl Debug for ParamCmode
impl Copy for ParamCmode
Auto Trait Implementations§
impl Freeze for ParamCmode
impl RefUnwindSafe for ParamCmode
impl Send for ParamCmode
impl Sync for ParamCmode
impl Unpin for ParamCmode
impl UnsafeUnpin for ParamCmode
impl UnwindSafe for ParamCmode
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