pub enum TrackingError {
LockError(String),
InvalidPointer {
ptr: usize,
},
TrackingDisabled,
MemoryCorruption,
SerializationError(String),
IoError(Error),
}
Expand description
Error type for memory tracking operations
Variants§
LockError(String)
Failed to acquire a lock
InvalidPointer
Invalid pointer for association
TrackingDisabled
Allocation tracking is disabled
MemoryCorruption
Memory corruption detected
SerializationError(String)
Serialization error
IoError(Error)
IO error during export
Trait Implementations§
Source§impl Debug for TrackingError
impl Debug for TrackingError
Source§impl Display for TrackingError
impl Display for TrackingError
Source§impl Error for TrackingError
impl Error for TrackingError
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()
Auto Trait Implementations§
impl Freeze for TrackingError
impl !RefUnwindSafe for TrackingError
impl Send for TrackingError
impl Sync for TrackingError
impl Unpin for TrackingError
impl !UnwindSafe for TrackingError
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