pub enum TraceError {
Ptrace(Error),
Io(Error),
General(&'static str),
}
Expand description
Enum containing all errors tracing can witness
Variants§
Ptrace(Error)
Error spawning from syscall interactions
Io(Error)
Error during read and writing of process’s memory
General(&'static str)
Contexted error
Trait Implementations§
Source§impl Debug for TraceError
impl Debug for TraceError
Source§impl Display for TraceError
impl Display for TraceError
Source§impl Error for TraceError
impl Error for TraceError
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 TraceError
impl !RefUnwindSafe for TraceError
impl Send for TraceError
impl Sync for TraceError
impl Unpin for TraceError
impl !UnwindSafe for TraceError
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