pub struct ParseKindError { /* private fields */ }
Expand description
An error which is returned when parsing of a kind type failures.
Implementations§
Source§impl ParseKindError
impl ParseKindError
Sourcepub fn from_type_and_string<KindType>(given_string: String) -> ParseKindError
pub fn from_type_and_string<KindType>(given_string: String) -> ParseKindError
This method is used by kinded
macro to construct an error for FromStr trait and is not
recommend for a direct usage by users.
Trait Implementations§
Source§impl Debug for ParseKindError
impl Debug for ParseKindError
Source§impl Display for ParseKindError
impl Display for ParseKindError
Source§impl Error for ParseKindError
impl Error for ParseKindError
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()
Auto Trait Implementations§
impl Freeze for ParseKindError
impl RefUnwindSafe for ParseKindError
impl Send for ParseKindError
impl Sync for ParseKindError
impl Unpin for ParseKindError
impl UnwindSafe for ParseKindError
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