pub enum IncomingPacket<'a, T: RingMem> {
Data(DataPacket<'a, T>),
Completion(CompletionPacket<'a, T>),
}
Expand description
An incoming packet.
Variants§
Trait Implementations§
Source§impl<'a, M: RingMem> AsRef<IncomingPacket<'a, M>> for PacketRef<'a, M>
impl<'a, M: RingMem> AsRef<IncomingPacket<'a, M>> for PacketRef<'a, M>
Source§fn as_ref(&self) -> &IncomingPacket<'a, M>
fn as_ref(&self) -> &IncomingPacket<'a, M>
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl<'a, T> Freeze for IncomingPacket<'a, T>
impl<'a, T> RefUnwindSafe for IncomingPacket<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for IncomingPacket<'a, T>where
T: Sync,
impl<'a, T> Sync for IncomingPacket<'a, T>where
T: Sync,
impl<'a, T> Unpin for IncomingPacket<'a, T>
impl<'a, T> UnwindSafe for IncomingPacket<'a, T>where
T: RefUnwindSafe,
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