pub struct InvalidPath<T>(pub T);
Tuple Fields§
§0: T
Trait Implementations§
Source§impl<T: Debug> Debug for InvalidPath<T>
impl<T: Debug> Debug for InvalidPath<T>
Source§impl<T: Display> Display for InvalidPath<T>
impl<T: Display> Display for InvalidPath<T>
Source§impl<T: Debug + Display> Error for InvalidPath<T>
impl<T: Debug + Display> Error for InvalidPath<T>
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<'a> From<InvalidPath<&'a [u8]>> for IriError<Cow<'a, [u8]>>
impl<'a> From<InvalidPath<&'a [u8]>> for IriError<Cow<'a, [u8]>>
Source§fn from(InvalidPath: InvalidPath<&'a [u8]>) -> Self
fn from(InvalidPath: InvalidPath<&'a [u8]>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<InvalidPath<&'a str>> for IriError<Cow<'a, str>>
impl<'a> From<InvalidPath<&'a str>> for IriError<Cow<'a, str>>
Source§fn from(InvalidPath: InvalidPath<&'a str>) -> Self
fn from(InvalidPath: InvalidPath<&'a str>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<InvalidPath<String>> for IriError<Cow<'a, str>>
impl<'a> From<InvalidPath<String>> for IriError<Cow<'a, str>>
Source§fn from(InvalidPath: InvalidPath<String>) -> Self
fn from(InvalidPath: InvalidPath<String>) -> Self
Converts to this type from the input type.
Source§impl<T> From<InvalidPath<T>> for IriError<T>
impl<T> From<InvalidPath<T>> for IriError<T>
Source§fn from(source: InvalidPath<T>) -> Self
fn from(source: InvalidPath<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for InvalidPath<T>where
T: Freeze,
impl<T> RefUnwindSafe for InvalidPath<T>where
T: RefUnwindSafe,
impl<T> Send for InvalidPath<T>where
T: Send,
impl<T> Sync for InvalidPath<T>where
T: Sync,
impl<T> Unpin for InvalidPath<T>where
T: Unpin,
impl<T> UnwindSafe for InvalidPath<T>where
T: UnwindSafe,
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