Trait InspectWrite

Source
pub trait InspectWrite {
    // Provided methods
    fn inspect_write(&mut self, _value: Result<&[u8], &Error>) { ... }
    fn inspect_flush(&mut self, _value: Result<(), &Error>) { ... }
    fn inspect_shutdown(&mut self, _value: Result<(), &Error>) { ... }
    fn inspect_write_vectored<'a, I>(&mut self, value: Result<I, &Error>)
       where I: Iterator<Item = &'a [u8]> { ... }
}

Provided Methods§

Source

fn inspect_write(&mut self, _value: Result<&[u8], &Error>)

Source

fn inspect_flush(&mut self, _value: Result<(), &Error>)

Source

fn inspect_shutdown(&mut self, _value: Result<(), &Error>)

Source

fn inspect_write_vectored<'a, I>(&mut self, value: Result<I, &Error>)
where I: Iterator<Item = &'a [u8]>,

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§