pub enum KeyError {
NoSlash {
text: String,
},
Run(ParsePlaceError),
Call(ParsePlaceError),
}Expand description
Text that is not a call’s key, and which part of it is wrong.
Variants§
NoSlash
The text holds no /, so it has no run’s id and call’s id to part.
Run(ParsePlaceError)
What comes before the first / is not a run’s id.
Call(ParsePlaceError)
What comes after the first / is not a call’s id.
Trait Implementations§
impl Eq for KeyError
Source§impl Error for KeyError
impl Error for KeyError
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<KeyError> for ReplyError
impl From<KeyError> for ReplyError
impl StructuralPartialEq for KeyError
Auto Trait Implementations§
impl Forget for KeyError
impl Freeze for KeyError
impl Move for KeyError
impl RefUnwindSafe for KeyError
impl Send for KeyErrorwhere
RawVecInner: Send,
impl Sync for KeyErrorwhere
RawVecInner: Sync,
impl Unpin for KeyError
impl UnsafeUnpin for KeyError
impl UnwindSafe for KeyErrorwhere
RawVecInner: 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