[−][src]Struct eve_rs::Error
Implementations
impl<TContext> Error<TContext> where
TContext: Context + Debug + Send + Sync,
[src]
TContext: Context + Debug + Send + Sync,
pub fn new(
context: Option<TContext>,
message: String,
status: u16,
error: Box<dyn StdError + Send>
) -> Self
[src]
context: Option<TContext>,
message: String,
status: u16,
error: Box<dyn StdError + Send>
) -> Self
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]
TContext: Context + Debug + Send + Sync,
impl<TContext, StdErr> From<StdErr> for Error<TContext> where
TContext: Context + Debug + Send + Sync,
StdErr: 'static + StdError + Send,
[src]
TContext: Context + Debug + Send + Sync,
StdErr: 'static + StdError + Send,
Auto Trait Implementations
impl<TContext> !RefUnwindSafe for Error<TContext>
impl<TContext> Send for Error<TContext>
impl<TContext> !Sync for Error<TContext>
impl<TContext> Unpin for Error<TContext> where
TContext: Unpin,
TContext: Unpin,
impl<TContext> !UnwindSafe for Error<TContext>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<!> for T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,