pub enum PublicationResponder_Request {
OnPublication {
publication_cause: PublicationCause,
subtype: Option<String>,
source_addresses: Vec<IpAddress>,
responder: PublicationResponder_OnPublicationResponder,
},
}
Expand description
Client-supplied publication responder interface.
Variants§
OnPublication
Provides instance information for initial announcements and query
responses relating to the service instance specified in
ServiceInstancePublisher.PublishServiceInstance
. If the publication relates to a
subtype of the service, subtype
contains the subtype, otherwise
it is null. If publication
is null, no announcement or response is
transmitted. Strings in text
are transmitted in the TXT record.
Implementations§
Source§impl PublicationResponder_Request
impl PublicationResponder_Request
pub fn into_on_publication( self, ) -> Option<(PublicationCause, Option<String>, Vec<IpAddress>, PublicationResponder_OnPublicationResponder)>
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 PublicationResponder_Request
impl !RefUnwindSafe for PublicationResponder_Request
impl Send for PublicationResponder_Request
impl Sync for PublicationResponder_Request
impl Unpin for PublicationResponder_Request
impl !UnwindSafe for PublicationResponder_Request
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