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.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".