#[non_exhaustive]pub enum MediaType {
Sram32K,
Eeprom8K,
Eeprom512B,
Flash64K,
Flash128K,
}
Expand description
A list of save media types.
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.
Sram32K
32KiB Battery-Backed SRAM or FRAM
Eeprom8K
8KiB EEPROM
Eeprom512B
512B EEPROM
Flash64K
64KiB flash chip
Flash128K
128KiB flash chip
Trait Implementations§
source§impl Ord for MediaType
impl Ord for MediaType
source§impl PartialOrd for MediaType
impl PartialOrd for MediaType
impl Copy for MediaType
impl Eq for MediaType
impl StructuralEq for MediaType
impl StructuralPartialEq for MediaType
Auto Trait Implementations§
impl RefUnwindSafe for MediaType
impl Send for MediaType
impl Sync for MediaType
impl Unpin for MediaType
impl UnwindSafe for MediaType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more