pub trait PollableOutputStreamExt: 'static {
// Required methods
fn can_poll(&self) -> bool;
fn is_writable(&self) -> bool;
fn write_nonblocking<P: IsA<Cancellable>>(
&self,
buffer: &[u8],
cancellable: Option<&P>,
) -> Result<isize, Error>;
}
Required Methods§
fn can_poll(&self) -> bool
fn is_writable(&self) -> bool
fn write_nonblocking<P: IsA<Cancellable>>( &self, buffer: &[u8], cancellable: Option<&P>, ) -> Result<isize, Error>
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.