#[non_exhaustive]pub enum CardCapacity {
StandardCapacity,
HighCapacity,
}
Expand description
Types of SD Card
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
StandardCapacity
SDSC / Standard Capacity (<= 2GB)
HighCapacity
SDHC / High capacity (<= 32GB for SD cards, <= 256GB for eMMC)
Trait Implementations§
Source§impl Clone for CardCapacity
impl Clone for CardCapacity
Source§fn clone(&self) -> CardCapacity
fn clone(&self) -> CardCapacity
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 CardCapacity
impl Debug for CardCapacity
Source§impl Default for CardCapacity
impl Default for CardCapacity
impl Copy for CardCapacity
Auto Trait Implementations§
impl Freeze for CardCapacity
impl RefUnwindSafe for CardCapacity
impl Send for CardCapacity
impl Sync for CardCapacity
impl Unpin for CardCapacity
impl UnwindSafe for CardCapacity
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