pub struct SubscriptionClient { /* private fields */ }
Expand description
A single SubscriptionClient
enables subscription multiplexing.
Implementations§
Trait Implementations§
source§impl ComponentsSubscriptionExt for SubscriptionClient
impl ComponentsSubscriptionExt for SubscriptionClient
source§fn component_added(&self) -> BoxedSubscription<ComponentAddedSubscription>
fn component_added(&self) -> BoxedSubscription<ComponentAddedSubscription>
Subscription for when a component has been added
source§fn component_removed(&self) -> BoxedSubscription<ComponentRemovedSubscription>
fn component_removed(&self) -> BoxedSubscription<ComponentRemovedSubscription>
Subscription for when a component has been removed
source§impl Debug for SubscriptionClient
impl Debug for SubscriptionClient
source§impl HealthSubscriptionExt for SubscriptionClient
impl HealthSubscriptionExt for SubscriptionClient
source§fn heartbeat_subscription(
&self,
interval: i64,
) -> BoxedSubscription<HeartbeatSubscription>
fn heartbeat_subscription( &self, interval: i64, ) -> BoxedSubscription<HeartbeatSubscription>
Executes a heartbeat subscription, on a millisecond interval
.
source§impl MetricsSubscriptionExt for SubscriptionClient
impl MetricsSubscriptionExt for SubscriptionClient
source§fn uptime_subscription(&self) -> BoxedSubscription<UptimeSubscription>
fn uptime_subscription(&self) -> BoxedSubscription<UptimeSubscription>
Executes an uptime metrics subscription.
source§fn component_allocated_bytes_subscription(
&self,
interval: i64,
) -> BoxedSubscription<ComponentAllocatedBytesSubscription>
fn component_allocated_bytes_subscription( &self, interval: i64, ) -> BoxedSubscription<ComponentAllocatedBytesSubscription>
Executes an all component allocated bytes subscription.
source§fn component_received_bytes_totals_subscription(
&self,
interval: i64,
) -> BoxedSubscription<ComponentReceivedBytesTotalsSubscription>
fn component_received_bytes_totals_subscription( &self, interval: i64, ) -> BoxedSubscription<ComponentReceivedBytesTotalsSubscription>
Executes an all component bytes received totals subscription.
source§fn component_received_bytes_throughputs_subscription(
&self,
interval: i64,
) -> BoxedSubscription<ComponentReceivedBytesThroughputsSubscription>
fn component_received_bytes_throughputs_subscription( &self, interval: i64, ) -> BoxedSubscription<ComponentReceivedBytesThroughputsSubscription>
Executes a component bytes received throughput subscription.
source§fn component_received_events_totals_subscription(
&self,
interval: i64,
) -> BoxedSubscription<ComponentReceivedEventsTotalsSubscription>
fn component_received_events_totals_subscription( &self, interval: i64, ) -> BoxedSubscription<ComponentReceivedEventsTotalsSubscription>
Executes an all component received events totals subscription.
source§fn component_received_events_throughputs_subscription(
&self,
interval: i64,
) -> BoxedSubscription<ComponentReceivedEventsThroughputsSubscription>
fn component_received_events_throughputs_subscription( &self, interval: i64, ) -> BoxedSubscription<ComponentReceivedEventsThroughputsSubscription>
Executes an all component received events throughputs subscription.
source§fn component_sent_bytes_totals_subscription(
&self,
interval: i64,
) -> BoxedSubscription<ComponentSentBytesTotalsSubscription>
fn component_sent_bytes_totals_subscription( &self, interval: i64, ) -> BoxedSubscription<ComponentSentBytesTotalsSubscription>
Executes an all component bytes sent totals subscription.
source§fn component_sent_bytes_throughputs_subscription(
&self,
interval: i64,
) -> BoxedSubscription<ComponentSentBytesThroughputsSubscription>
fn component_sent_bytes_throughputs_subscription( &self, interval: i64, ) -> BoxedSubscription<ComponentSentBytesThroughputsSubscription>
Executes a component bytes sent throughput subscription.
source§fn component_sent_events_totals_subscription(
&self,
interval: i64,
) -> BoxedSubscription<ComponentSentEventsTotalsSubscription>
fn component_sent_events_totals_subscription( &self, interval: i64, ) -> BoxedSubscription<ComponentSentEventsTotalsSubscription>
Executes a component sent events totals subscription.
source§fn component_sent_events_throughputs_subscription(
&self,
interval: i64,
) -> BoxedSubscription<ComponentSentEventsThroughputsSubscription>
fn component_sent_events_throughputs_subscription( &self, interval: i64, ) -> BoxedSubscription<ComponentSentEventsThroughputsSubscription>
Executes a component sent events throughputs subscription.
fn component_errors_totals_subscription( &self, interval: i64, ) -> BoxedSubscription<ComponentErrorsTotalsSubscription>
source§impl TapSubscriptionExt for SubscriptionClient
impl TapSubscriptionExt for SubscriptionClient
source§fn output_events_by_component_id_patterns_subscription(
&self,
outputs_patterns: Vec<String>,
inputs_patterns: Vec<String>,
encoding: TapEncodingFormat,
limit: i64,
interval: i64,
) -> BoxedSubscription<OutputEventsByComponentIdPatternsSubscription>
fn output_events_by_component_id_patterns_subscription( &self, outputs_patterns: Vec<String>, inputs_patterns: Vec<String>, encoding: TapEncodingFormat, limit: i64, interval: i64, ) -> BoxedSubscription<OutputEventsByComponentIdPatternsSubscription>
Executes an output events subscription.