pub struct Adaptor<T> {
pub inner: T,
pub error: Result<(), Error>,
}
Expand description
Used to wrap a std::io::Write
to have std::io::Write
.
The underlying error can be extracted through the error field.
Writes a string slice into this writer, returning whether the write
succeeded. Read more
Writes a char
into this writer, returning whether the write succeeded. Read more
Glue for usage of the write!
macro with implementors of this trait. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.