pub trait MemoryOutputStreamExt: 'static {
    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

Implementors