#[repr(u16)]pub enum OperationalEvent {
FeatureChange = 1,
NewFeatures = 2,
Reset = 3,
FirmwareChanged = 4,
InquiryChange = 5,
}Available on crate feature
mmc only.Expand description
Source of operational changes to the device
Variants§
FeatureChange = 1
An unspecified event may have changed feature currency
NewFeatures = 2
The feature list may have added current features
Reset = 3
The logical unit has been reset
FirmwareChanged = 4
The logical unit’s microcode may have changed
InquiryChange = 5
The logical unit’s identification information may have changed
Trait Implementations§
Source§impl Clone for OperationalEvent
impl Clone for OperationalEvent
Source§fn clone(&self) -> OperationalEvent
fn clone(&self) -> OperationalEvent
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 OperationalEvent
Source§impl Debug for OperationalEvent
impl Debug for OperationalEvent
Source§impl Default for OperationalEvent
impl Default for OperationalEvent
Source§fn default() -> OperationalEvent
fn default() -> OperationalEvent
Returns the “default value” for a type. Read more
impl Eq for OperationalEvent
Source§impl Hash for OperationalEvent
impl Hash for OperationalEvent
Source§impl Ord for OperationalEvent
impl Ord for OperationalEvent
Source§fn cmp(&self, other: &OperationalEvent) -> Ordering
fn cmp(&self, other: &OperationalEvent) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OperationalEvent
impl PartialEq for OperationalEvent
Source§impl PartialOrd for OperationalEvent
impl PartialOrd for OperationalEvent
impl StructuralPartialEq for OperationalEvent
Source§impl TryFrom<u16> for OperationalEvent
impl TryFrom<u16> for OperationalEvent
Source§type Error = TryFromPrimitiveError<OperationalEvent>
type Error = TryFromPrimitiveError<OperationalEvent>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for OperationalEvent
impl TryFromPrimitive for OperationalEvent
const NAME: &'static str = "OperationalEvent"
type Primitive = u16
type Error = TryFromPrimitiveError<OperationalEvent>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for OperationalEvent
impl RefUnwindSafe for OperationalEvent
impl Send for OperationalEvent
impl Sync for OperationalEvent
impl Unpin for OperationalEvent
impl UnsafeUnpin for OperationalEvent
impl UnwindSafe for OperationalEvent
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