pub struct GenericPollBodyState<H> {
pub header: H,
pub total: usize,
pub idx: usize,
pub buf: Vec<MaybeUninit<u8>>,
}
Fields§
§header: H
§total: usize
Packet total size (include header)
idx: usize
§buf: Vec<MaybeUninit<u8>>
Trait Implementations§
Source§impl<H: Clone> Clone for GenericPollBodyState<H>
impl<H: Clone> Clone for GenericPollBodyState<H>
Source§fn clone(&self) -> GenericPollBodyState<H>
fn clone(&self) -> GenericPollBodyState<H>
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 moreAuto Trait Implementations§
impl<H> Freeze for GenericPollBodyState<H>where
H: Freeze,
impl<H> RefUnwindSafe for GenericPollBodyState<H>where
H: RefUnwindSafe,
impl<H> Send for GenericPollBodyState<H>where
H: Send,
impl<H> Sync for GenericPollBodyState<H>where
H: Sync,
impl<H> Unpin for GenericPollBodyState<H>where
H: Unpin,
impl<H> UnwindSafe for GenericPollBodyState<H>where
H: UnwindSafe,
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