pub struct EvtxChunkHeader {
pub first_event_record_number: u64,
pub last_event_record_number: u64,
pub first_event_record_id: u64,
pub last_event_record_id: u64,
pub header_size: u32,
pub last_event_record_data_offset: u32,
pub free_space_offset: u32,
pub events_checksum: u32,
pub header_chunk_checksum: u32,
pub flags: ChunkFlags,
/* private fields */
}Fields§
§first_event_record_number: u64§last_event_record_number: u64§first_event_record_id: u64§last_event_record_id: u64§header_size: u32§last_event_record_data_offset: u32§free_space_offset: u32§events_checksum: u32§header_chunk_checksum: u32§flags: ChunkFlagsImplementations§
Source§impl EvtxChunkHeader
impl EvtxChunkHeader
pub fn from_bytes(data: &[u8]) -> Result<EvtxChunkHeader, DeserializationError>
pub fn from_reader( input: &mut Cursor<&[u8]>, ) -> Result<EvtxChunkHeader, DeserializationError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EvtxChunkHeader
impl RefUnwindSafe for EvtxChunkHeader
impl Send for EvtxChunkHeader
impl Sync for EvtxChunkHeader
impl Unpin for EvtxChunkHeader
impl UnwindSafe for EvtxChunkHeader
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more