Enum armada_lib::ArmadaWorkMessage
source · pub enum ArmadaWorkMessage {
Results(Vec<SocketAddr>),
Stats {
total_processed_ports: u128,
current_inflight_packets: u128,
total_packets_sent: u128,
},
}
Variants§
Results(Vec<SocketAddr>)
Stats
Implementations§
source§impl ArmadaWorkMessage
impl ArmadaWorkMessage
pub fn results(results: Vec<SocketAddr>) -> ArmadaWorkMessage
pub fn stats( total_processed_ports: u128, current_inflight_packets: u128, total_packets_sent: u128 ) -> ArmadaWorkMessage
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ArmadaWorkMessage
impl Send for ArmadaWorkMessage
impl Sync for ArmadaWorkMessage
impl Unpin for ArmadaWorkMessage
impl UnwindSafe for ArmadaWorkMessage
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