pub trait RecordWriter {
type Error;
// Required method
async fn write_record(
&mut self,
address: u32,
bytes: &[u8],
) -> Result<(), Self::Error>;
}Expand description
Flash writer used by the journal’s two-stage record commit.
Required Associated Types§
Required Methods§
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.