Trait solana_core::rpc_pubsub::RpcSolPubSub [−][src]
Associated Types
type Metadata: PubSubMetadata
[src]
Required methods
fn account_subscribe(
&self,
meta: Self::Metadata,
subscriber: Subscriber<RpcResponse<UiAccount>>,
pubkey_str: String,
config: Option<RpcAccountInfoConfig>
)
[src]
&self,
meta: Self::Metadata,
subscriber: Subscriber<RpcResponse<UiAccount>>,
pubkey_str: String,
config: Option<RpcAccountInfoConfig>
)
fn account_unsubscribe(
&self,
meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
[src]
&self,
meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
fn program_subscribe(
&self,
meta: Self::Metadata,
subscriber: Subscriber<RpcResponse<RpcKeyedAccount>>,
pubkey_str: String,
config: Option<RpcProgramAccountsConfig>
)
[src]
&self,
meta: Self::Metadata,
subscriber: Subscriber<RpcResponse<RpcKeyedAccount>>,
pubkey_str: String,
config: Option<RpcProgramAccountsConfig>
)
fn program_unsubscribe(
&self,
meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
[src]
&self,
meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
fn logs_subscribe(
&self,
meta: Self::Metadata,
subscriber: Subscriber<RpcResponse<RpcLogsResponse>>,
filter: RpcTransactionLogsFilter,
config: Option<RpcTransactionLogsConfig>
)
[src]
&self,
meta: Self::Metadata,
subscriber: Subscriber<RpcResponse<RpcLogsResponse>>,
filter: RpcTransactionLogsFilter,
config: Option<RpcTransactionLogsConfig>
)
fn logs_unsubscribe(
&self,
meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
[src]
&self,
meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
fn signature_subscribe(
&self,
meta: Self::Metadata,
subscriber: Subscriber<RpcResponse<RpcSignatureResult>>,
signature_str: String,
config: Option<RpcSignatureSubscribeConfig>
)
[src]
&self,
meta: Self::Metadata,
subscriber: Subscriber<RpcResponse<RpcSignatureResult>>,
signature_str: String,
config: Option<RpcSignatureSubscribeConfig>
)
fn signature_unsubscribe(
&self,
meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
[src]
&self,
meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
fn slot_subscribe(&self, meta: Self::Metadata, subscriber: Subscriber<SlotInfo>)
[src]
fn slot_unsubscribe(
&self,
meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
[src]
&self,
meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
fn slots_updates_subscribe(
&self,
meta: Self::Metadata,
subscriber: Subscriber<Arc<SlotUpdate>>
)
[src]
&self,
meta: Self::Metadata,
subscriber: Subscriber<Arc<SlotUpdate>>
)
fn slots_updates_unsubscribe(
&self,
meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
[src]
&self,
meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
fn vote_subscribe(&self, meta: Self::Metadata, subscriber: Subscriber<RpcVote>)
[src]
fn vote_unsubscribe(
&self,
meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
[src]
&self,
meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
fn root_subscribe(&self, meta: Self::Metadata, subscriber: Subscriber<Slot>)
[src]
fn root_unsubscribe(
&self,
meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
[src]
&self,
meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
fn eth_subscribe(
&self,
meta: Self::Metadata,
subscriber: Subscriber<RPCBlock>,
topic: String,
anydata: Option<Value>
)
[src]
&self,
meta: Self::Metadata,
subscriber: Subscriber<RPCBlock>,
topic: String,
anydata: Option<Value>
)
fn eth_unsubscribe(
&self,
meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
[src]
&self,
meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
Provided methods
fn to_delegate(self) -> IoDelegate<Self, Self::Metadata>
[src]
Create an IoDelegate
, wiring rpc calls to the trait methods.
Implementors
impl RpcSolPubSub for RpcSolPubSubImpl
[src]
type Metadata = Arc<Session>
fn account_subscribe(
&self,
_meta: Self::Metadata,
subscriber: Subscriber<RpcResponse<UiAccount>>,
pubkey_str: String,
config: Option<RpcAccountInfoConfig>
)
[src]
&self,
_meta: Self::Metadata,
subscriber: Subscriber<RpcResponse<UiAccount>>,
pubkey_str: String,
config: Option<RpcAccountInfoConfig>
)
fn account_unsubscribe(
&self,
_meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
[src]
&self,
_meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
fn program_subscribe(
&self,
_meta: Self::Metadata,
subscriber: Subscriber<RpcResponse<RpcKeyedAccount>>,
pubkey_str: String,
config: Option<RpcProgramAccountsConfig>
)
[src]
&self,
_meta: Self::Metadata,
subscriber: Subscriber<RpcResponse<RpcKeyedAccount>>,
pubkey_str: String,
config: Option<RpcProgramAccountsConfig>
)
fn program_unsubscribe(
&self,
_meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
[src]
&self,
_meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
fn logs_subscribe(
&self,
_meta: Self::Metadata,
subscriber: Subscriber<RpcResponse<RpcLogsResponse>>,
filter: RpcTransactionLogsFilter,
config: Option<RpcTransactionLogsConfig>
)
[src]
&self,
_meta: Self::Metadata,
subscriber: Subscriber<RpcResponse<RpcLogsResponse>>,
filter: RpcTransactionLogsFilter,
config: Option<RpcTransactionLogsConfig>
)
fn logs_unsubscribe(
&self,
_meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
[src]
&self,
_meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
fn signature_subscribe(
&self,
_meta: Self::Metadata,
subscriber: Subscriber<RpcResponse<RpcSignatureResult>>,
signature_str: String,
signature_subscribe_config: Option<RpcSignatureSubscribeConfig>
)
[src]
&self,
_meta: Self::Metadata,
subscriber: Subscriber<RpcResponse<RpcSignatureResult>>,
signature_str: String,
signature_subscribe_config: Option<RpcSignatureSubscribeConfig>
)
fn signature_unsubscribe(
&self,
_meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
[src]
&self,
_meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
fn slot_subscribe(
&self,
_meta: Self::Metadata,
subscriber: Subscriber<SlotInfo>
)
[src]
&self,
_meta: Self::Metadata,
subscriber: Subscriber<SlotInfo>
)
fn slot_unsubscribe(
&self,
_meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
[src]
&self,
_meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
fn slots_updates_subscribe(
&self,
_meta: Self::Metadata,
subscriber: Subscriber<Arc<SlotUpdate>>
)
[src]
&self,
_meta: Self::Metadata,
subscriber: Subscriber<Arc<SlotUpdate>>
)
fn slots_updates_unsubscribe(
&self,
_meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
[src]
&self,
_meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
fn vote_subscribe(&self, _meta: Self::Metadata, subscriber: Subscriber<RpcVote>)
[src]
fn vote_unsubscribe(
&self,
_meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
[src]
&self,
_meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
fn root_subscribe(&self, _meta: Self::Metadata, subscriber: Subscriber<Slot>)
[src]
fn root_unsubscribe(
&self,
_meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
[src]
&self,
_meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
fn eth_subscribe(
&self,
_meta: Self::Metadata,
subscriber: Subscriber<RPCBlock>,
topic: String,
_anydata: Option<Value>
)
[src]
&self,
_meta: Self::Metadata,
subscriber: Subscriber<RPCBlock>,
topic: String,
_anydata: Option<Value>
)
fn eth_unsubscribe(
&self,
_meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>
[src]
&self,
_meta: Option<Self::Metadata>,
id: SubscriptionId
) -> Result<bool>