pub enum PprofError {
Io(Error),
Pprof(Error),
}
Available on Unix only.
Expand description
An error that can occur while profiling.
Variants§
Trait Implementations§
Source§impl Debug for PprofError
impl Debug for PprofError
Source§impl Display for PprofError
impl Display for PprofError
Source§impl Error for PprofError
impl Error for PprofError
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()
Source§impl From<Error> for PprofError
impl From<Error> for PprofError
Auto Trait Implementations§
impl Freeze for PprofError
impl !RefUnwindSafe for PprofError
impl Send for PprofError
impl Sync for PprofError
impl Unpin for PprofError
impl !UnwindSafe for PprofError
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