pub enum BaseUriParseError {
InvalidUri {
input: String,
source: InvalidUri,
},
MissingScheme {
input: String,
},
MissingAuthority {
input: String,
},
InvalidHostHeader {
authority: String,
source: InvalidHeaderValue,
},
}Variants§
Trait Implementations§
Source§impl Debug for BaseUriParseError
impl Debug for BaseUriParseError
Source§impl Display for BaseUriParseError
impl Display for BaseUriParseError
Source§impl Error for BaseUriParseError
impl Error for BaseUriParseError
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()
Auto Trait Implementations§
impl Freeze for BaseUriParseError
impl RefUnwindSafe for BaseUriParseError
impl Send for BaseUriParseError
impl Sync for BaseUriParseError
impl Unpin for BaseUriParseError
impl UnsafeUnpin for BaseUriParseError
impl UnwindSafe for BaseUriParseError
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