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
sourceimpl Clone for TpuClientConfig
impl Clone for TpuClientConfig
sourcefn clone(&self) -> TpuClientConfig
fn clone(&self) -> TpuClientConfig
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl 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<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more