pub trait ResultExt<T, E>: Sized {
    fn extend_err<C>(self, cb: C) -> Result<T>
    where
        C: FnOnce(&E, &mut ErrorExtensionValues)
; fn extend(self) -> Result<T>; }
Expand description

Extend a Result’s error value with ErrorExtensions.

Required Methods

Extend the error value of the result with the callback.

Extend the result to a Result.

Implementations on Foreign Types

Implementors