#[repr(C, packed(1))]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: FastIoSectionHeaderHeader 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 duplicate of the value. Read more
1.0.0§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> Freeze for FastIoSection<N>
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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)