Enum p2p::OpenAddrErrorKind [−]
pub enum OpenAddrErrorKind { InconsistentAddrs(SocketAddr, SocketAddr), HitErrorLimit(Vec<QueryPublicAddrError>), LackOfServers, IfAddrs(Error), }
The actual type of OpenAddrError
.
Variants
InconsistentAddrs(SocketAddr, SocketAddr)
Our public IP addresses received from traversal/STUN servers don't match. Such behavior is unexpected and we wouldn't know how to handle that.
HitErrorLimit(Vec<QueryPublicAddrError>)
p2p only tolerates specific number of errors. If that exceeds, p2p stops trying.
LackOfServers
p2p doesn't have enough traversal servers to detect our public IP address.
IfAddrs(Error)
Failure to retrieve address list for network interfaces.
Trait Implementations
impl Debug for OpenAddrErrorKind
[src]
impl Debug for OpenAddrErrorKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for OpenAddrErrorKind
impl Display for OpenAddrErrorKind
impl Error for OpenAddrErrorKind
impl Error for OpenAddrErrorKind
Auto Trait Implementations
impl Send for OpenAddrErrorKind
impl Send for OpenAddrErrorKind
impl Sync for OpenAddrErrorKind
impl Sync for OpenAddrErrorKind