Struct ndisapi_rs::FastIoSection
source · #[repr(C, packed)]pub struct FastIoSection<const N: usize> {
pub fast_io_header: FastIoSectionHeader,
pub fast_io_packets: [IntermediateBuffer; N],
}
Expand description
This structure represents a Fast I/O section, which includes a FastIoSectionHeader and an array of IntermediateBuffer structures. It is used to store information about packet data and the state of read and write operations.
Rust equivalent for _FAST_IO_SECTION
Fields§
§fast_io_header: FastIoSectionHeader
Header containing the FastIoWriteUnion and read in progress flag
fast_io_packets: [IntermediateBuffer; N]
Array of IntermediateBuffer structures for packet data
Trait Implementations§
source§impl<const N: usize> Clone for FastIoSection<N>
impl<const N: usize> Clone for FastIoSection<N>
source§fn clone(&self) -> FastIoSection<N>
fn clone(&self) -> FastIoSection<N>
Returns a copy 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<const N: usize> Default for FastIoSection<N>
impl<const N: usize> Default for FastIoSection<N>
impl<const N: usize> Copy for FastIoSection<N>
Auto Trait Implementations§
impl<const N: usize> RefUnwindSafe for FastIoSection<N>
impl<const N: usize> !Send for FastIoSection<N>
impl<const N: usize> !Sync for FastIoSection<N>
impl<const N: usize> Unpin for FastIoSection<N>
impl<const N: usize> UnwindSafe for FastIoSection<N>
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