#[repr(i32)]pub enum PtErrorCode {
Show 28 variants
Ok = 0,
Internal = 1,
Invalid = 2,
Nosync = 3,
BadOpc = 4,
BadPacket = 5,
BadContext = 6,
Eos = 7,
BadQuery = 8,
Nomem = 9,
BadConfig = 10,
Noip = 11,
IpSuppressed = 12,
Nomap = 13,
BadInsn = 14,
NoTime = 15,
NoCbr = 16,
BadImage = 17,
BadLock = 18,
NotSupported = 19,
RetstackEmpty = 20,
BadRetcomp = 21,
BadStatusUpdate = 22,
NoEnable = 23,
EventIgnored = 24,
Overflow = 25,
BadFile = 26,
BadCpu = 27,
}
Variants§
Ok = 0
No error. Everything is OK
Internal = 1
Internal decoder error
Invalid = 2
Invalid argument
Nosync = 3
Decoder out of sync
BadOpc = 4
Unknown opcode
BadPacket = 5
Unknown payload
BadContext = 6
Unexpected packet context
Eos = 7
Decoder reached end of trace stream
BadQuery = 8
No packet matching the query to be found
Nomem = 9
Decoder out of memory
BadConfig = 10
Bad configuration
Noip = 11
There is no IP
IpSuppressed = 12
The IP has been suppressed
Nomap = 13
There is no memory mapped at the requested address
BadInsn = 14
An instruction could not be decoded
NoTime = 15
No wall-clock time is available
NoCbr = 16
No core:bus ratio available
BadImage = 17
Bad traced image
BadLock = 18
A locking error
NotSupported = 19
The requested feature is not supported
RetstackEmpty = 20
The return address stack is empty
BadRetcomp = 21
A compressed return is not indicated correctly by a taken branch
BadStatusUpdate = 22
The current decoder state does not match the state in the trace
NoEnable = 23
The trace did not contain an expected enabled event
EventIgnored = 24
An event was ignored
Overflow = 25
Something overflowed
BadFile = 26
A file handling error
BadCpu = 27
Unknown cpu
Trait Implementations§
Source§impl Clone for PtErrorCode
impl Clone for PtErrorCode
Source§fn clone(&self) -> PtErrorCode
fn clone(&self) -> PtErrorCode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more