pub enum UnknownInteractionsProtocolRequest {
StrictOneWay {
control_handle: UnknownInteractionsProtocolControlHandle,
},
FlexibleOneWay {
control_handle: UnknownInteractionsProtocolControlHandle,
},
StrictTwoWay {
responder: UnknownInteractionsProtocolStrictTwoWayResponder,
},
StrictTwoWayFields {
responder: UnknownInteractionsProtocolStrictTwoWayFieldsResponder,
},
StrictTwoWayErr {
responder: UnknownInteractionsProtocolStrictTwoWayErrResponder,
},
StrictTwoWayFieldsErr {
responder: UnknownInteractionsProtocolStrictTwoWayFieldsErrResponder,
},
FlexibleTwoWay {
responder: UnknownInteractionsProtocolFlexibleTwoWayResponder,
},
FlexibleTwoWayFields {
responder: UnknownInteractionsProtocolFlexibleTwoWayFieldsResponder,
},
FlexibleTwoWayErr {
responder: UnknownInteractionsProtocolFlexibleTwoWayErrResponder,
},
FlexibleTwoWayFieldsErr {
responder: UnknownInteractionsProtocolFlexibleTwoWayFieldsErrResponder,
},
_UnknownMethod {
ordinal: u64,
control_handle: UnknownInteractionsProtocolControlHandle,
method_type: MethodType,
},
}
Variants§
StrictOneWay
Fields
§
control_handle: UnknownInteractionsProtocolControlHandle
FlexibleOneWay
Fields
§
control_handle: UnknownInteractionsProtocolControlHandle
StrictTwoWay
Fields
StrictTwoWayFields
Fields
StrictTwoWayErr
Fields
StrictTwoWayFieldsErr
Fields
FlexibleTwoWay
Fields
FlexibleTwoWayFields
Fields
FlexibleTwoWayErr
Fields
FlexibleTwoWayFieldsErr
Fields
_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: UnknownInteractionsProtocolControlHandle
§
method_type: MethodType
Implementations§
Source§impl UnknownInteractionsProtocolRequest
impl UnknownInteractionsProtocolRequest
pub fn into_strict_one_way( self, ) -> Option<UnknownInteractionsProtocolControlHandle>
pub fn into_flexible_one_way( self, ) -> Option<UnknownInteractionsProtocolControlHandle>
pub fn into_strict_two_way( self, ) -> Option<UnknownInteractionsProtocolStrictTwoWayResponder>
pub fn into_strict_two_way_fields( self, ) -> Option<UnknownInteractionsProtocolStrictTwoWayFieldsResponder>
pub fn into_strict_two_way_err( self, ) -> Option<UnknownInteractionsProtocolStrictTwoWayErrResponder>
pub fn into_strict_two_way_fields_err( self, ) -> Option<UnknownInteractionsProtocolStrictTwoWayFieldsErrResponder>
pub fn into_flexible_two_way( self, ) -> Option<UnknownInteractionsProtocolFlexibleTwoWayResponder>
pub fn into_flexible_two_way_fields( self, ) -> Option<UnknownInteractionsProtocolFlexibleTwoWayFieldsResponder>
pub fn into_flexible_two_way_err( self, ) -> Option<UnknownInteractionsProtocolFlexibleTwoWayErrResponder>
pub fn into_flexible_two_way_fields_err( self, ) -> Option<UnknownInteractionsProtocolFlexibleTwoWayFieldsErrResponder>
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 UnknownInteractionsProtocolRequest
impl !RefUnwindSafe for UnknownInteractionsProtocolRequest
impl Send for UnknownInteractionsProtocolRequest
impl Sync for UnknownInteractionsProtocolRequest
impl Unpin for UnknownInteractionsProtocolRequest
impl !UnwindSafe for UnknownInteractionsProtocolRequest
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