Struct solana_rpc::rpc_pubsub::gen_client::Client [−][src]
pub struct Client { /* fields omitted */ }
Expand description
The Client.
Implementations
pub fn account_subscribe(
&self,
pubkey_str: String,
config: Option<RpcAccountInfoConfig>
) -> RpcResult<TypedSubscriptionStream<RpcResponse<UiAccount>>>
pub fn program_subscribe(
&self,
pubkey_str: String,
config: Option<RpcProgramAccountsConfig>
) -> RpcResult<TypedSubscriptionStream<RpcResponse<RpcKeyedAccount>>>
pub fn logs_subscribe(
&self,
filter: RpcTransactionLogsFilter,
config: Option<RpcTransactionLogsConfig>
) -> RpcResult<TypedSubscriptionStream<RpcResponse<RpcLogsResponse>>>
pub fn signature_subscribe(
&self,
signature_str: String,
config: Option<RpcSignatureSubscribeConfig>
) -> RpcResult<TypedSubscriptionStream<RpcResponse<RpcSignatureResult>>>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client
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