pub struct DiscoveryRunOptions {
pub local_addr: 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 attester_registry: Option<AttesterRegistry>,
}Fields§
§local_addr: 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§attester_registry: Option<AttesterRegistry>Trait Implementations§
Source§impl Clone for DiscoveryRunOptions
impl Clone for DiscoveryRunOptions
Source§fn clone(&self) -> DiscoveryRunOptions
fn clone(&self) -> DiscoveryRunOptions
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 moreSource§impl Debug for DiscoveryRunOptions
impl Debug for DiscoveryRunOptions
Auto Trait Implementations§
impl Freeze for DiscoveryRunOptions
impl RefUnwindSafe for DiscoveryRunOptions
impl Send for DiscoveryRunOptions
impl Sync for DiscoveryRunOptions
impl Unpin for DiscoveryRunOptions
impl UnwindSafe for DiscoveryRunOptions
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