SessionResultExt

Trait SessionResultExt 

Source
pub trait SessionResultExt {
    // Required methods
    fn with_context(self, context: &'static str) -> Self;
    fn with_source<E>(self, source: E) -> Self
       where E: Error + Sync + Send + 'static;
}

Required Methods§

Source

fn with_context(self, context: &'static str) -> Self

Source

fn with_source<E>(self, source: E) -> Self
where E: Error + Sync + Send + 'static,

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§