Enum sdmmc_spi::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> BitAnd<R> for StatusFlagwhere
R: Into<FlagSet<StatusFlag>>,
impl<R> BitAnd<R> for StatusFlagwhere
R: Into<FlagSet<StatusFlag>>,
§type Output = FlagSet<StatusFlag>
type Output = FlagSet<StatusFlag>
The resulting type after applying the
&
operator.source§impl<R> BitOr<R> for StatusFlagwhere
R: Into<FlagSet<StatusFlag>>,
impl<R> BitOr<R> for StatusFlagwhere
R: Into<FlagSet<StatusFlag>>,
§type Output = FlagSet<StatusFlag>
type Output = FlagSet<StatusFlag>
The resulting type after applying the
|
operator.source§impl<R> BitXor<R> for StatusFlagwhere
R: Into<FlagSet<StatusFlag>>,
impl<R> BitXor<R> for StatusFlagwhere
R: Into<FlagSet<StatusFlag>>,
§type Output = FlagSet<StatusFlag>
type Output = FlagSet<StatusFlag>
The resulting type after applying the
^
operator.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 Not for StatusFlag
impl Not for StatusFlag
§type Output = FlagSet<StatusFlag>
type Output = FlagSet<StatusFlag>
The resulting type after applying the
!
operator.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 ==
.source§impl<R> Rem<R> for StatusFlagwhere
R: Into<FlagSet<StatusFlag>>,
impl<R> Rem<R> for StatusFlagwhere
R: Into<FlagSet<StatusFlag>>,
§type Output = FlagSet<StatusFlag>
type Output = FlagSet<StatusFlag>
The resulting type after applying the
%
operator.source§impl<R> Sub<R> for StatusFlagwhere
R: Into<FlagSet<StatusFlag>>,
impl<R> Sub<R> for StatusFlagwhere
R: Into<FlagSet<StatusFlag>>,
§type Output = FlagSet<StatusFlag>
type Output = FlagSet<StatusFlag>
The resulting type after applying the
-
operator.