pub enum ZerError {
EmptySchema,
UnknownField(String),
SchemaMismatch {
expected: usize,
got: usize,
},
NotFitted,
Store(String),
Serialization(String),
Config(String),
Gpu(String),
Judge(String),
Io(Error),
}Variants§
EmptySchema
UnknownField(String)
SchemaMismatch
NotFitted
Store(String)
Serialization(String)
Config(String)
Gpu(String)
Judge(String)
Io(Error)
Trait Implementations§
Source§impl Error for ZerError
impl Error for ZerError
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()
Auto Trait Implementations§
impl Freeze for ZerError
impl !RefUnwindSafe for ZerError
impl Send for ZerError
impl Sync for ZerError
impl Unpin for ZerError
impl UnsafeUnpin for ZerError
impl !UnwindSafe for ZerError
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