pub struct StdStorage { /* private fields */ }Expand description
一个基于 std::fs::File 的 NorFlash 实现,用于桌面环境。
通过 LRU 缓存高效管理文件句柄。
Implementations§
Trait Implementations§
Source§impl NorFlash for StdStorage
impl NorFlash for StdStorage
Source§const WRITE_SIZE: usize = 1usize
const WRITE_SIZE: usize = 1usize
The minumum number of bytes the storage peripheral can write
Source§const ERASE_SIZE: usize = 4_096usize
const ERASE_SIZE: usize = 4_096usize
The minumum number of bytes the storage peripheral can erase
Auto Trait Implementations§
impl Freeze for StdStorage
impl RefUnwindSafe for StdStorage
impl Send for StdStorage
impl Sync for StdStorage
impl Unpin for StdStorage
impl UnwindSafe for StdStorage
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