pub struct ScanOptions {
pub duration_secs: u64,
pub multicast: bool,
pub mdns: bool,
pub subnet: bool,
pub fallback_subnet: bool,
}Expand description
Options for the lanflare scan command.
Fields§
§duration_secs: u64Scan timeout in seconds.
multicast: boolWhether to enable UDP Multicast discovery.
mdns: boolWhether to enable mDNS discovery.
subnet: boolForce active /24 subnet IP scan.
fallback_subnet: boolFall back to /24 subnet scan if multicast/mDNS yield 0 peers.
Trait Implementations§
Source§impl Clone for ScanOptions
impl Clone for ScanOptions
Source§impl Debug for ScanOptions
impl Debug for ScanOptions
Auto Trait Implementations§
impl Freeze for ScanOptions
impl RefUnwindSafe for ScanOptions
impl Send for ScanOptions
impl Sync for ScanOptions
impl Unpin for ScanOptions
impl UnsafeUnpin for ScanOptions
impl UnwindSafe for ScanOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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