Enum graph_error::ErrorType
source · pub enum ErrorType {
Show 23 variants
BadRequest,
Unauthorized,
Forbidden,
NotFound,
MethodNotAllowed,
NotAcceptable,
Conflict,
Gone,
LengthRequired,
PreconditionFailed,
RequestEntityTooLarge,
UnsupportedMediaType,
RequestRangeNotSatisfiable,
UnprocessableEntity,
Locked,
TooManyRequests,
InternalServerError,
NotImplemented,
ServiceUnavailable,
GatewayTimeout,
InsufficientStorage,
BandwidthLimitExceeded,
UnknownError,
}
Expand description
Variants§
BadRequest
Forbidden
NotFound
MethodNotAllowed
NotAcceptable
Conflict
Gone
LengthRequired
PreconditionFailed
RequestEntityTooLarge
UnsupportedMediaType
RequestRangeNotSatisfiable
UnprocessableEntity
Locked
TooManyRequests
InternalServerError
NotImplemented
GatewayTimeout
InsufficientStorage
BandwidthLimitExceeded
UnknownError
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for ErrorType
impl<'de> Deserialize<'de> for ErrorType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ErrorType> for ErrorType
impl PartialEq<ErrorType> for ErrorType
impl Copy for ErrorType
impl Eq for ErrorType
impl StructuralEq for ErrorType
impl StructuralPartialEq for ErrorType
Auto Trait Implementations§
impl RefUnwindSafe for ErrorType
impl Send for ErrorType
impl Sync for ErrorType
impl Unpin for ErrorType
impl UnwindSafe for ErrorType
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.