Enum bitcoin::network::address::AddrV2 [−][src]
pub enum AddrV2 {
Ipv4(Ipv4Addr),
Ipv6(Ipv6Addr),
TorV2([u8; 10]),
TorV3([u8; 32]),
I2p([u8; 32]),
Cjdns(Ipv6Addr),
Unknown(u8, Vec<u8>),
}
Expand description
Supported networks for use in BIP155 addrv2 message
Variants
Ipv4(Ipv4Addr)
IPV4
Tuple Fields of Ipv4
0: Ipv4Addr
Ipv6(Ipv6Addr)
IPV6
Tuple Fields of Ipv6
0: Ipv6Addr
TORV2
TORV3
I2P
Cjdns(Ipv6Addr)
CJDNS
Tuple Fields of Cjdns
0: Ipv6Addr
Unknown
Trait Implementations
Decode an object with a well-defined format
Auto Trait Implementations
impl RefUnwindSafe for AddrV2
impl UnwindSafe for AddrV2
Blanket Implementations
Mutably borrows from an owned value. Read more