pub struct UnknownType;
Expand description
A ZST that represents an unknown type. This is used when the type of the payload is unknown.
Trait Implementations§
Source§impl Clone for UnknownType
impl Clone for UnknownType
Source§fn clone(&self) -> UnknownType
fn clone(&self) -> UnknownType
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 Debug for UnknownType
impl Debug for UnknownType
Source§impl Sendable for UnknownType
impl Sendable for UnknownType
Source§fn header(&self) -> PacketHeader<Self>
fn header(&self) -> PacketHeader<Self>
Returns the header of the packet.
impl Copy for UnknownType
Auto Trait Implementations§
impl Freeze for UnknownType
impl RefUnwindSafe for UnknownType
impl Send for UnknownType
impl Sync for UnknownType
impl Unpin for UnknownType
impl UnwindSafe for UnknownType
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