pub trait MassMapWriter {
// Required method
fn write_all_at(&self, data: &[u8], offset: u64) -> Result<()>;
}Expand description
Trait representing positional writers suitable for massmap serialization.
Writers must support writing arbitrary byte slices at fixed offsets without
altering shared state; this is satisfied by FileExt handles on both Unix
and Windows.
Required Methods§
Implementors§
impl<T: FileExt> MassMapWriter for T
Available on Unix only.