pub enum InvalidJoin {
TooLong(TooLong),
InvalidUrl(InvalidUrl),
InvalidScheme(InvalidScheme),
CannotBeABase(CannotBeABase),
MissingSchemeNonRelativeUrl,
}Expand description
Variants§
TooLong(TooLong)
InvalidUrl(InvalidUrl)
InvalidScheme(InvalidScheme)
CannotBeABase(CannotBeABase)
MissingSchemeNonRelativeUrl
Returned when attempting to join a non-relative URL with something other than just a fragment or a whole URL.
Trait Implementations§
Source§impl Debug for InvalidJoin
impl Debug for InvalidJoin
Source§impl Display for InvalidJoin
impl Display for InvalidJoin
Source§impl Error for InvalidJoin
impl Error for InvalidJoin
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<CannotBeABase> for InvalidJoin
impl From<CannotBeABase> for InvalidJoin
Source§fn from(source: CannotBeABase) -> Self
fn from(source: CannotBeABase) -> 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<InvalidUrl> for InvalidJoin
impl From<InvalidUrl> for InvalidJoin
Source§fn from(source: InvalidUrl) -> Self
fn from(source: InvalidUrl) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidJoin
impl RefUnwindSafe for InvalidJoin
impl Send for InvalidJoin
impl Sync for InvalidJoin
impl Unpin for InvalidJoin
impl UnsafeUnpin for InvalidJoin
impl UnwindSafe for InvalidJoin
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