pub struct FileIoReadWriteEtwEvent {
pub offset: Option<u64>,
pub irp_ptr: Option<u64>,
pub file_object: Option<u64>,
pub file_key: Option<u64>,
pub ttid: Option<u32>,
pub io_size: Option<u32>,
pub io_flags: Option<u32>,
pub opcode: Option<u32>,
}Expand description
Proto definition based on the FileIo_ReadWrite class definition.
Fields§
§offset: Option<u64>§irp_ptr: Option<u64>§file_object: Option<u64>§file_key: Option<u64>§ttid: Option<u32>§io_size: Option<u32>§io_flags: Option<u32>§opcode: Option<u32>Implementations§
Source§impl FileIoReadWriteEtwEvent
impl FileIoReadWriteEtwEvent
Sourcepub fn offset(&self) -> u64
pub fn offset(&self) -> u64
Returns the value of offset, or the default value if offset is unset.
Sourcepub fn irp_ptr(&self) -> u64
pub fn irp_ptr(&self) -> u64
Returns the value of irp_ptr, or the default value if irp_ptr is unset.
Sourcepub fn file_object(&self) -> u64
pub fn file_object(&self) -> u64
Returns the value of file_object, or the default value if file_object is unset.
Sourcepub fn file_key(&self) -> u64
pub fn file_key(&self) -> u64
Returns the value of file_key, or the default value if file_key is unset.
Sourcepub fn io_size(&self) -> u32
pub fn io_size(&self) -> u32
Returns the value of io_size, or the default value if io_size is unset.
Trait Implementations§
Source§impl Clone for FileIoReadWriteEtwEvent
impl Clone for FileIoReadWriteEtwEvent
Source§fn clone(&self) -> FileIoReadWriteEtwEvent
fn clone(&self) -> FileIoReadWriteEtwEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileIoReadWriteEtwEvent
impl Debug for FileIoReadWriteEtwEvent
Source§impl Default for FileIoReadWriteEtwEvent
impl Default for FileIoReadWriteEtwEvent
Source§impl Message for FileIoReadWriteEtwEvent
impl Message for FileIoReadWriteEtwEvent
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for FileIoReadWriteEtwEvent
impl PartialEq for FileIoReadWriteEtwEvent
impl StructuralPartialEq for FileIoReadWriteEtwEvent
Auto Trait Implementations§
impl Freeze for FileIoReadWriteEtwEvent
impl RefUnwindSafe for FileIoReadWriteEtwEvent
impl Send for FileIoReadWriteEtwEvent
impl Sync for FileIoReadWriteEtwEvent
impl Unpin for FileIoReadWriteEtwEvent
impl UnwindSafe for FileIoReadWriteEtwEvent
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