Struct solana_client::nonblocking::quic_client::QuicTpuConnection
source · pub struct QuicTpuConnection { /* private fields */ }
Implementations§
source§impl QuicTpuConnection
impl QuicTpuConnection
pub fn base_stats(&self) -> Arc<ClientStats>
pub fn connection_stats(&self) -> Arc<ConnectionCacheStats>
pub fn new(
endpoint: Arc<QuicLazyInitializedEndpoint>,
addr: SocketAddr,
connection_stats: Arc<ConnectionCacheStats>
) -> Self
pub fn new_with_client(
client: Arc<QuicClient>,
connection_stats: Arc<ConnectionCacheStats>
) -> Self
Trait Implementations§
source§impl From<QuicTpuConnection> for NonblockingConnection
impl From<QuicTpuConnection> for NonblockingConnection
source§fn from(v: QuicTpuConnection) -> NonblockingConnection
fn from(v: QuicTpuConnection) -> NonblockingConnection
Converts to this type from the input type.