Trait async_graphql::ResultExt [−][src]
Extend a Result
's error value with ErrorExtensions
.
Required methods
fn extend_err<C>(self, cb: C) -> Result<T> where
C: FnOnce(&E, &mut ErrorExtensionValues),
[src]
C: FnOnce(&E, &mut ErrorExtensionValues),
Extend the error value of the result with the callback.
fn extend(self) -> Result<T>
[src]
Extend the result to a Result
.
Implementations on Foreign Types
impl<T, E> ResultExt<T, E> for Result<T, E> where
E: ErrorExtensions + Send + Sync + 'static,
[src]
E: ErrorExtensions + Send + Sync + 'static,
fn extend_err<C>(self, cb: C) -> Result<T> where
C: FnOnce(&E, &mut ErrorExtensionValues),
[src]
C: FnOnce(&E, &mut ErrorExtensionValues),