pub struct Packet {
pub packet_type: u8,
pub id: u8,
pub network_id: u8,
pub from_addr: String,
pub to_addr: String,
pub min_delay: u16,
pub max_delay: u16,
pub envelope: Option<Envelope>,
}Fields§
§packet_type: u8§id: u8§network_id: u8§from_addr: String§to_addr: String§min_delay: u16§max_delay: u16§envelope: Option<Envelope>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Packet
impl RefUnwindSafe for Packet
impl Send for Packet
impl Sync for Packet
impl Unpin for Packet
impl UnwindSafe for Packet
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