[−][src]Struct evtx::EvtxChunkData
A struct which owns all the data associated with a chunk. See EvtxChunk for more.
Fields
header: EvtxChunkHeader
data: Vec<u8>
Methods
impl EvtxChunkData
[src]
pub fn new(data: Vec<u8>, validate_checksum: bool) -> Result<Self>
[src]
Construct a new chunk from the given data. Note that even when validate_checksum is set to false, the header magic is still checked.
pub fn parse<'chunk, 'b: 'chunk>(
&'chunk mut self,
settings: &'b ParserSettings
) -> Result<EvtxChunk<'chunk>>
[src]
&'chunk mut self,
settings: &'b ParserSettings
) -> Result<EvtxChunk<'chunk>>
Require that the settings live at least as long as &self.
pub fn validate_data_checksum(&self) -> bool
[src]
pub fn validate_header_checksum(&self) -> bool
[src]
pub fn validate_checksum(&self) -> bool
[src]
Auto Trait Implementations
impl Send for EvtxChunkData
impl Sync for EvtxChunkData
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,