Skip to main content

Module interop

Module interop 

Source
Expand description

Standard-error ecosystem interop: bridge types for entering the standard std::error::Error ecosystem.

Provides owned and borrowed wrappers that implement StdError and delegate to the underlying StructError. Use these when you need to pass an orion-error through an interface that expects dyn Error.

Structs§

OwnedDynStdStructError
OwnedStdStructError
RawSource
StdStructRef

Traits§

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

Functions§

raw_source
Explicitly mark an opt-in raw std::error::Error as an unstructured source.