pub enum FetKindParseError {
Empty,
Unknown,
}Expand description
Errors returned while parsing FET kinds.
Variants§
Empty
The kind was empty after trimming whitespace.
Unknown
The kind was not part of the fixed vocabulary.
Trait Implementations§
Source§impl Clone for FetKindParseError
impl Clone for FetKindParseError
Source§fn clone(&self) -> FetKindParseError
fn clone(&self) -> FetKindParseError
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 FetKindParseError
impl Debug for FetKindParseError
Source§impl Display for FetKindParseError
impl Display for FetKindParseError
Source§impl Error for FetKindParseError
impl Error for FetKindParseError
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 FetKindParseError
impl PartialEq for FetKindParseError
Source§fn eq(&self, other: &FetKindParseError) -> bool
fn eq(&self, other: &FetKindParseError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FetKindParseError
impl Eq for FetKindParseError
impl StructuralPartialEq for FetKindParseError
Auto Trait Implementations§
impl Freeze for FetKindParseError
impl RefUnwindSafe for FetKindParseError
impl Send for FetKindParseError
impl Sync for FetKindParseError
impl Unpin for FetKindParseError
impl UnsafeUnpin for FetKindParseError
impl UnwindSafe for FetKindParseError
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