Struct safecoin_client::nonblocking::udp_client::UdpTpuConnection
source · pub struct UdpTpuConnection { /* private fields */ }
Implementations§
source§impl UdpTpuConnection
impl UdpTpuConnection
pub fn new_from_addr(socket: UdpSocket, tpu_addr: SocketAddr) -> Self
Trait Implementations§
source§impl From<UdpTpuConnection> for NonblockingConnection
impl From<UdpTpuConnection> for NonblockingConnection
source§fn from(v: UdpTpuConnection) -> NonblockingConnection
fn from(v: UdpTpuConnection) -> NonblockingConnection
Converts to this type from the input type.