Struct tdn::prelude::Peer [−][src]
pub struct Peer {
pub id: PeerId,
pub socket: SocketAddr,
pub transport: TransportType,
pub httpurl: String,
pub is_pub: bool,
}
Fields
id: PeerId
socket: SocketAddr
transport: TransportType
httpurl: String
is_pub: bool
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Peer
impl UnwindSafe for Peer
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more