#[non_exhaustive]pub enum ResponseErrorKind {
Io(Error),
PrematureEnd,
TooDeep,
TooMany,
}Expand description
What went wrong reading a response file.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Io(Error)
The file could not be read.
PrematureEnd
A quote was not closed, or the file ends in a lone \.
TooDeep
@file nested deeper than MAX_DEPTH.
TooMany
More than MAX_FILES response files.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ResponseErrorKind
impl !UnwindSafe for ResponseErrorKind
impl Freeze for ResponseErrorKind
impl Send for ResponseErrorKind
impl Sync for ResponseErrorKind
impl Unpin for ResponseErrorKind
impl UnsafeUnpin for ResponseErrorKind
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