[][src]Struct mod_utilities::IOAdaptor

pub struct IOAdaptor<'a>(_);

A shim which translates a fmt::Write to a io::Write

Safety

  • This will not return a valid length from the io::Write::write implementation
  • flush does nothing
  • Adapting an adaptor would cause all sorts of problems

Trait Implementations

impl<'a> Write for IOAdaptor<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for IOAdaptor<'a>

impl<'a> !Send for IOAdaptor<'a>

impl<'a> !Sync for IOAdaptor<'a>

impl<'a> Unpin for IOAdaptor<'a>

impl<'a> !UnwindSafe for IOAdaptor<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.