pub enum HostNameSubscriptionListenerRequest {
OnAddressesChanged {
addresses: Vec<HostAddress>,
responder: HostNameSubscriptionListenerOnAddressesChangedResponder,
},
}
Expand description
Client-implemented interface for subscribers. Method replies are used to throttle traffic. The service won’t necessarily wait for a reply before calling another method.
Variants§
OnAddressesChanged
Notifies the subscriber that the addresses associated with a host name have changed.
Fields
§
addresses: Vec<HostAddress>
Implementations§
Source§impl HostNameSubscriptionListenerRequest
impl HostNameSubscriptionListenerRequest
pub fn into_on_addresses_changed( self, ) -> Option<(Vec<HostAddress>, HostNameSubscriptionListenerOnAddressesChangedResponder)>
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 HostNameSubscriptionListenerRequest
impl !RefUnwindSafe for HostNameSubscriptionListenerRequest
impl Send for HostNameSubscriptionListenerRequest
impl Sync for HostNameSubscriptionListenerRequest
impl Unpin for HostNameSubscriptionListenerRequest
impl !UnwindSafe for HostNameSubscriptionListenerRequest
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