Enum pmc::ErrorKind [−][src]
pub enum ErrorKind {}Show variants
Unknown, UnexpectedSignal, Init, Unsupported, VersionMismatch, InvalidEventSpec, AllocInit, Unloaded, AlreadyAttached, BadScope, LogFileRequired, BusyTarget, BadTarget, Forbidden,
Variants
An unknown error
The signal handler received an unrecognised signal.
Failed to initialise libpmc
.
The system CPU does not support performance monitor counters.
The kernel PMC interface differs from what this crate is using.
This usually means FreeBSD/hwpmc has been updated - recompiling the application might help.
The provided event specification is not recognised.
AllocInit
is returned for generic Counter
initialisation errors, and
unfortunately can be caused by other errors (such as
InvalidEventSpec
) without providing any more information.
The hwpmc
kernel module has been unloaded.
In testing, this signal was not sent from the hwpmc
implementation,
so this error should not be relied upon.
The Counter
is already attached to the requested process.
The requested scope is invalid for the requested event.
The requested event requires a configured log file to write results to.
The requested target PID is already being monitored by another process.
The requested target PID does not exist.
The caller does not have the appropriate permissions.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl UnwindSafe for ErrorKind