pub struct ScanningWithFallbackPortFinder<const MIN: u16, const MAX: u16> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<const MIN: u16, const MAX: u16> PortFinder for ScanningWithFallbackPortFinder<MIN, MAX>
impl<const MIN: u16, const MAX: u16> PortFinder for ScanningWithFallbackPortFinder<MIN, MAX>
fn find_port_for_ip(&mut self, ip: IpAddr) -> Option<(TcpListener, SocketAddr)>
fn find_port(&mut self) -> Option<u16>
Auto Trait Implementations§
impl<const MIN: u16, const MAX: u16> RefUnwindSafe for ScanningWithFallbackPortFinder<MIN, MAX>
impl<const MIN: u16, const MAX: u16> Send for ScanningWithFallbackPortFinder<MIN, MAX>
impl<const MIN: u16, const MAX: u16> Sync for ScanningWithFallbackPortFinder<MIN, MAX>
impl<const MIN: u16, const MAX: u16> Unpin for ScanningWithFallbackPortFinder<MIN, MAX>
impl<const MIN: u16, const MAX: u16> UnwindSafe for ScanningWithFallbackPortFinder<MIN, MAX>
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