pub enum GenericPollPacketState<H> {
Header(PollHeaderState),
Body(GenericPollBodyState<H>),
}
Variants§
Header(PollHeaderState)
Body(GenericPollBodyState<H>)
Trait Implementations§
Source§impl<H: Clone> Clone for GenericPollPacketState<H>
impl<H: Clone> Clone for GenericPollPacketState<H>
Source§fn clone(&self) -> GenericPollPacketState<H>
fn clone(&self) -> GenericPollPacketState<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 moreSource§impl<H: Debug> Debug for GenericPollPacketState<H>
impl<H: Debug> Debug for GenericPollPacketState<H>
Auto Trait Implementations§
impl<H> Freeze for GenericPollPacketState<H>where
H: Freeze,
impl<H> RefUnwindSafe for GenericPollPacketState<H>where
H: RefUnwindSafe,
impl<H> Send for GenericPollPacketState<H>where
H: Send,
impl<H> Sync for GenericPollPacketState<H>where
H: Sync,
impl<H> Unpin for GenericPollPacketState<H>where
H: Unpin,
impl<H> UnwindSafe for GenericPollPacketState<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