#[repr(u16)]pub enum RuntimeErrorKind {
Corruption = 0,
IncompatiblePersistedFormat = 1,
InvariantViolation = 2,
Conflict = 3,
NotFound = 4,
Unsupported = 5,
Internal = 6,
}Expand description
RuntimeErrorKind
Public runtime error category.
Variants§
Corruption = 0
IncompatiblePersistedFormat = 1
InvariantViolation = 2
Conflict = 3
NotFound = 4
Unsupported = 5
Internal = 6
Trait Implementations§
Source§impl Clone for RuntimeErrorKind
impl Clone for RuntimeErrorKind
Source§fn clone(&self) -> RuntimeErrorKind
fn clone(&self) -> RuntimeErrorKind
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 moreimpl Copy for RuntimeErrorKind
Source§impl Debug for RuntimeErrorKind
impl Debug for RuntimeErrorKind
impl Eq for RuntimeErrorKind
Source§impl Hash for RuntimeErrorKind
impl Hash for RuntimeErrorKind
Source§impl PartialEq for RuntimeErrorKind
impl PartialEq for RuntimeErrorKind
Source§fn eq(&self, other: &RuntimeErrorKind) -> bool
fn eq(&self, other: &RuntimeErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeErrorKind
Auto Trait Implementations§
impl Freeze for RuntimeErrorKind
impl RefUnwindSafe for RuntimeErrorKind
impl Send for RuntimeErrorKind
impl Sync for RuntimeErrorKind
impl Unpin for RuntimeErrorKind
impl UnsafeUnpin for RuntimeErrorKind
impl UnwindSafe for RuntimeErrorKind
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