Struct solana_client::nonblocking::quic_client::QuicClient
source · pub struct QuicClient { /* private fields */ }
Implementations§
source§impl QuicClient
impl QuicClient
pub fn new( endpoint: Arc<QuicLazyInitializedEndpoint>, addr: SocketAddr, chunk_size: usize ) -> QuicClient
pub async fn send_buffer<T>( &self, data: T, stats: &ClientStats, connection_stats: Arc<ConnectionCacheStats> ) -> Result<(), ErrorKind>
pub async fn send_batch<T>( &self, buffers: &[T], stats: &ClientStats, connection_stats: Arc<ConnectionCacheStats> ) -> Result<(), ErrorKind>
pub fn server_addr(&self) -> &SocketAddr
pub fn stats(&self) -> Arc<ClientStats>
Auto Trait Implementations§
impl !RefUnwindSafe for QuicClient
impl Send for QuicClient
impl Sync for QuicClient
impl Unpin for QuicClient
impl !UnwindSafe for QuicClient
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