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§
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>)
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.