Skip to main content

RawStdError

Trait RawStdError 

Source
pub trait RawStdError:
    StdError
    + Send
    + Sync
    + 'static { }
Expand description

Marker trait for explicitly opt-in raw std::error::Error sources.

This is the explicit escape hatch for downstream crates that have their own raw StdError types and want to route them through raw_source(...) before calling into_as(...).

Implement this trait only for genuine non-structured raw error types. Do not implement it for wrappers around StructError<_>.

Implementations on Foreign Types§

Source§

impl RawStdError for Error

Implementors§