pub struct DiscoveryDryRun {
pub remote_addr: SocketAddr,
pub unicast_target: Option<SocketAddr>,
pub prefer_multicast: bool,
pub allow_broadcast: bool,
pub cached_targets: Vec<SocketAddr>,
pub scan_subnets: bool,
pub scan_rate_per_sec: u32,
pub scan_timeout_ms: u64,
pub scan_max_hosts: u32,
pub interfaces: Vec<DiscoveryInterface>,
pub broadcast_targets: Vec<SocketAddr>,
}Fields§
§remote_addr: SocketAddr§unicast_target: Option<SocketAddr>§prefer_multicast: bool§allow_broadcast: bool§cached_targets: Vec<SocketAddr>§scan_subnets: bool§scan_rate_per_sec: u32§scan_timeout_ms: u64§scan_max_hosts: u32§interfaces: Vec<DiscoveryInterface>§broadcast_targets: Vec<SocketAddr>Implementations§
Source§impl DiscoveryDryRun
impl DiscoveryDryRun
pub fn print_table(&self) -> String
Trait Implementations§
Source§impl Clone for DiscoveryDryRun
impl Clone for DiscoveryDryRun
Source§fn clone(&self) -> DiscoveryDryRun
fn clone(&self) -> DiscoveryDryRun
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DiscoveryDryRun
impl RefUnwindSafe for DiscoveryDryRun
impl Send for DiscoveryDryRun
impl Sync for DiscoveryDryRun
impl Unpin for DiscoveryDryRun
impl UnsafeUnpin for DiscoveryDryRun
impl UnwindSafe for DiscoveryDryRun
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