pub struct EvtxFileHeader {
pub first_chunk_number: u64,
pub last_chunk_number: u64,
pub next_record_id: u64,
pub header_size: u32,
pub minor_version: u16,
pub major_version: u16,
pub header_block_size: u16,
pub chunk_count: u16,
pub flags: HeaderFlags,
pub checksum: u32,
}Fields§
§first_chunk_number: u64§last_chunk_number: u64§next_record_id: u64§header_size: u32§minor_version: u16§major_version: u16§header_block_size: u16§chunk_count: u16§flags: HeaderFlags§checksum: u32Implementations§
Source§impl EvtxFileHeader
impl EvtxFileHeader
pub fn from_bytes(data: &[u8]) -> Result<EvtxFileHeader, DeserializationError>
pub fn from_stream<T: Read + Seek>( stream: &mut T, ) -> Result<EvtxFileHeader, DeserializationError>
Trait Implementations§
Source§impl Debug for EvtxFileHeader
impl Debug for EvtxFileHeader
Source§impl PartialEq for EvtxFileHeader
impl PartialEq for EvtxFileHeader
impl Eq for EvtxFileHeader
impl StructuralPartialEq for EvtxFileHeader
Auto Trait Implementations§
impl Freeze for EvtxFileHeader
impl RefUnwindSafe for EvtxFileHeader
impl Send for EvtxFileHeader
impl Sync for EvtxFileHeader
impl Unpin for EvtxFileHeader
impl UnwindSafe for EvtxFileHeader
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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