Enum bantamweight::BantamPacketType
source · [−]pub enum BantamPacketType {
Handshake,
HandshakeResponse,
Data,
Bye,
}
Variants
Handshake
HandshakeResponse
Data
Bye
Trait Implementations
sourceimpl Debug for BantamPacketType
impl Debug for BantamPacketType
sourceimpl PacketHeader<BantamPacketType> for ByePacket
impl PacketHeader<BantamPacketType> for ByePacket
fn get_type(&self) -> BantamPacketType
sourceimpl PacketHeader<BantamPacketType> for DataPacket
impl PacketHeader<BantamPacketType> for DataPacket
fn get_type(&self) -> BantamPacketType
sourceimpl PacketHeader<BantamPacketType> for HandshakePacket
impl PacketHeader<BantamPacketType> for HandshakePacket
fn get_type(&self) -> BantamPacketType
sourceimpl PacketHeader<BantamPacketType> for HandshakeResponsePacket
impl PacketHeader<BantamPacketType> for HandshakeResponsePacket
fn get_type(&self) -> BantamPacketType
sourceimpl PacketType for BantamPacketType
impl PacketType for BantamPacketType
sourceimpl PartialEq<BantamPacketType> for BantamPacketType
impl PartialEq<BantamPacketType> for BantamPacketType
impl StructuralPartialEq for BantamPacketType
Auto Trait Implementations
impl RefUnwindSafe for BantamPacketType
impl Send for BantamPacketType
impl Sync for BantamPacketType
impl Unpin for BantamPacketType
impl UnwindSafe for BantamPacketType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more