pub struct OrphanedPacketInfo {
pub packet_id: PacketID,
pub from_port: PortName,
pub salvo_condition: SalvoConditionName,
}Expand description
Information about a packet that was sent to an unconnected output port.
When send_output_salvo is called and a port has no connected edge,
the packet is moved to OutsideNet and tracked here.
Fields§
§packet_id: PacketIDThe packet that was orphaned.
from_port: PortNameThe output port name the packet was sent from.
salvo_condition: SalvoConditionNameThe salvo condition that triggered the send.
Trait Implementations§
Source§impl Clone for OrphanedPacketInfo
impl Clone for OrphanedPacketInfo
Source§fn clone(&self) -> OrphanedPacketInfo
fn clone(&self) -> OrphanedPacketInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OrphanedPacketInfo
impl RefUnwindSafe for OrphanedPacketInfo
impl Send for OrphanedPacketInfo
impl Sync for OrphanedPacketInfo
impl Unpin for OrphanedPacketInfo
impl UnwindSafe for OrphanedPacketInfo
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