pub enum KeyPathParseError {
InvalidKeyPath,
}
Expand description
Error type for keypaths.
Only one error at this time, and that is for parsing failure.
Variants§
InvalidKeyPath
keypath string is invalid
Trait Implementations§
Source§impl Debug for KeyPathParseError
impl Debug for KeyPathParseError
Source§impl Display for KeyPathParseError
impl Display for KeyPathParseError
Source§impl Error for KeyPathParseError
impl Error for KeyPathParseError
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<KeyPathParseError> for Error
impl From<KeyPathParseError> for Error
Source§fn from(source: KeyPathParseError) -> Self
fn from(source: KeyPathParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeyPathParseError
impl RefUnwindSafe for KeyPathParseError
impl Send for KeyPathParseError
impl Sync for KeyPathParseError
impl Unpin for KeyPathParseError
impl UnwindSafe for KeyPathParseError
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