Struct solana_send_transaction_service::send_transaction_service::SendTransactionService [−][src]
pub struct SendTransactionService { /* fields omitted */ }
Implementations
pub fn new<T: TpuInfo + Send + 'static>(
tpu_address: SocketAddr,
bank_forks: &Arc<RwLock<BankForks>>,
leader_info: Option<T>,
receiver: Receiver<TransactionInfo>,
retry_rate_ms: u64,
leader_forward_count: u64
) -> Self
pub fn new_with_config<T: TpuInfo + Send + 'static>(
tpu_address: SocketAddr,
bank_forks: &Arc<RwLock<BankForks>>,
leader_info: Option<T>,
receiver: Receiver<TransactionInfo>,
config: Config
) -> Self
Auto Trait Implementations
impl !RefUnwindSafe for SendTransactionService
impl Send for SendTransactionService
impl Sync for SendTransactionService
impl Unpin for SendTransactionService
impl !UnwindSafe for SendTransactionService
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more