Struct solana_client::udp_client::UdpTpuConnection
source · pub struct UdpTpuConnection { /* private fields */ }
Implementations§
source§impl UdpTpuConnection
impl UdpTpuConnection
pub fn new_from_addr(local_socket: Arc<UdpSocket>, tpu_addr: SocketAddr) -> Self
pub fn new( local_socket: Arc<UdpSocket>, tpu_addr: SocketAddr, _connection_stats: Arc<ConnectionCacheStats> ) -> Self
Trait Implementations§
source§impl From<UdpTpuConnection> for BlockingConnection
impl From<UdpTpuConnection> for BlockingConnection
source§fn from(v: UdpTpuConnection) -> BlockingConnection
fn from(v: UdpTpuConnection) -> BlockingConnection
Converts to this type from the input type.