pub enum PercentDecodeError {
TruncatedEscape,
InvalidHexDigit(u8),
}Expand description
Failure modes of percent_decode.
Variants§
TruncatedEscape
A % without two following bytes.
InvalidHexDigit(u8)
A %XX escape whose digit is not a hexadecimal character.
Trait Implementations§
Source§impl Clone for PercentDecodeError
impl Clone for PercentDecodeError
Source§fn clone(&self) -> PercentDecodeError
fn clone(&self) -> PercentDecodeError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PercentDecodeError
Source§impl Debug for PercentDecodeError
impl Debug for PercentDecodeError
impl Eq for PercentDecodeError
Source§impl PartialEq for PercentDecodeError
impl PartialEq for PercentDecodeError
impl StructuralPartialEq for PercentDecodeError
Auto Trait Implementations§
impl Freeze for PercentDecodeError
impl RefUnwindSafe for PercentDecodeError
impl Send for PercentDecodeError
impl Sync for PercentDecodeError
impl Unpin for PercentDecodeError
impl UnsafeUnpin for PercentDecodeError
impl UnwindSafe for PercentDecodeError
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