Struct solana_rpc::rpc_pubsub::RpcSolPubSubImpl [−][src]
pub struct RpcSolPubSubImpl { /* fields omitted */ }
Implementations
pub fn new(
config: PubSubConfig,
subscription_control: SubscriptionControl,
current_subscriptions: Arc<DashMap<SubscriptionId, SubscriptionToken>>
) -> Self
Trait Implementations
fn account_subscribe(
&self,
pubkey_str: String,
config: Option<RpcAccountInfoConfig>
) -> Result<SubscriptionId>
fn program_subscribe(
&self,
pubkey_str: String,
config: Option<RpcProgramAccountsConfig>
) -> Result<SubscriptionId>
fn logs_subscribe(
&self,
filter: RpcTransactionLogsFilter,
config: Option<RpcTransactionLogsConfig>
) -> Result<SubscriptionId>
fn signature_subscribe(
&self,
signature_str: String,
config: Option<RpcSignatureSubscribeConfig>
) -> Result<SubscriptionId>
Create an IoDelegate
, wiring rpc calls to the trait methods.
Auto Trait Implementations
impl !RefUnwindSafe for RpcSolPubSubImpl
impl Send for RpcSolPubSubImpl
impl Sync for RpcSolPubSubImpl
impl Unpin for RpcSolPubSubImpl
impl !UnwindSafe for RpcSolPubSubImpl
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
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