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>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
}
Provided Methods§
fn data_size(&self) -> usize
fn steal_as_bytes(&self) -> Bytes
fn connect_data_size_notify<F>(&self, f: F) -> SignalHandlerIdwhere
F: Fn(&Self) + 'static,
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.