Trait garage_api::error::OkOrInternalError[][src]

pub trait OkOrInternalError {
    type S2;
    fn ok_or_internal_error(self, reason: &'static str) -> Self::S2;
}

Associated Types

type S2[src]

Loading content...

Required methods

fn ok_or_internal_error(self, reason: &'static str) -> Self::S2[src]

Loading content...

Implementations on Foreign Types

impl<T, E> OkOrInternalError for Result<T, E> where
    E: Display
[src]

type S2 = Result<T, Error>

impl<T> OkOrInternalError for Option<T>[src]

type S2 = Result<T, Error>

Loading content...

Implementors

Loading content...