Struct ibc::proofs::ProofError [−][src]
pub struct ProofError(pub ProofErrorDetail, pub DefaultTracer);
Tuple Fields
0: ProofErrorDetail
1: DefaultTracer
Implementations
pub fn add_trace<E: Display>(self, message: &E) -> Self where
DefaultTracer: ErrorMessageTracer,
pub fn trace_from<E, Cont>(source: E::Source, cont: Cont) -> Self where
E: ErrorSource<DefaultTracer>,
DefaultTracer: ErrorMessageTracer,
Cont: FnOnce(E::Detail) -> ProofErrorDetail,
Trait Implementations
impl Error for ProofError where
ProofErrorDetail: Display,
DefaultTracer: Debug + Display,
DefaultTracer: ErrorMessageTracer,
impl Error for ProofError where
ProofErrorDetail: Display,
DefaultTracer: Debug + Display,
DefaultTracer: ErrorMessageTracer,
type Source = Self
type Source = Self
The type of the error source.
type Detail = ProofErrorDetail
type Detail = ProofErrorDetail
The type of the error detail that can be extracted from the error source
Extracts the error details out from the error source, together with an optional error trace. Read more
Auto Trait Implementations
impl !RefUnwindSafe for ProofError
impl Send for ProofError
impl Sync for ProofError
impl Unpin for ProofError
impl !UnwindSafe for ProofError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Wrap the input message T
in a tonic::Request
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more