pub trait IntoError {
// Required method
fn into_error(self) -> Error;
}Expand description
A trait for types that can be converted into Error, a GraphQL HTTP Response error.
Required Methods§
Sourcefn into_error(self) -> Error
fn into_error(self) -> Error
Convert the type into Error.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".