Struct jsonrpsee_core::error::Mismatch
source · [−]pub struct Mismatch<T> {
pub expected: T,
pub got: T,
}
Expand description
Convenience type for displaying errors.
Fields
expected: T
Expected value.
got: T
Actual value.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Mismatch<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Mismatch<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
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