#[non_exhaustive]pub enum LineErrorKind {
InvalidJson,
InvalidUtf8,
TooLong,
MissingField(&'static str),
InvalidField(String),
CounterRegression,
LostUsageBaseline,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidJson
InvalidUtf8
TooLong
MissingField(&'static str)
InvalidField(String)
CounterRegression
LostUsageBaseline
Trait Implementations§
Source§impl Clone for LineErrorKind
impl Clone for LineErrorKind
Source§impl Debug for LineErrorKind
impl Debug for LineErrorKind
impl Eq for LineErrorKind
Source§impl From<LineErrorKind> for ImportError
impl From<LineErrorKind> for ImportError
Source§fn from(e: LineErrorKind) -> Self
fn from(e: LineErrorKind) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LineErrorKind
impl PartialEq for LineErrorKind
Source§impl Serialize for LineErrorKind
impl Serialize for LineErrorKind
impl StructuralPartialEq for LineErrorKind
Auto Trait Implementations§
impl Freeze for LineErrorKind
impl RefUnwindSafe for LineErrorKind
impl Send for LineErrorKind
impl Sync for LineErrorKind
impl Unpin for LineErrorKind
impl UnsafeUnpin for LineErrorKind
impl UnwindSafe for LineErrorKind
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