Struct diagnostics_log_encoding::Header
source · pub struct Header(pub u64);
Expand description
A header in the tracing format. Expected to precede every Record and Argument.
The tracing format specifies Record headers and Argument headers as distinct types, but their layouts are the same in practice, so we represent both bitfields using the same struct.
Tuple Fields§
§0: u64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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