MemoryOutputStreamExt

Trait MemoryOutputStreamExt 

Source
pub trait MemoryOutputStreamExt: IsA<MemoryOutputStream> + 'static {
    // Provided 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 { ... }
}

Provided 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

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.

Implementors§