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.
source§impl TpuConnection for QuicTpuConnection
impl TpuConnection for QuicTpuConnection
fn tpu_addr(&self) -> &SocketAddr
fn send_wire_transaction_batch<'life0, 'life1, 'async_trait, T>( &'life0 self, buffers: &'life1 [T] ) -> Pin<Box<dyn Future<Output = TransportResult<()>> + Send + 'async_trait>>where T: AsRef<[u8]> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
fn send_wire_transaction<'life0, 'async_trait, T>( &'life0 self, wire_transaction: T ) -> Pin<Box<dyn Future<Output = TransportResult<()>> + Send + 'async_trait>>where T: AsRef<[u8]> + Send + Sync + 'async_trait, Self: 'async_trait, 'life0: 'async_trait,
fn serialize_and_send_transaction<'life0, 'life1, 'async_trait>( &'life0 self, transaction: &'life1 VersionedTransaction ) -> Pin<Box<dyn Future<Output = TransportResult<()>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for QuicTpuConnection
impl Send for QuicTpuConnection
impl Sync for QuicTpuConnection
impl Unpin for QuicTpuConnection
impl !UnwindSafe for QuicTpuConnection
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more