Struct quick_error::Context [] [src]

pub struct Context<X, E>(pub X, pub E);

Generic context type

Used mostly as a transport for ResultExt::context method

Trait Implementations

impl<X: Debug, E: Debug> Debug for Context<X, E>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<X, E> Send for Context<X, E> where
    E: Send,
    X: Send

impl<X, E> Sync for Context<X, E> where
    E: Sync,
    X: Sync