pub enum PrimitiveError {
File(FileError),
Vm(Error),
}
Expand description
An error of primitives.
Variants§
Trait Implementations§
Source§impl Clone for PrimitiveError
impl Clone for PrimitiveError
Source§fn clone(&self) -> PrimitiveError
fn clone(&self) -> PrimitiveError
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 PrimitiveError
impl Debug for PrimitiveError
Source§impl Display for PrimitiveError
impl Display for PrimitiveError
Source§impl Error for PrimitiveError
impl Error for PrimitiveError
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 Exception for PrimitiveError
impl Exception for PrimitiveError
Source§fn is_critical(&self) -> bool
fn is_critical(&self) -> bool
Returns
true
if an error is critical and not recoverable.Source§impl From<Error> for PrimitiveError
impl From<Error> for PrimitiveError
Source§impl From<FileError> for PrimitiveError
impl From<FileError> for PrimitiveError
Source§impl PartialEq for PrimitiveError
impl PartialEq for PrimitiveError
impl Eq for PrimitiveError
impl StructuralPartialEq for PrimitiveError
Auto Trait Implementations§
impl Freeze for PrimitiveError
impl RefUnwindSafe for PrimitiveError
impl Send for PrimitiveError
impl Sync for PrimitiveError
impl Unpin for PrimitiveError
impl UnwindSafe for PrimitiveError
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