pub enum OpenTargetRequest {
StrictOneWay {
control_handle: OpenTargetControlHandle,
},
FlexibleOneWay {
control_handle: OpenTargetControlHandle,
},
StrictTwoWay {
responder: OpenTargetStrictTwoWayResponder,
},
StrictTwoWayFields {
responder: OpenTargetStrictTwoWayFieldsResponder,
},
StrictTwoWayErr {
responder: OpenTargetStrictTwoWayErrResponder,
},
StrictTwoWayFieldsErr {
responder: OpenTargetStrictTwoWayFieldsErrResponder,
},
FlexibleTwoWay {
responder: OpenTargetFlexibleTwoWayResponder,
},
FlexibleTwoWayFields {
responder: OpenTargetFlexibleTwoWayFieldsResponder,
},
FlexibleTwoWayErr {
responder: OpenTargetFlexibleTwoWayErrResponder,
},
FlexibleTwoWayFieldsErr {
responder: OpenTargetFlexibleTwoWayFieldsErrResponder,
},
_UnknownMethod {
ordinal: u64,
control_handle: OpenTargetControlHandle,
method_type: MethodType,
},
}
Variants§
StrictOneWay
Fields
§
control_handle: OpenTargetControlHandle
FlexibleOneWay
Fields
§
control_handle: OpenTargetControlHandle
StrictTwoWay
Fields
§
responder: OpenTargetStrictTwoWayResponder
StrictTwoWayFields
Fields
§
responder: OpenTargetStrictTwoWayFieldsResponder
StrictTwoWayErr
Fields
§
responder: OpenTargetStrictTwoWayErrResponder
StrictTwoWayFieldsErr
Fields
§
responder: OpenTargetStrictTwoWayFieldsErrResponder
FlexibleTwoWay
Fields
§
responder: OpenTargetFlexibleTwoWayResponder
FlexibleTwoWayFields
Fields
§
responder: OpenTargetFlexibleTwoWayFieldsResponder
FlexibleTwoWayErr
Fields
§
responder: OpenTargetFlexibleTwoWayErrResponder
FlexibleTwoWayFieldsErr
Fields
§
responder: OpenTargetFlexibleTwoWayFieldsErrResponder
_UnknownMethod
An interaction was received which does not match any known method.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
control_handle: OpenTargetControlHandle
§
method_type: MethodType
Implementations§
Source§impl OpenTargetRequest
impl OpenTargetRequest
pub fn into_strict_one_way(self) -> Option<OpenTargetControlHandle>
pub fn into_flexible_one_way(self) -> Option<OpenTargetControlHandle>
pub fn into_strict_two_way(self) -> Option<OpenTargetStrictTwoWayResponder>
pub fn into_strict_two_way_fields( self, ) -> Option<OpenTargetStrictTwoWayFieldsResponder>
pub fn into_strict_two_way_err( self, ) -> Option<OpenTargetStrictTwoWayErrResponder>
pub fn into_strict_two_way_fields_err( self, ) -> Option<OpenTargetStrictTwoWayFieldsErrResponder>
pub fn into_flexible_two_way(self) -> Option<OpenTargetFlexibleTwoWayResponder>
pub fn into_flexible_two_way_fields( self, ) -> Option<OpenTargetFlexibleTwoWayFieldsResponder>
pub fn into_flexible_two_way_err( self, ) -> Option<OpenTargetFlexibleTwoWayErrResponder>
pub fn into_flexible_two_way_fields_err( self, ) -> Option<OpenTargetFlexibleTwoWayFieldsErrResponder>
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 OpenTargetRequest
impl !RefUnwindSafe for OpenTargetRequest
impl Send for OpenTargetRequest
impl Sync for OpenTargetRequest
impl Unpin for OpenTargetRequest
impl !UnwindSafe for OpenTargetRequest
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