Enum libp2p_autonat::NatStatus
source · pub enum NatStatus {
Public(Multiaddr),
Private,
Unknown,
}
Expand description
Assumed NAT status.
Variants§
Implementations§
Trait Implementations§
source§impl From<Result<Multiaddr, ResponseError>> for NatStatus
impl From<Result<Multiaddr, ResponseError>> for NatStatus
source§fn from(result: Result<Multiaddr, ResponseError>) -> Self
fn from(result: Result<Multiaddr, ResponseError>) -> Self
Converts to this type from the input type.