Enum async_graphql::ParseRequestError
source ·
[−]#[non_exhaustive]
pub enum ParseRequestError {
Io(Error),
InvalidRequest(Box<dyn Error + Send + Sync>),
InvalidFilesMap(Box<dyn Error + Send + Sync>),
InvalidMultipart(Error),
MissingOperatorsPart,
MissingMapPart,
NotUpload,
MissingFiles,
PayloadTooLarge,
UnsupportedBatch,
}
Expand description
An error parsing the request.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Io(Error)
Tuple Fields
0: Error
An IO error occurred.
InvalidRequest(Box<dyn Error + Send + Sync>)
The request’s syntax was invalid.
InvalidFilesMap(Box<dyn Error + Send + Sync>)
The request’s files map was invalid.
InvalidMultipart(Error)
Tuple Fields
0: Error
The request’s multipart data was invalid.
MissingOperatorsPart
Missing “operators” part for multipart request.
MissingMapPart
Missing “map” part for multipart request.
NotUpload
It’s not an upload operation
MissingFiles
Files were missing the request.
PayloadTooLarge
The request’s payload is too large, and this server rejected it.
UnsupportedBatch
The request is a batch request, but the server does not support batch requests.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ParseRequestError
impl Send for ParseRequestError
impl Sync for ParseRequestError
impl Unpin for ParseRequestError
impl !UnwindSafe for ParseRequestError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more