pub enum EndpointManagerRequest {
ListEndpoints {
responder: EndpointManagerListEndpointsResponder,
},
CreateEndpoint {
name: String,
config: EndpointConfig,
responder: EndpointManagerCreateEndpointResponder,
},
GetEndpoint {
name: String,
responder: EndpointManagerGetEndpointResponder,
},
}
Expand description
Manages virtual endpoints.
Variants§
ListEndpoints
Fields
§
responder: EndpointManagerListEndpointsResponder
Lists endpoints by name.
CreateEndpoint
Creates endpoint with given name and config.
GetEndpoint
Gets a handle to an endpoint.
Implementations§
source§impl EndpointManagerRequest
impl EndpointManagerRequest
pub fn into_list_endpoints( self ) -> Option<EndpointManagerListEndpointsResponder>
pub fn into_create_endpoint( self ) -> Option<(String, EndpointConfig, EndpointManagerCreateEndpointResponder)>
pub fn into_get_endpoint( self ) -> Option<(String, EndpointManagerGetEndpointResponder)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL