pub enum ExampleRequest {
ExistingMethod {
control_handle: ExampleControlHandle,
},
NewMethod {
control_handle: ExampleControlHandle,
},
}
Variants§
ExistingMethod
Fields
§
control_handle: ExampleControlHandle
NewMethod
Fields
§
control_handle: ExampleControlHandle
Implementations§
source§impl ExampleRequest
impl ExampleRequest
pub fn into_existing_method(self) -> Option<ExampleControlHandle>
pub fn into_new_method(self) -> Option<ExampleControlHandle>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL