pub struct PeerAddress {
pub ip: PeerAddressIp,
pub port: uint32,
pub numFailures: uint32,
}
Fields§
§ip: PeerAddressIp
§port: uint32
§numFailures: uint32
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PeerAddress
impl Debug for PeerAddress
Source§impl<Out: Write> Pack<Out> for PeerAddress
impl<Out: Write> Pack<Out> for PeerAddress
Source§impl PartialEq for PeerAddress
impl PartialEq for PeerAddress
Source§impl<In: Read> Unpack<In> for PeerAddress
impl<In: Read> Unpack<In> for PeerAddress
impl Copy for PeerAddress
impl Eq for PeerAddress
impl StructuralPartialEq for PeerAddress
Auto Trait Implementations§
impl Freeze for PeerAddress
impl RefUnwindSafe for PeerAddress
impl Send for PeerAddress
impl Sync for PeerAddress
impl Unpin 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