pub struct InvalidScheme;Expand description
Returned when failing to parse a scheme.
Trait Implementations§
Source§impl Debug for InvalidScheme
impl Debug for InvalidScheme
Source§impl Display for InvalidScheme
impl Display for InvalidScheme
Source§impl Error for InvalidScheme
impl Error for InvalidScheme
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 From<!> for InvalidScheme
impl From<!> for InvalidScheme
Source§fn from(value: Infallible) -> Self
fn from(value: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<InvalidScheme> for InvalidUrl
impl From<InvalidScheme> for InvalidUrl
Source§fn from(source: InvalidScheme) -> Self
fn from(source: InvalidScheme) -> Self
Converts to this type from the input type.
Source§impl From<InvalidScheme> for InvalidJoin
impl From<InvalidScheme> for InvalidJoin
Source§fn from(source: InvalidScheme) -> Self
fn from(source: InvalidScheme) -> Self
Converts to this type from the input type.
Source§impl From<InvalidScheme> for SetSchemeError
impl From<InvalidScheme> for SetSchemeError
Source§fn from(source: InvalidScheme) -> Self
fn from(source: InvalidScheme) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidScheme
impl RefUnwindSafe for InvalidScheme
impl Send for InvalidScheme
impl Sync for InvalidScheme
impl Unpin for InvalidScheme
impl UnsafeUnpin for InvalidScheme
impl UnwindSafe for InvalidScheme
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