[][src]Trait measureme::SerializationSink

pub trait SerializationSink: Sized + Send + Sync + 'static {
    fn from_path(path: &Path) -> Result<Self, Box<dyn Error>>;
fn write_atomic<W>(&self, num_bytes: usize, write: W) -> Addr
    where
        W: FnOnce(&mut [u8])
; }

Required methods

fn from_path(path: &Path) -> Result<Self, Box<dyn Error>>

fn write_atomic<W>(&self, num_bytes: usize, write: W) -> Addr where
    W: FnOnce(&mut [u8]), 

Loading content...

Implementors

impl SerializationSink for ByteVecSink[src]

impl SerializationSink for FileSerializationSink[src]

impl SerializationSink for MmapSerializationSink[src]

Loading content...