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