#[repr(u8)]pub enum ExternalRequestState {
Ready = 0,
OtherPrevent = 1,
}Available on crate feature
mmc only.Expand description
The device’s ability to respond to the host
Variants§
Ready = 0
The drive is ready for operation
OtherPrevent = 1
Another host has an active persistent prevent
Trait Implementations§
Source§impl Clone for ExternalRequestState
impl Clone for ExternalRequestState
Source§fn clone(&self) -> ExternalRequestState
fn clone(&self) -> ExternalRequestState
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 ExternalRequestState
Source§impl Debug for ExternalRequestState
impl Debug for ExternalRequestState
Source§impl Default for ExternalRequestState
impl Default for ExternalRequestState
Source§fn default() -> ExternalRequestState
fn default() -> ExternalRequestState
Returns the “default value” for a type. Read more
impl Eq for ExternalRequestState
Source§impl Hash for ExternalRequestState
impl Hash for ExternalRequestState
Source§impl Ord for ExternalRequestState
impl Ord for ExternalRequestState
Source§fn cmp(&self, other: &ExternalRequestState) -> Ordering
fn cmp(&self, other: &ExternalRequestState) -> 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 ExternalRequestState
impl PartialEq for ExternalRequestState
Source§impl PartialOrd for ExternalRequestState
impl PartialOrd for ExternalRequestState
impl StructuralPartialEq for ExternalRequestState
Source§impl TryFrom<u8> for ExternalRequestState
impl TryFrom<u8> for ExternalRequestState
Source§type Error = TryFromPrimitiveError<ExternalRequestState>
type Error = TryFromPrimitiveError<ExternalRequestState>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ExternalRequestState
impl TryFromPrimitive for ExternalRequestState
const NAME: &'static str = "ExternalRequestState"
type Primitive = u8
type Error = TryFromPrimitiveError<ExternalRequestState>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for ExternalRequestState
impl RefUnwindSafe for ExternalRequestState
impl Send for ExternalRequestState
impl Sync for ExternalRequestState
impl Unpin for ExternalRequestState
impl UnsafeUnpin for ExternalRequestState
impl UnwindSafe for ExternalRequestState
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