#[repr(C)]pub struct PeerAddress {
pub ipv6: bool,
pub u1: PeerAddress1,
}Expand description
PeerAddress in network.hpp.
Fields§
§ipv6: boolipv6.
u1: PeerAddress1(anonymous union).
Trait Implementations§
Source§impl Clone for PeerAddress
impl Clone for PeerAddress
Source§fn clone(&self) -> PeerAddress
fn clone(&self) -> PeerAddress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PeerAddress
Source§impl VirtualReturn for PeerAddress
impl VirtualReturn for PeerAddress
Source§type Raw = PeerAddress
type Raw = PeerAddress
The type the foreign function is declared to return.
Source§fn from_raw(raw: PeerAddress) -> PeerAddress
fn from_raw(raw: PeerAddress) -> PeerAddress
The value the caller sees.
Auto Trait Implementations§
impl Freeze for PeerAddress
impl RefUnwindSafe for PeerAddress
impl Send for PeerAddress
impl Sync for PeerAddress
impl Unpin for PeerAddress
impl UnsafeUnpin for PeerAddress
impl UnwindSafe for PeerAddress
Blanket Implementations§
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