pub enum TraitKindParseError {
Empty,
}Expand description
Error returned when parsing trait kinds fails.
Variants§
Empty
The trait kind was empty after trimming whitespace.
Trait Implementations§
Source§impl Clone for TraitKindParseError
impl Clone for TraitKindParseError
Source§fn clone(&self) -> TraitKindParseError
fn clone(&self) -> TraitKindParseError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TraitKindParseError
impl Debug for TraitKindParseError
Source§impl Display for TraitKindParseError
impl Display for TraitKindParseError
Source§impl Error for TraitKindParseError
impl Error for TraitKindParseError
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 PartialEq for TraitKindParseError
impl PartialEq for TraitKindParseError
Source§fn eq(&self, other: &TraitKindParseError) -> bool
fn eq(&self, other: &TraitKindParseError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TraitKindParseError
impl Eq for TraitKindParseError
impl StructuralPartialEq for TraitKindParseError
Auto Trait Implementations§
impl Freeze for TraitKindParseError
impl RefUnwindSafe for TraitKindParseError
impl Send for TraitKindParseError
impl Sync for TraitKindParseError
impl Unpin for TraitKindParseError
impl UnsafeUnpin for TraitKindParseError
impl UnwindSafe for TraitKindParseError
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