[][src]Struct eve_rs::Error

pub struct Error<TContext> where
    TContext: Context + Debug + Send + Sync
{ /* fields omitted */ }

Implementations

impl<TContext> Error<TContext> where
    TContext: Context + Debug + Send + Sync
[src]

pub fn new(
    context: Option<TContext>,
    message: String,
    status: u16,
    error: Box<dyn StdError + Send>
) -> Self
[src]

pub fn get_context(&mut self) -> Option<&mut TContext>[src]

Trait Implementations

impl<TContext: Debug> Debug for Error<TContext> where
    TContext: Context + Debug + Send + Sync
[src]

impl<TContext, StdErr> From<StdErr> for Error<TContext> where
    TContext: Context + Debug + Send + Sync,
    StdErr: 'static + StdError + Send
[src]

Auto Trait Implementations

impl<TContext> !RefUnwindSafe for Error<TContext>[src]

impl<TContext> Send for Error<TContext>[src]

impl<TContext> !Sync for Error<TContext>[src]

impl<TContext> Unpin for Error<TContext> where
    TContext: Unpin
[src]

impl<TContext> !UnwindSafe for Error<TContext>[src]

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<!> for T[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument 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.