Struct wisp_mux::InfoPacket
source · pub struct InfoPacket {
pub version: WispVersion,
pub extensions: Vec<AnyProtocolExtension>,
}
Expand description
Packet used in the initial handshake.
See the docs
Fields§
§version: WispVersion
Wisp version sent in the packet.
extensions: Vec<AnyProtocolExtension>
List of protocol extensions sent in the packet.
Trait Implementations§
source§impl Clone for InfoPacket
impl Clone for InfoPacket
source§fn clone(&self) -> InfoPacket
fn clone(&self) -> InfoPacket
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 moreAuto Trait Implementations§
impl Freeze for InfoPacket
impl !RefUnwindSafe for InfoPacket
impl Send for InfoPacket
impl Sync for InfoPacket
impl Unpin for InfoPacket
impl !UnwindSafe for InfoPacket
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