pub enum InvalidHttpU64 {
HasSignPrefix(String),
InvalidInt(ParseIntError),
}Expand description
An error that may occur when parsing header values that are u64.
Variants§
HasSignPrefix(String)
InvalidInt(ParseIntError)
Trait Implementations§
Source§impl Clone for InvalidHttpU64
impl Clone for InvalidHttpU64
Source§fn clone(&self) -> InvalidHttpU64
fn clone(&self) -> InvalidHttpU64
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InvalidHttpU64
impl Debug for InvalidHttpU64
Source§impl Display for InvalidHttpU64
impl Display for InvalidHttpU64
Source§impl Error for InvalidHttpU64
impl Error for InvalidHttpU64
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ParseIntError> for InvalidHttpU64
impl From<ParseIntError> for InvalidHttpU64
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InvalidHttpU64
impl PartialEq for InvalidHttpU64
impl Eq for InvalidHttpU64
impl StructuralPartialEq for InvalidHttpU64
Auto Trait Implementations§
impl Freeze for InvalidHttpU64
impl RefUnwindSafe for InvalidHttpU64
impl Send for InvalidHttpU64
impl Sync for InvalidHttpU64
impl Unpin for InvalidHttpU64
impl UnwindSafe for InvalidHttpU64
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