pub enum CardType {
SD1,
SD2,
SDHC,
}
Expand description
The different types of card we support.
Variants§
SD1
An standard-capacity SD Card supporting v1.x of the standard.
Uses byte-addressing internally, so limited to 2GiB in size.
SD2
An standard-capacity SD Card supporting v2.x of the standard.
Uses byte-addressing internally, so limited to 2GiB in size.
SDHC
An high-capacity ‘SDHC’ Card.
Uses block-addressing internally to support capacities above 2GiB.
Trait Implementations§
impl Copy for CardType
impl Eq for CardType
impl StructuralPartialEq for CardType
Auto Trait Implementations§
impl Freeze for CardType
impl RefUnwindSafe for CardType
impl Send for CardType
impl Sync for CardType
impl Unpin for CardType
impl UnwindSafe for CardType
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