pub enum ProfilerErrorKind {
InitializationFailed(String),
StartFailed(String),
StopFailed(String),
CollectionFailed(String),
ReportGenerationFailed(String),
UnsupportedFeature(String),
}Expand description
Specific profiler error kinds.
Variants§
InitializationFailed(String)
Failed to initialize profiler.
StartFailed(String)
Failed to start profiling.
StopFailed(String)
Failed to stop profiling.
CollectionFailed(String)
Failed to collect profiling data.
ReportGenerationFailed(String)
Failed to generate report.
UnsupportedFeature(String)
Unsupported profiler feature.
Trait Implementations§
Source§impl Debug for ProfilerErrorKind
impl Debug for ProfilerErrorKind
Source§impl Display for ProfilerErrorKind
impl Display for ProfilerErrorKind
Source§impl Error for ProfilerErrorKind
impl Error for ProfilerErrorKind
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()
Auto Trait Implementations§
impl Freeze for ProfilerErrorKind
impl RefUnwindSafe for ProfilerErrorKind
impl Send for ProfilerErrorKind
impl Sync for ProfilerErrorKind
impl Unpin for ProfilerErrorKind
impl UnsafeUnpin for ProfilerErrorKind
impl UnwindSafe for ProfilerErrorKind
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