Enum nyar_error::NyarErrorKind
source · [−]pub enum NyarErrorKind {
Show 15 variants
InvalidOperationInfix {
op: String,
lhs: String,
rhs: String,
},
InvalidOperationPrefix {
op: String,
item_type: String,
},
InvalidOperationSuffix {
op: String,
item_type: String,
},
InvalidCast {
item_type: String,
},
InvalidIndex {
index: String,
item_type: String,
},
InvalidIterator {
item_type: String,
},
IfLost,
IfNonBoolean,
VariableNotFound {
name: String,
},
WriteUnwritable {
name: String,
},
CustomErrorText {
text: String,
},
SyntaxError {
info: String,
},
IOError(Error),
FormatError(Error),
ParseDecimalError(ParseFloatError),
}Variants
InvalidOperationInfix
InvalidOperationPrefix
InvalidOperationSuffix
InvalidCast
Fields
item_type: StringInvalidIndex
InvalidIterator
Fields
item_type: StringIfLost
IfNonBoolean
VariableNotFound
Fields
name: StringWriteUnwritable
Fields
name: StringCustomErrorText
Fields
text: StringSyntaxError
Fields
info: StringIOError(Error)
FormatError(Error)
ParseDecimalError(ParseFloatError)
Trait Implementations
sourceimpl Debug for NyarErrorKind
impl Debug for NyarErrorKind
Auto Trait Implementations
impl !RefUnwindSafe for NyarErrorKind
impl Send for NyarErrorKind
impl Sync for NyarErrorKind
impl Unpin for NyarErrorKind
impl !UnwindSafe for NyarErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more