pub enum UrlEncodedFormDataError {
InvalidFormat(&'static str),
ContentLengthMissing(&'static str),
ParsingError(&'static str),
MaxBodySizeExceed(&'static str),
BodyReadEnd,
Others(&'static str),
}
Variants§
InvalidFormat(&'static str)
Occurs, if the request body is not x-www-form-urlencoded
ContentLengthMissing(&'static str)
Occurs, if there is no Content-Length header
ParsingError(&'static str)
Occurs, if failed to parse the request
MaxBodySizeExceed(&'static str)
Occurs, if the request body size exceed the given size
BodyReadEnd
Occurs, if parser requires more data to parse fully, but there is no more data left
Others(&'static str)
Occurs, if error not fulfilled by above conditions
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UrlEncodedFormDataError
impl RefUnwindSafe for UrlEncodedFormDataError
impl Send for UrlEncodedFormDataError
impl Sync for UrlEncodedFormDataError
impl Unpin for UrlEncodedFormDataError
impl UnwindSafe for UrlEncodedFormDataError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more