pub struct UnsafeParser {
pub sample_id_all: bool,
pub sample_type: u64,
pub read_format: u64,
pub user_regs: usize,
pub intr_regs: usize,
pub branch_sample_type: u64,
}
Expand description
Unsafe record parser.
Unlike Parser
, you need to ensure the safety of parsing record bytes.
Fields§
§sample_id_all: bool
§sample_type: u64
§read_format: u64
§user_regs: usize
§intr_regs: usize
§branch_sample_type: u64
Implementations§
Trait Implementations§
Source§impl Clone for UnsafeParser
impl Clone for UnsafeParser
Source§fn clone(&self) -> UnsafeParser
fn clone(&self) -> UnsafeParser
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for UnsafeParser
impl RefUnwindSafe for UnsafeParser
impl Send for UnsafeParser
impl Sync for UnsafeParser
impl Unpin for UnsafeParser
impl UnwindSafe for UnsafeParser
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