#[non_exhaustive]pub struct Scanned {
pub port: String,
pub result: Result<Found>,
}Expand description
one port a scan looked at. result is the box on it, or the error a search of just that port gives. mostly
that’s busy (the box you already have open shows up as busy too, so leave its port out), not allowed, too old,
NoBoxCan for a box that can’t do what can asked, or NotFound when nothing answered
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.port: String§result: Result<Found>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Scanned
impl !UnwindSafe for Scanned
impl Freeze for Scanned
impl Send for Scanned
impl Sync for Scanned
impl Unpin for Scanned
impl UnsafeUnpin for Scanned
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