mesh_protobuf

Trait ResultExt

Source
pub trait ResultExt {
    // Required method
    fn typed<T>(self) -> Self;
}
Expand description

Extension trait to add type context to Error.

Required Methods§

Source

fn typed<T>(self) -> Self

Add type T’s name to the error.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> ResultExt for Result<T>