pub enum HostOvernetRequest {
ConnectServiceConsumer {
svc: ServerEnd<ServiceConsumerMarker>,
control_handle: HostOvernetControlHandle,
},
ConnectServicePublisher {
svc: ServerEnd<ServicePublisherMarker>,
control_handle: HostOvernetControlHandle,
},
ConnectMeshController {
svc: ServerEnd<MeshControllerMarker>,
control_handle: HostOvernetControlHandle,
},
}
Expand description
Protocol spoken by the host implementation to access various sub-interfaces.
Variants§
Implementations§
source§impl HostOvernetRequest
impl HostOvernetRequest
pub fn into_connect_service_consumer( self ) -> Option<(ServerEnd<ServiceConsumerMarker>, HostOvernetControlHandle)>
pub fn into_connect_service_publisher( self ) -> Option<(ServerEnd<ServicePublisherMarker>, HostOvernetControlHandle)>
pub fn into_connect_mesh_controller( self ) -> Option<(ServerEnd<MeshControllerMarker>, HostOvernetControlHandle)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL