1 2 3 4 5 6 7 8 9 10
use std::net::SocketAddr;
/// The server's socket address, if it has been found
#[derive(Debug, Clone, Copy, Eq, PartialEq)]
pub enum ServerAddr {
/// Client has found the server's socket address
Found(SocketAddr),
/// Client is still finding the server's socket address
Finding,
}