pub enum ParseIdError {
InvalidId {
id: String,
given: String,
},
}
Expand description
Error when parsing id.
Variants§
InvalidId
Specified id could not be converted to enum.
Considering using the Raw
variant for specifying raw ids.
Trait Implementations§
Source§impl Debug for ParseIdError
impl Debug for ParseIdError
Source§impl Display for ParseIdError
impl Display for ParseIdError
Source§impl Error for ParseIdError
impl Error for ParseIdError
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<ParseIdError> for ParseError
impl From<ParseIdError> for ParseError
Source§fn from(source: ParseIdError) -> Self
fn from(source: ParseIdError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParseIdError
impl RefUnwindSafe for ParseIdError
impl Send for ParseIdError
impl Sync for ParseIdError
impl Unpin for ParseIdError
impl UnwindSafe for ParseIdError
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