pub enum PprofError {
NullFunction,
NullLocation,
NullMapping,
StringNotFound(i64),
FunctionNotFound(u64),
LocationNotFound(u64),
MappingNotFound(u64),
NullFunctionId(u64),
NullMappingId(u64),
}Variants§
NullFunction
NullLocation
NullMapping
StringNotFound(i64)
FunctionNotFound(u64)
LocationNotFound(u64)
MappingNotFound(u64)
NullFunctionId(u64)
NullMappingId(u64)
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
1.30.0 · 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 PartialEq for PprofError
impl PartialEq for PprofError
impl Eq for PprofError
impl StructuralPartialEq 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