#[repr(C)]pub enum MochiError {
PtrCast(PtrCastError),
Node(NodeError),
JsonParseError,
Unimplemented,
Unknown,
}
Variants§
Trait Implementations§
Source§impl Clone for MochiError
impl Clone for MochiError
Source§fn clone(&self) -> MochiError
fn clone(&self) -> MochiError
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 MochiError
impl Debug for MochiError
Source§impl From<NodeError> for MochiError
impl From<NodeError> for MochiError
Source§impl From<ParseIntError> for MochiError
impl From<ParseIntError> for MochiError
Source§fn from(_: ParseIntError) -> Self
fn from(_: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<PtrCastError> for MochiError
impl From<PtrCastError> for MochiError
Source§fn from(cast: PtrCastError) -> Self
fn from(cast: PtrCastError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MochiError
impl PartialEq for MochiError
impl Copy for MochiError
impl Eq for MochiError
impl StructuralPartialEq for MochiError
Auto Trait Implementations§
impl Freeze for MochiError
impl RefUnwindSafe for MochiError
impl Send for MochiError
impl Sync for MochiError
impl Unpin for MochiError
impl UnwindSafe for MochiError
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