SinkResultExt

Trait SinkResultExt 

Source
pub trait SinkResultExt<T> {
    // Required method
    fn owe_sink<S: Into<String>>(
        self,
        msg: S,
    ) -> Result<T, StructError<SinkReason>>;
}

Required Methods§

Source

fn owe_sink<S: Into<String>>(self, msg: S) -> Result<T, StructError<SinkReason>>

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.

Implementations on Foreign Types§

Source§

impl<T, E> SinkErrorOwe<T> for Result<T, E>
where E: Display,

Implementors§