pub enum SubscriberRequest {
SubscribeToService {
service: String,
subscriber: ClientEnd<ServiceSubscriberMarker>,
control_handle: SubscriberControlHandle,
},
}
Expand description
Discoverable protocol for finding service instances. Deprecated: use ServiceInstanceSubscriber.
Variants§
SubscribeToService
Subscribes to a service. The subscription lasts until subscriber
is
unbound.
Implementations§
Source§impl SubscriberRequest
impl SubscriberRequest
pub fn into_subscribe_to_service( self, ) -> Option<(String, ClientEnd<ServiceSubscriberMarker>, SubscriberControlHandle)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SubscriberRequest
impl !RefUnwindSafe for SubscriberRequest
impl Send for SubscriberRequest
impl Sync for SubscriberRequest
impl Unpin for SubscriberRequest
impl !UnwindSafe for SubscriberRequest
Blanket Implementations§
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