Struct ktrace::Header
[−]
[src]
pub struct Header { pub length: usize, pub record_type: RecordType, pub pid: u32, pub command: String, pub timestamp: TimeVal, pub tid: usize, }
Safe wrapper around C struct ktr_header
Fields
length: usize
record_type: RecordType
pid: u32
command: String
timestamp: TimeVal
tid: usize
Methods
impl Header
[src]
Trait Implementations
impl Clone for Header
[src]
fn clone(&self) -> Header
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more