Enum breez_sdk_liquid::bitcoin::network::address::AddrV2
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
Ipv6(Ipv6Addr)
IPV6
TorV2([u8; 10])
TORV2
TorV3([u8; 32])
TORV3
I2p([u8; 32])
I2P
Cjdns(Ipv6Addr)
CJDNS
Unknown(u8, Vec<u8>)
Unknown
Trait Implementations§
impl Eq for AddrV2
impl StructuralPartialEq for AddrV2
Auto Trait Implementations§
impl Freeze for AddrV2
impl RefUnwindSafe for AddrV2
impl Send for AddrV2
impl Sync for AddrV2
impl Unpin for AddrV2
impl UnwindSafe for AddrV2
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request