Struct jsonrpsee_types::error::Mismatch [−][src]
pub struct Mismatch<T> {
pub expected: T,
pub got: T,
}Expand description
Convenience type for displaying errors.
Fields
expected: TExpected value.
got: TActual 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
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V