Crate reserve_port

Source

Structs§

OsQueryPortFinder
A PortFinder which will ask the OS for the port.
ReservedPort
A port, that at the time of creation, is guaranteed to be free for use by the OS. This also guarantees not to clash with other ReservedPort objects.
ReservedPortFinder
ReservedSocketAddr
ScanningPortFinder
A PortFinder which will scan for ports along a known range.
ScanningWithFallbackPortFinder

Enums§

Error

Traits§

PortFinder

Functions§

find_unused_port
is_port_available
Check if a port is available on both TCP and UDP.
is_port_available_tcp
Check if a port is available on TCP.
is_port_available_udp
Check if a port is available on UDP.

Type Aliases§

Result