[][src]Struct eyre_impl::Indented

pub struct Indented<'a, D> { /* fields omitted */ }

Helper struct for efficiently numbering and correctly indenting multi line display implementations

Methods

impl<'a, D> Indented<'a, D>[src]

pub fn numbered(inner: &'a mut D, ind: usize) -> Self[src]

Wrap a formatter number the first line and indent all lines of input before forwarding the output to the inner formatter

Trait Implementations

impl<'_, T> Write for Indented<'_, T> where
    T: Write
[src]

Auto Trait Implementations

impl<'a, D> RefUnwindSafe for Indented<'a, D> where
    D: RefUnwindSafe

impl<'a, D> Send for Indented<'a, D> where
    D: Send

impl<'a, D> Sync for Indented<'a, D> where
    D: Sync

impl<'a, D> Unpin for Indented<'a, D>

impl<'a, D> !UnwindSafe for Indented<'a, D>

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.