Trait mesh_protobuf::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.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> ResultExt for Result<T>