pub trait Addressable: Sized + Clone {
type Ext;
// Required methods
fn get_address(&self) -> u16;
fn get_capacity(&self) -> CardCapacity;
fn size(&self) -> u64;
}Expand description
Represents either an SD or EMMC card
Required Associated Types§
Required Methods§
Sourcefn get_address(&self) -> u16
fn get_address(&self) -> u16
Get this peripheral’s address on the SDMMC bus
Sourcefn get_capacity(&self) -> CardCapacity
fn get_capacity(&self) -> CardCapacity
Is this a standard or high capacity peripheral?
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.