[−][src]Struct mod_utilities::FMTAdaptor
A shim which translates an io::Write to a fmt::Write
If an error occurs with the inner io::Write, it is stored in an optional member, and all further calls to fmt::Write will be short circuited until it is cleared
Safety
- Does not call
flush
- Adapting an adaptor would cause all sorts of problems
Fields
error: Option<Error>
If an io error occurs while using a FMTAdaptor, it will be stored here and block further usage until it is resolved
Trait Implementations
impl<'a> Write for FMTAdaptor<'a>
[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for FMTAdaptor<'a>
impl<'a> !Send for FMTAdaptor<'a>
impl<'a> !Sync for FMTAdaptor<'a>
impl<'a> Unpin for FMTAdaptor<'a>
impl<'a> !UnwindSafe for FMTAdaptor<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,