Struct solana_gossip::cluster_info::Sockets [−][src]
pub struct Sockets {
pub gossip: UdpSocket,
pub ip_echo: Option<TcpListener>,
pub tvu: Vec<UdpSocket>,
pub tvu_forwards: Vec<UdpSocket>,
pub tpu: Vec<UdpSocket>,
pub tpu_forwards: Vec<UdpSocket>,
pub tpu_vote: Vec<UdpSocket>,
pub broadcast: Vec<UdpSocket>,
pub repair: UdpSocket,
pub retransmit_sockets: Vec<UdpSocket>,
pub serve_repair: UdpSocket,
pub ancestor_hashes_requests: UdpSocket,
}
Fields
gossip: UdpSocket
ip_echo: Option<TcpListener>
tvu: Vec<UdpSocket>
tvu_forwards: Vec<UdpSocket>
tpu: Vec<UdpSocket>
tpu_forwards: Vec<UdpSocket>
tpu_vote: Vec<UdpSocket>
broadcast: Vec<UdpSocket>
repair: UdpSocket
retransmit_sockets: Vec<UdpSocket>
serve_repair: UdpSocket
ancestor_hashes_requests: UdpSocket
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Sockets
impl UnwindSafe for Sockets
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
impl<T> TupleTree<T, ()> for T
impl<T> TupleTree<T, ()> for T
pub const SIZE: Size
pub fn descendants(_indirect_level: usize) -> usize
pub fn preorder_with_size_hint(self, f: &mut impl FnMut(Visit<T>, Size))
pub fn postorder_with_size_hint(self, f: &mut impl FnMut(Visit<T>, Size))
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