pub trait IntoPacket {
// Required method
fn into_packet(self) -> Packet;
}
Required Methods§
Sourcefn into_packet(self) -> Packet
fn into_packet(self) -> Packet
Convert the current type to a Packet
.
pub trait IntoPacket {
// Required method
fn into_packet(self) -> Packet;
}
Convert the current type to a Packet
.