Struct solana_client::tpu_client::TpuClientConfig
source · pub struct TpuClientConfig {
pub fanout_slots: u64,
}
Expand description
Config params for TpuClient
Fields§
§fanout_slots: u64
The range of upcoming slots to include when determining which
leaders to send transactions to (min: 1, max: MAX_FANOUT_SLOTS
)
Trait Implementations§
source§impl Clone for TpuClientConfig
impl Clone for TpuClientConfig
source§fn clone(&self) -> TpuClientConfig
fn clone(&self) -> TpuClientConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TpuClientConfig
impl Debug for TpuClientConfig
Auto Trait Implementations§
impl RefUnwindSafe for TpuClientConfig
impl Send for TpuClientConfig
impl Sync for TpuClientConfig
impl Unpin for TpuClientConfig
impl UnwindSafe for TpuClientConfig
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