pub struct InvalidPctString<T>(pub T);Expand description
Encoding error.
Raised when a given input string is not percent-encoded as expected.
Tuple Fields§
§0: TImplementations§
Source§impl<T> InvalidPctString<T>
impl<T> InvalidPctString<T>
pub fn map<U>(self, f: impl FnOnce(T) -> U) -> InvalidPctString<U>
Source§impl<T: ?Sized + ToOwned> InvalidPctString<&T>
impl<T: ?Sized + ToOwned> InvalidPctString<&T>
pub fn into_owned(self) -> InvalidPctString<T::Owned>
Trait Implementations§
Source§impl<T: Clone> Clone for InvalidPctString<T>
impl<T: Clone> Clone for InvalidPctString<T>
Source§fn clone(&self) -> InvalidPctString<T>
fn clone(&self) -> InvalidPctString<T>
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<T: Debug> Debug for InvalidPctString<T>
impl<T: Debug> Debug for InvalidPctString<T>
Source§impl<T> Display for InvalidPctString<T>
impl<T> Display for InvalidPctString<T>
impl<T: Copy> Copy for InvalidPctString<T>
Auto Trait Implementations§
impl<T> Freeze for InvalidPctString<T>where
T: Freeze,
impl<T> RefUnwindSafe for InvalidPctString<T>where
T: RefUnwindSafe,
impl<T> Send for InvalidPctString<T>where
T: Send,
impl<T> Sync for InvalidPctString<T>where
T: Sync,
impl<T> Unpin for InvalidPctString<T>where
T: Unpin,
impl<T> UnwindSafe for InvalidPctString<T>where
T: UnwindSafe,
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