pub enum ProxyHostPublisherRequest {
PublishProxyHost {
host: String,
addresses: Vec<IpAddress>,
options: ProxyHostPublicationOptions,
service_instance_publisher: ServerEnd<ServiceInstancePublisherMarker>,
responder: ProxyHostPublisherPublishProxyHostResponder,
},
}
Expand description
Discoverable protocol for publishing on behalf of another host.
Variants§
PublishProxyHost
Publishes a host name on behalf of a remote host and provides a ServiceInstancePublisher
for publishing service instances on behalf of that host.
- request
host
host name to publish. - request
addresses
addresses to publish for the host name. - request
options
options to be applied to the publication. - request
service_instance_publisher
server end of theServiceInstancePublisher
for the proxied host.
This method causes the service to publish the host name at the specified addresses. The
actual host must not be present on any relevant links or there will be a conflict. If
the perform_probe
option is true or not supplied (true by default), a probe will occur
to verify that the host name isn’t otherwise published.
The proxy host created by this method persists until the ServiceInstancePublisher
channel is closed.
Fields
§
options: ProxyHostPublicationOptions
§
service_instance_publisher: ServerEnd<ServiceInstancePublisherMarker>
§
responder: ProxyHostPublisherPublishProxyHostResponder
Implementations§
Source§impl ProxyHostPublisherRequest
impl ProxyHostPublisherRequest
pub fn into_publish_proxy_host( self, ) -> Option<(String, Vec<IpAddress>, ProxyHostPublicationOptions, ServerEnd<ServiceInstancePublisherMarker>, ProxyHostPublisherPublishProxyHostResponder)>
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 ProxyHostPublisherRequest
impl !RefUnwindSafe for ProxyHostPublisherRequest
impl Send for ProxyHostPublisherRequest
impl Sync for ProxyHostPublisherRequest
impl Unpin for ProxyHostPublisherRequest
impl !UnwindSafe for ProxyHostPublisherRequest
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