pub enum DecodedFragment<'a> {
Direct(&'a [u8]),
DecodedByte(u8),
StrayPercent,
}Expand description
Fragments in a percent-decodable byte sequence.
Variants§
Direct(&'a [u8])
Bytes without percent characters nor percent-encoded triplets.
DecodedByte(u8)
A decoded byte from a percent-encoded triplet.
StrayPercent
A percent character that does not form a valid percent-encoded triplet.
Trait Implementations§
Source§impl<'a> Clone for DecodedFragment<'a>
impl<'a> Clone for DecodedFragment<'a>
Source§fn clone(&self) -> DecodedFragment<'a>
fn clone(&self) -> DecodedFragment<'a>
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<'a> Debug for DecodedFragment<'a>
impl<'a> Debug for DecodedFragment<'a>
Source§impl<'a> Hash for DecodedFragment<'a>
impl<'a> Hash for DecodedFragment<'a>
Source§impl<'a> PartialEq for DecodedFragment<'a>
impl<'a> PartialEq for DecodedFragment<'a>
impl<'a> Copy for DecodedFragment<'a>
impl<'a> Eq for DecodedFragment<'a>
impl<'a> StructuralPartialEq for DecodedFragment<'a>
Auto Trait Implementations§
impl<'a> Freeze for DecodedFragment<'a>
impl<'a> RefUnwindSafe for DecodedFragment<'a>
impl<'a> Send for DecodedFragment<'a>
impl<'a> Sync for DecodedFragment<'a>
impl<'a> Unpin for DecodedFragment<'a>
impl<'a> UnsafeUnpin for DecodedFragment<'a>
impl<'a> UnwindSafe for DecodedFragment<'a>
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