pub enum ScanMessage {
Done,
Info(Scanning),
ARPScanResult(Device),
SYNScanResult(SYNScanResult),
}Expand description
Generic enum representing the various kinds of scanning messages over the mcsp channel
Variants§
Done
Indicates that scanning has completed
Info(Scanning)
Send to inform that a device is about to be scanned
ARPScanResult(Device)
Sent whenever an ARP response is received from a device
SYNScanResult(SYNScanResult)
Sent whenever a SYN response is received from a device
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScanMessage
impl RefUnwindSafe for ScanMessage
impl Send for ScanMessage
impl Sync for ScanMessage
impl Unpin for ScanMessage
impl UnwindSafe for ScanMessage
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