Struct bantamweight::ByePacket
source · [−]pub struct ByePacket {
pub flag: u8,
}
Fields
flag: u8
Implementations
Trait Implementations
sourceimpl PacketHeader<BantamPacketType> for ByePacket
impl PacketHeader<BantamPacketType> for ByePacket
fn get_type(&self) -> BantamPacketType
sourceimpl Serializable for ByePacket
impl Serializable for ByePacket
fn to_stream(&self, stream: &mut BinaryStream)
fn from_stream(stream: &mut BinaryStream) -> Self
Auto Trait Implementations
impl RefUnwindSafe for ByePacket
impl Send for ByePacket
impl Sync for ByePacket
impl Unpin for ByePacket
impl UnwindSafe for ByePacket
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