pub struct IriRelativizeError {}Expand description
An error raised when calling Iri::relativize.
It can happen when it is not possible to build a relative IRI that can resolve to the same IRI.
For example, when the path contains /../.
Trait Implementations§
Source§impl Debug for IriRelativizeError
impl Debug for IriRelativizeError
Source§impl Display for IriRelativizeError
impl Display for IriRelativizeError
Source§impl Error for IriRelativizeError
impl Error for IriRelativizeError
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()
Auto Trait Implementations§
impl Freeze for IriRelativizeError
impl RefUnwindSafe for IriRelativizeError
impl Send for IriRelativizeError
impl Sync for IriRelativizeError
impl Unpin for IriRelativizeError
impl UnsafeUnpin for IriRelativizeError
impl UnwindSafe for IriRelativizeError
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