pub enum NifError {
BadArg,
BadArity,
OutOfMemory,
SystemLimit,
InvalidTerm,
Other(&'static str),
}Variants§
Trait Implementations§
Source§impl From<ResourceError> for NifError
impl From<ResourceError> for NifError
Source§fn from(err: ResourceError) -> Self
fn from(err: ResourceError) -> Self
Converts to this type from the input type.
impl Eq for NifError
impl StructuralPartialEq for NifError
Auto Trait Implementations§
impl Freeze for NifError
impl RefUnwindSafe for NifError
impl Send for NifError
impl Sync for NifError
impl Unpin for NifError
impl UnwindSafe for NifError
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