Struct solana_client::pubsub_client::PubsubClient [−][src]
pub struct PubsubClient {}
Implementations
impl PubsubClient
[src]
impl PubsubClient
[src]pub fn logs_subscribe(
url: &str,
filter: RpcTransactionLogsFilter,
config: RpcTransactionLogsConfig
) -> Result<LogsSubscription, PubsubClientError>
[src]
url: &str,
filter: RpcTransactionLogsFilter,
config: RpcTransactionLogsConfig
) -> Result<LogsSubscription, PubsubClientError>
pub fn slot_subscribe(url: &str) -> Result<SlotsSubscription, PubsubClientError>
[src]
pub fn signature_subscribe(
url: &str,
signature: &Signature,
config: Option<RpcSignatureSubscribeConfig>
) -> Result<SignatureSubscription, PubsubClientError>
[src]
url: &str,
signature: &Signature,
config: Option<RpcSignatureSubscribeConfig>
) -> Result<SignatureSubscription, PubsubClientError>
pub fn slot_updates_subscribe(
url: &str,
handler: impl Fn(SlotUpdate) + Send + 'static
) -> Result<PubsubClientSubscription<SlotUpdate>, PubsubClientError>
[src]
url: &str,
handler: impl Fn(SlotUpdate) + Send + 'static
) -> Result<PubsubClientSubscription<SlotUpdate>, PubsubClientError>
Auto Trait Implementations
impl RefUnwindSafe for PubsubClient
impl RefUnwindSafe for PubsubClient
impl Send for PubsubClient
impl Send for PubsubClient
impl Sync for PubsubClient
impl Sync for PubsubClient
impl Unpin for PubsubClient
impl Unpin for PubsubClient
impl UnwindSafe for PubsubClient
impl UnwindSafe for PubsubClient
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
pub default fn example() -> T
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,