pub enum ObjectPathError {
BeginAlphanumericAndUnderscoreAndHyphen,
EndSlash,
Empty,
ElementEmtpy,
InvalidChar(u8),
}
Expand description
An enum representing all errors, which can occur during the handling of a ObjectPath
.
Variants§
Trait Implementations§
Source§impl Debug for ObjectPathError
impl Debug for ObjectPathError
Source§impl Display for ObjectPathError
impl Display for ObjectPathError
Source§impl Error for ObjectPathError
impl Error for ObjectPathError
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 From<ObjectPathError> for DecodeError
impl From<ObjectPathError> for DecodeError
Source§fn from(source: ObjectPathError) -> Self
fn from(source: ObjectPathError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ObjectPathError
impl PartialEq for ObjectPathError
impl Eq for ObjectPathError
impl StructuralPartialEq for ObjectPathError
Auto Trait Implementations§
impl Freeze for ObjectPathError
impl RefUnwindSafe for ObjectPathError
impl Send for ObjectPathError
impl Sync for ObjectPathError
impl Unpin for ObjectPathError
impl UnwindSafe for ObjectPathError
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