pub struct RpcClientUSubscription { /* private fields */ }Expand description
A USubscription client implementation for invoking operations of a local USubscription service.
The client requires an RpcClient for performing the remote procedure calls.
Implementations§
Trait Implementations§
Source§impl Debug for RpcClientUSubscription
impl Debug for RpcClientUSubscription
Source§impl USubscription for RpcClientUSubscription
impl USubscription for RpcClientUSubscription
Source§fn subscribe<'life0, 'life1, 'async_trait>(
&'life0 self,
topic: &'life1 UUri,
expiration: Option<u64>,
min_sample_period: Option<u32>,
) -> Pin<Box<dyn Future<Output = Result<SubscriptionStatus, UStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn subscribe<'life0, 'life1, 'async_trait>(
&'life0 self,
topic: &'life1 UUri,
expiration: Option<u64>,
min_sample_period: Option<u32>,
) -> Pin<Box<dyn Future<Output = Result<SubscriptionStatus, UStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Subscribes to a topic. Read more
Source§fn unsubscribe<'life0, 'life1, 'async_trait>(
&'life0 self,
topic: &'life1 UUri,
) -> Pin<Box<dyn Future<Output = Result<(), UStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn unsubscribe<'life0, 'life1, 'async_trait>(
&'life0 self,
topic: &'life1 UUri,
) -> Pin<Box<dyn Future<Output = Result<(), UStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Unsubscribes this client from a topic. Read more
Source§fn fetch_subscriptions_by_topic<'life0, 'life1, 'async_trait>(
&'life0 self,
topic: &'life1 UUri,
) -> Pin<Box<dyn Future<Output = Result<Vec<SubscriptionInfo>, UStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn fetch_subscriptions_by_topic<'life0, 'life1, 'async_trait>(
&'life0 self,
topic: &'life1 UUri,
) -> Pin<Box<dyn Future<Output = Result<Vec<SubscriptionInfo>, UStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Gets all (currently) active subscriptions for a given topic. Read more
Source§fn fetch_subscriptions_by_subscriber<'life0, 'life1, 'async_trait>(
&'life0 self,
subscriber: &'life1 UUri,
) -> Pin<Box<dyn Future<Output = Result<Vec<SubscriptionInfo>, UStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn fetch_subscriptions_by_subscriber<'life0, 'life1, 'async_trait>(
&'life0 self,
subscriber: &'life1 UUri,
) -> Pin<Box<dyn Future<Output = Result<Vec<SubscriptionInfo>, UStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Gets a uEntity’s (currently) active subscriptions. Read more
Source§fn register_for_notifications<'life0, 'life1, 'async_trait>(
&'life0 self,
topic: &'life1 UUri,
) -> Pin<Box<dyn Future<Output = Result<(), UStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn register_for_notifications<'life0, 'life1, 'async_trait>(
&'life0 self,
topic: &'life1 UUri,
) -> Pin<Box<dyn Future<Output = Result<(), UStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Registers this client for notifications about changes to the subscription status for a given topic. Read more
Source§fn unregister_for_notifications<'life0, 'life1, 'async_trait>(
&'life0 self,
topic: &'life1 UUri,
) -> Pin<Box<dyn Future<Output = Result<(), UStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn unregister_for_notifications<'life0, 'life1, 'async_trait>(
&'life0 self,
topic: &'life1 UUri,
) -> Pin<Box<dyn Future<Output = Result<(), UStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Unregisters this client from notifications about changes to the subscription status for a given topic. Read more
Source§fn fetch_subscribers<'life0, 'life1, 'async_trait>(
&'life0 self,
topic: &'life1 UUri,
) -> Pin<Box<dyn Future<Output = Result<Vec<UUri>, UStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn fetch_subscribers<'life0, 'life1, 'async_trait>(
&'life0 self,
topic: &'life1 UUri,
) -> Pin<Box<dyn Future<Output = Result<Vec<UUri>, UStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Fetches a list of subscribers that are currently subscribed to a given topic. Read more
Source§fn reset<'life0, 'async_trait>(
&'life0 self,
reason: ResetReason,
message: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<(), UStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn reset<'life0, 'async_trait>(
&'life0 self,
reason: ResetReason,
message: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<(), UStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Flushes all stored subscription information, including any persistently stored subscriptions. Read more
Auto Trait Implementations§
impl Freeze for RpcClientUSubscription
impl !RefUnwindSafe for RpcClientUSubscription
impl Send for RpcClientUSubscription
impl Sync for RpcClientUSubscription
impl Unpin for RpcClientUSubscription
impl !UnwindSafe for RpcClientUSubscription
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<TCore> UWithNativePrefixWire for TCore
impl<TCore> UWithNativePrefixWire for TCore
Source§fn into_native_prefix_wire_transport<W>(
self,
wire: W,
) -> UWireTransport<TCore, W, NativePrefixFrameMetadataCodec>where
W: UWire,
fn into_native_prefix_wire_transport<W>(
self,
wire: W,
) -> UWireTransport<TCore, W, NativePrefixFrameMetadataCodec>where
W: UWire,
Wraps this core with an external or custom selected wire using canonical metadata.
Source§fn into_protobuf_transport(
self,
) -> UWireTransport<TCore, ProtobufWire, NativePrefixFrameMetadataCodec>
fn into_protobuf_transport( self, ) -> UWireTransport<TCore, ProtobufWire, NativePrefixFrameMetadataCodec>
Wraps this core with the Protocol Buffers selected-wire profile.
Source§fn into_stable_container_transport(
self,
) -> UWireTransport<TCore, StableContainerWireFormat, NativePrefixFrameMetadataCodec>
fn into_stable_container_transport( self, ) -> UWireTransport<TCore, StableContainerWireFormat, NativePrefixFrameMetadataCodec>
Wraps this core with the stable-container selected-wire profile.