pub enum ComposedProtocolRequest {
OneWayComposed {
a: i32,
control_handle: ComposedProtocolControlHandle,
},
TwoWayComposed {
a: i32,
responder: ComposedProtocolTwoWayComposedResponder,
},
TwoWayComposedWithError {
a: i32,
responder: ComposedProtocolTwoWayComposedWithErrorResponder,
},
}
Variants§
Implementations§
source§impl ComposedProtocolRequest
impl ComposedProtocolRequest
pub fn into_one_way_composed( self ) -> Option<(i32, ComposedProtocolControlHandle)>
pub fn into_two_way_composed( self ) -> Option<(i32, ComposedProtocolTwoWayComposedResponder)>
pub fn into_two_way_composed_with_error( self ) -> Option<(i32, ComposedProtocolTwoWayComposedWithErrorResponder)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL