pub enum AtomError {
NotFound,
AllocationFailed,
InvalidLength,
InvalidAtomData,
NullPointer,
InvalidIndex,
}Expand description
Errors that can occur during atom operations
Variants§
NotFound
Atom not found in table
AllocationFailed
Memory allocation failed
InvalidLength
Invalid atom length (too long or encoding error)
InvalidAtomData
Invalid atom data (bad UTF-8, null bytes, etc.)
NullPointer
Null pointer returned from C API
InvalidIndex
Invalid atom index
Trait Implementations§
Source§impl From<AtomError> for TaggedError
impl From<AtomError> for TaggedError
impl Eq for AtomError
impl StructuralPartialEq for AtomError
Auto Trait Implementations§
impl Freeze for AtomError
impl RefUnwindSafe for AtomError
impl Send for AtomError
impl Sync for AtomError
impl Unpin for AtomError
impl UnwindSafe for AtomError
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