pub trait MemoryOutputStreamExt: 'static {
// Required methods
fn get_data_size(&self) -> usize;
fn steal_as_bytes(&self) -> Option<Bytes>;
fn connect_property_data_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn get_data_size(&self) -> usize
fn steal_as_bytes(&self) -> Option<Bytes>
fn connect_property_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.