Struct twig::error::Caused
[−]
[src]
pub struct Caused<E: Display> { pub err: E, pub cause: Box<Option<Error>>, }
Adds optional cause to error.
Fields
err: E
cause: Box<Option<Error>>
Methods
impl<E: Display> Caused<E>
[src]
Trait Implementations
impl<E: Clone + Display> Clone for Caused<E>
[src]
fn clone(&self) -> Caused<E>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more