JournalFlash

Trait JournalFlash 

Source
pub trait JournalFlash:
    RecordWriter<Error = ()>
    + PageEraser<Error = ()>
    + RecordReader<Error = ()> { }
Expand description

Everything a journal needs from a board’s flash. Blanket-implemented, so a board implements the three umsh-journal-store traits and gets this for free.

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.

Implementors§

Source§

impl<F> JournalFlash for F
where F: RecordWriter<Error = ()> + PageEraser<Error = ()> + RecordReader<Error = ()>,