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
Lists endpoints by name.
Fields
§
responder: EndpointManagerListEndpointsResponder
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
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EndpointManagerRequest
impl !RefUnwindSafe for EndpointManagerRequest
impl Send for EndpointManagerRequest
impl Sync for EndpointManagerRequest
impl Unpin for EndpointManagerRequest
impl !UnwindSafe for EndpointManagerRequest
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