Struct iref::uri::InvalidUriRef
source · pub struct InvalidUriRef<T>(pub T);
Tuple Fields§
§0: T
Trait Implementations§
source§impl<T> Debug for InvalidUriRef<T>where
T: Debug,
impl<T> Debug for InvalidUriRef<T>where
T: Debug,
source§impl<T> Display for InvalidUriRef<T>where
T: Display,
impl<T> Display for InvalidUriRef<T>where
T: Display,
source§impl<T> Error for InvalidUriRef<T>
impl<T> Error for InvalidUriRef<T>
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<T> From<InvalidUriRef<T>> for UriError<T>
impl<T> From<InvalidUriRef<T>> for UriError<T>
source§fn from(source: InvalidUriRef<T>) -> UriError<T>
fn from(source: InvalidUriRef<T>) -> UriError<T>
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for InvalidUriRef<T>where
T: Freeze,
impl<T> RefUnwindSafe for InvalidUriRef<T>where
T: RefUnwindSafe,
impl<T> Send for InvalidUriRef<T>where
T: Send,
impl<T> Sync for InvalidUriRef<T>where
T: Sync,
impl<T> Unpin for InvalidUriRef<T>where
T: Unpin,
impl<T> UnwindSafe for InvalidUriRef<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