pub enum BjtKindParseError {
Empty,
Unknown,
}Expand description
Errors returned while parsing BJT 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 BjtKindParseError
impl Clone for BjtKindParseError
Source§fn clone(&self) -> BjtKindParseError
fn clone(&self) -> BjtKindParseError
Returns a duplicate of the value. Read more
1.0.0 · 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 BjtKindParseError
impl Debug for BjtKindParseError
Source§impl Display for BjtKindParseError
impl Display for BjtKindParseError
Source§impl Error for BjtKindParseError
impl Error for BjtKindParseError
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 BjtKindParseError
impl PartialEq for BjtKindParseError
impl Copy for BjtKindParseError
impl Eq for BjtKindParseError
impl StructuralPartialEq for BjtKindParseError
Auto Trait Implementations§
impl Freeze for BjtKindParseError
impl RefUnwindSafe for BjtKindParseError
impl Send for BjtKindParseError
impl Sync for BjtKindParseError
impl Unpin for BjtKindParseError
impl UnsafeUnpin for BjtKindParseError
impl UnwindSafe for BjtKindParseError
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