Struct bee_network::PeerInfo [−][src]
pub struct PeerInfo {
pub address: Multiaddr,
pub alias: String,
pub relation: PeerRelation,
}
Expand description
Additional information about a peer.
Fields
address: Multiaddr
The peer’s address.
alias: String
The peer’s alias.
relation: PeerRelation
The type of relation regarding this peer.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PeerInfo
impl UnwindSafe for PeerInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self