[][src]Trait async_graphql::ResultExt

pub trait ResultExt<T, E> where
    Self: Sized
{ fn extend_err<CB>(self, cb: CB) -> FieldResult<T>
    where
        CB: FnOnce(&E) -> Value
;
fn extend(self) -> FieldResult<T>; }

Required methods

fn extend_err<CB>(self, cb: CB) -> FieldResult<T> where
    CB: FnOnce(&E) -> Value

fn extend(self) -> FieldResult<T>

Loading content...

Implementations on Foreign Types

impl<T, E> ResultExt<T, E> for Result<T, E> where
    E: ErrorExtensions + Send + Sync + 'static, 
[src]

Loading content...

Implementors

Loading content...