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.
InvalidRequest(Error)
The request’s syntax was invalid.
InvalidFilesMap(Error)
The request’s files map was invalid.
InvalidMultipart(Error)
The request’s multipart data was invalid.
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