Skip to main content

SendResultExt

Trait SendResultExt 

Source
pub trait SendResultExt<T>: Sized {
    // Required methods
    fn format_send_err(self) -> Result<T, Error>;
    fn format_send_err_with_context<C>(self, context: C) -> Result<T, Error>
       where C: Display;
}

Required Methods§

Source

fn format_send_err(self) -> Result<T, Error>

Source

fn format_send_err_with_context<C>(self, context: C) -> Result<T, Error>
where C: Display,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

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

Source§

fn format_send_err(self) -> Result<T, Error>

Source§

fn format_send_err_with_context<C>(self, context: C) -> Result<T, Error>
where C: Display,

Implementors§