Struct solana_quic_client::QuicConfig
source · pub struct QuicConfig { /* private fields */ }
Implementations§
source§impl QuicConfig
impl QuicConfig
pub fn update_client_certificate( &mut self, keypair: &Keypair, ipaddr: IpAddr ) -> Result<(), RcgenError>
pub fn update_keypair(&self, keypair: &Keypair) -> Result<(), RcgenError>
pub fn set_staked_nodes( &mut self, staked_nodes: &Arc<RwLock<StakedNodes>>, client_pubkey: &Pubkey )
pub fn update_client_endpoint(&mut self, client_endpoint: Endpoint)
Trait Implementations§
source§impl Clone for QuicConfig
impl Clone for QuicConfig
source§impl NewConnectionConfig for QuicConfig
impl NewConnectionConfig for QuicConfig
fn new() -> Result<Self, ClientError>
Auto Trait Implementations§
impl !RefUnwindSafe for QuicConfig
impl Send for QuicConfig
impl Sync for QuicConfig
impl Unpin for QuicConfig
impl !UnwindSafe for QuicConfig
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§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