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 Send for PubsubClient
impl Sync for PubsubClient
impl Unpin 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> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = 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>,