pub struct DecoderContext { /* private fields */ }Expand description
Decoder context during decoding
Implementations§
Source§impl DecoderContext
impl DecoderContext
Sourcepub fn tracee_mode(&self) -> TraceeMode
pub fn tracee_mode(&self) -> TraceeMode
Get current tracee mode
Sourcepub fn is_in_packet_blocks(&self) -> bool
pub fn is_in_packet_blocks(&self) -> bool
Whether we are between a BBP and BEP packets.
When you invokes this method in a BBP packet handler, this will return the status before current BBP packet. Same for BEP and OVF packet.
Auto Trait Implementations§
impl Freeze for DecoderContext
impl RefUnwindSafe for DecoderContext
impl Send for DecoderContext
impl Sync for DecoderContext
impl Unpin for DecoderContext
impl UnwindSafe for DecoderContext
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