[][src]Struct ufmt_utils::Ignore

pub struct Ignore<W> where
    W: uWrite
{ /* fields omitted */ }

A write adapter that ignores all errors

Methods

impl<W> Ignore<W> where
    W: uWrite
[src]

pub fn new(writer: W) -> Self[src]

Creates a new Ignore adapter

pub fn free(self) -> W[src]

Destroys the adapter and returns the underlying writer

Trait Implementations

impl<W> uWrite for Ignore<W> where
    W: uWrite
[src]

type Error = Infallible

The error associated to this writer

fn write_char(&mut self, c: char) -> Result<(), Self::Error>[src]

Writes a [char] into this writer, returning whether the write succeeded. Read more

Auto Trait Implementations

impl<W> Send for Ignore<W> where
    W: Send

impl<W> Sync for Ignore<W> where
    W: Sync

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self