pub enum DecodedChunk<'a> {
Unencoded(&'a str),
PctDecoded(u8),
}Expand description
An item returned by the Decode iterator.
Variants§
Unencoded(&'a str)
An unencoded subslice.
PctDecoded(u8)
A percent-encoded octet, decoded (for example, "%20" decoded as 0x20).
Trait Implementations§
Source§impl<'a> Clone for DecodedChunk<'a>
impl<'a> Clone for DecodedChunk<'a>
Source§fn clone(&self) -> DecodedChunk<'a>
fn clone(&self) -> DecodedChunk<'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 DecodedChunk<'a>
impl<'a> Debug for DecodedChunk<'a>
impl<'a> Copy for DecodedChunk<'a>
Auto Trait Implementations§
impl<'a> Freeze for DecodedChunk<'a>
impl<'a> RefUnwindSafe for DecodedChunk<'a>
impl<'a> Send for DecodedChunk<'a>
impl<'a> Sync for DecodedChunk<'a>
impl<'a> Unpin for DecodedChunk<'a>
impl<'a> UnwindSafe for DecodedChunk<'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