pub enum ReloadAction {
DriverReinit = 1,
FwActivate = 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 ReloadAction
impl ReloadAction
pub fn from_value(value: u64) -> Option<Self>
Trait Implementations§
Source§impl Clone for ReloadAction
impl Clone for ReloadAction
Source§fn clone(&self) -> ReloadAction
fn clone(&self) -> ReloadAction
Returns a duplicate of the value. Read more
1.0.0 · 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 ReloadAction
impl Debug for ReloadAction
impl Copy for ReloadAction
Auto Trait Implementations§
impl Freeze for ReloadAction
impl RefUnwindSafe for ReloadAction
impl Send for ReloadAction
impl Sync for ReloadAction
impl Unpin for ReloadAction
impl UnwindSafe for ReloadAction
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