Trait juniper::IntoFieldResult [−][src]
pub trait IntoFieldResult<T, S> { type Item; fn into_result(self) -> Result<T, FieldError<S>>; }
Expand description
Associated Types
Required methods
fn into_result(self) -> Result<T, FieldError<S>>
fn into_result(self) -> Result<T, FieldError<S>>
Turns current [Stream
] type into a generic Result
.
Implementations on Foreign Types
impl<T, E, S> IntoFieldResult<T, S> for Result<T, E> where
T: IntoFieldResult<T, S>,
E: IntoFieldError<S>,
impl<T, E, S> IntoFieldResult<T, S> for Result<T, E> where
T: IntoFieldResult<T, S>,
E: IntoFieldError<S>,