Enum async_graphql::ParseRequestError [−][src]
#[non_exhaustive]
pub enum ParseRequestError {
Io(Error),
InvalidRequest(Error),
InvalidFilesMap(Error),
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)
An IO error occurred.
Tuple Fields of Io
0: Error
InvalidRequest(Error)
The request’s syntax was invalid.
Tuple Fields of InvalidRequest
0: Error
InvalidFilesMap(Error)
The request’s files map was invalid.
Tuple Fields of InvalidFilesMap
0: Error
InvalidMultipart(Error)
The request’s multipart data was invalid.
Tuple Fields of InvalidMultipart
0: Error
Missing “operators” part for multipart request.
Missing “map” part for multipart request.
It’s not an upload operation
Files were missing the request.
The request’s payload is too large, and this server rejected it.
The request is a batch request, but the server does not support batch requests.
Trait Implementations
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
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