Enum parse_link_header::ErrorKind
source · pub enum ErrorKind {
InternalError,
InvalidURI,
MalformedParam,
MalformedQuery,
MissingRel,
}
Expand description
Enum to indicate the type of error encountered.
Variants
InternalError
Internal error of the type that should never happen
InvalidURI
Failure to parse link value into URI
MalformedParam
Malformed parameters
MalformedQuery
Malformed URI query
MissingRel
Missing rel
parameter when required
Trait Implementations
impl Copy for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more