Struct solana_client::pubsub_client::PubsubClient [−][src]
pub struct PubsubClient {}
Implementations
pub fn logs_subscribe(
url: &str,
filter: RpcTransactionLogsFilter,
config: RpcTransactionLogsConfig
) -> Result<LogsSubscription, PubsubClientError>
[src]pub fn signature_subscribe(
url: &str,
signature: &Signature,
config: Option<RpcSignatureSubscribeConfig>
) -> Result<SignatureSubscription, PubsubClientError>
[src]pub fn slot_updates_subscribe(
url: &str,
handler: impl Fn(SlotUpdate) + Send + 'static
) -> Result<PubsubClientSubscription<SlotUpdate>, PubsubClientError>
[src]Auto Trait Implementations
impl RefUnwindSafe for PubsubClient
impl Send for PubsubClient
impl Sync for PubsubClient
impl Unpin for PubsubClient
impl UnwindSafe for PubsubClient
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V