Trait ErrorDetail

Source
pub trait ErrorDetail:
    Display
    + Debug
    + Send
    + Sync {
    // Provided method
    fn context(&self) -> Vec<(Option<String>, String)> { ... }
}

Provided Methods§

Trait Implementations§

Source§

impl From<&dyn ErrorDetail> for MakeshiftError

Source§

fn from(detail: &dyn ErrorDetail) -> Self

Converts to this type from the input type.

Implementations on Foreign Types§

Source§

impl ErrorDetail for &(dyn StdError + Send + Sync)

Source§

impl ErrorDetail for &str

Source§

impl ErrorDetail for Infallible

Source§

impl ErrorDetail for Box<dyn StdError + Send + Sync>

Source§

impl ErrorDetail for String

Source§

impl ErrorDetail for Error

Source§

impl ErrorDetail for Error

Source§

impl ErrorDetail for Error

Source§

impl ErrorDetail for Error

Source§

impl<E: StdError + Send + Sync> ErrorDetail for Box<E>

Implementors§