pub enum ResolveError {
CannotBeABase,
WriteFailure,
}
Expand description
Error type for resolving a target URI against a base URI.
Emitted by AnyUriRef::write_resolved
, AnyUriRef::resolved
,
and a few others.
Variants§
CannotBeABase
The URI-reference being given as a base cannot be used as a base for the given target URI-reference.
WriteFailure
Unable to write to the given core::fmt::Write
instance.
Trait Implementations§
Source§impl Clone for ResolveError
impl Clone for ResolveError
Source§fn clone(&self) -> ResolveError
fn clone(&self) -> ResolveError
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 Debug for ResolveError
impl Debug for ResolveError
Source§impl From<Error> for ResolveError
Transparent conversions from core::fmt::Error
to ResolveError
.
impl From<Error> for ResolveError
Transparent conversions from core::fmt::Error
to ResolveError
.
Source§fn from(_: Error) -> ResolveError
fn from(_: Error) -> ResolveError
Converts to this type from the input type.
Source§impl Hash for ResolveError
impl Hash for ResolveError
Source§impl PartialEq for ResolveError
impl PartialEq for ResolveError
impl Copy for ResolveError
impl Eq for ResolveError
impl StructuralPartialEq for ResolveError
Auto Trait Implementations§
impl Freeze for ResolveError
impl RefUnwindSafe for ResolveError
impl Send for ResolveError
impl Sync for ResolveError
impl Unpin for ResolveError
impl UnwindSafe for ResolveError
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