mz_storage_operators::oneshot_source

Trait StorageErrorXContext

Source
trait StorageErrorXContext<T> {
    // Required method
    fn context<C>(self, context: C) -> Result<T, StorageErrorX>
       where C: Display;
}

Required Methods§

Source

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

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> StorageErrorXContext<T> for Result<T, StorageErrorX>

Source§

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

Source§

impl<T, E> StorageErrorXContext<T> for Result<T, E>

Source§

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

Implementors§