pub trait MemoryOutputStreamExt: 'static {
    // Required methods
    fn data_size(&self) -> usize;
    fn steal_as_bytes(&self) -> Bytes;
    fn connect_data_size_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}

Required Methods§

source

fn data_size(&self) -> usize

source

fn steal_as_bytes(&self) -> Bytes

source

fn connect_data_size_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Implementors§