Trait mesh::error::RemoteResultExt

source ·
pub trait RemoteResultExt {
    type Flattened;

    // Required method
    fn flatten(self) -> Self::Flattened;
}
Expand description

Extension trait to Result for folding Result<Result<T, E>, RecvError> to RpcError.

Required Associated Types§

Required Methods§

source

fn flatten(self) -> Self::Flattened

Flattens the result into RpcError.

Implementations on Foreign Types§

source§

impl<T, E> RemoteResultExt for Result<Result<T, E>, RecvError>

Implementors§