Trait mesh::payload::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.

Implementations on Foreign Types§

source§

impl<T> ResultExt for Result<T, Error>

source§

fn typed<U>(self) -> Result<T, Error>

Implementors§