Enum diskio::StatusFlag
source · pub enum StatusFlag {
NotInitialized,
WriteProtected,
ErrorOccured,
}
Expand description
Flags of Status
.
Variants§
NotInitialized
Drive not initialized.
WriteProtected
Drive is write protected.
ErrorOccured
Error occured.
Trait Implementations§
source§impl<R: Into<FlagSet<StatusFlag>>> BitAnd<R> for StatusFlag
impl<R: Into<FlagSet<StatusFlag>>> BitAnd<R> for StatusFlag
source§impl<R: Into<FlagSet<StatusFlag>>> BitOr<R> for StatusFlag
impl<R: Into<FlagSet<StatusFlag>>> BitOr<R> for StatusFlag
source§impl<R: Into<FlagSet<StatusFlag>>> BitXor<R> for StatusFlag
impl<R: Into<FlagSet<StatusFlag>>> BitXor<R> for StatusFlag
source§impl Clone for StatusFlag
impl Clone for StatusFlag
source§fn clone(&self) -> StatusFlag
fn clone(&self) -> StatusFlag
Returns a copy 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 StatusFlag
impl Debug for StatusFlag
source§impl From<StatusFlag> for FlagSet<StatusFlag>
impl From<StatusFlag> for FlagSet<StatusFlag>
source§fn from(value: StatusFlag) -> Self
fn from(value: StatusFlag) -> Self
Converts to this type from the input type.
source§impl Not for StatusFlag
impl Not for StatusFlag
source§impl PartialEq<StatusFlag> for StatusFlag
impl PartialEq<StatusFlag> for StatusFlag
source§fn eq(&self, other: &StatusFlag) -> bool
fn eq(&self, other: &StatusFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.