Struct twig::error::Caused [] [src]

pub struct Caused<E: Display> {
    pub err: E,
    pub cause: Box<Option<Error>>,
}

Adds optional cause to error.

Fields

Methods

impl<E: Display> Caused<E>
[src]

Trait Implementations

impl<E: Clone + Display> Clone for Caused<E>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<E: Debug + Display> Debug for Caused<E>
[src]

Formats the value using the given formatter.

impl<E: Display> Display for Caused<E>
[src]

Formats the value using the given formatter. Read more