pub enum ClosedTargetRequest {
TwoWayNoPayload {
responder: ClosedTargetTwoWayNoPayloadResponder,
},
TwoWayStructPayload {
responder: ClosedTargetTwoWayStructPayloadResponder,
},
TwoWayTablePayload {
responder: ClosedTargetTwoWayTablePayloadResponder,
},
TwoWayUnionPayload {
responder: ClosedTargetTwoWayUnionPayloadResponder,
},
TwoWayStructPayloadErr {
responder: ClosedTargetTwoWayStructPayloadErrResponder,
},
TwoWayStructRequest {
some_field: i32,
responder: ClosedTargetTwoWayStructRequestResponder,
},
TwoWayTableRequest {
payload: TablePayload,
responder: ClosedTargetTwoWayTableRequestResponder,
},
TwoWayUnionRequest {
payload: UnionPayload,
responder: ClosedTargetTwoWayUnionRequestResponder,
},
OneWayNoRequest {
control_handle: ClosedTargetControlHandle,
},
OneWayStructRequest {
some_field: i32,
control_handle: ClosedTargetControlHandle,
},
OneWayTableRequest {
payload: TablePayload,
control_handle: ClosedTargetControlHandle,
},
OneWayUnionRequest {
payload: UnionPayload,
control_handle: ClosedTargetControlHandle,
},
}
Variants§
TwoWayNoPayload
Fields
§
responder: ClosedTargetTwoWayNoPayloadResponder
TwoWayStructPayload
Fields
§
responder: ClosedTargetTwoWayStructPayloadResponder
TwoWayTablePayload
Fields
§
responder: ClosedTargetTwoWayTablePayloadResponder
TwoWayUnionPayload
Fields
§
responder: ClosedTargetTwoWayUnionPayloadResponder
TwoWayStructPayloadErr
Fields
§
responder: ClosedTargetTwoWayStructPayloadErrResponder
TwoWayStructRequest
TwoWayTableRequest
TwoWayUnionRequest
OneWayNoRequest
Fields
§
control_handle: ClosedTargetControlHandle
OneWayStructRequest
OneWayTableRequest
OneWayUnionRequest
Implementations§
Source§impl ClosedTargetRequest
impl ClosedTargetRequest
pub fn into_two_way_no_payload( self, ) -> Option<ClosedTargetTwoWayNoPayloadResponder>
pub fn into_two_way_struct_payload( self, ) -> Option<ClosedTargetTwoWayStructPayloadResponder>
pub fn into_two_way_table_payload( self, ) -> Option<ClosedTargetTwoWayTablePayloadResponder>
pub fn into_two_way_union_payload( self, ) -> Option<ClosedTargetTwoWayUnionPayloadResponder>
pub fn into_two_way_struct_payload_err( self, ) -> Option<ClosedTargetTwoWayStructPayloadErrResponder>
pub fn into_two_way_struct_request( self, ) -> Option<(i32, ClosedTargetTwoWayStructRequestResponder)>
pub fn into_two_way_table_request( self, ) -> Option<(TablePayload, ClosedTargetTwoWayTableRequestResponder)>
pub fn into_two_way_union_request( self, ) -> Option<(UnionPayload, ClosedTargetTwoWayUnionRequestResponder)>
pub fn into_one_way_no_request(self) -> Option<ClosedTargetControlHandle>
pub fn into_one_way_struct_request( self, ) -> Option<(i32, ClosedTargetControlHandle)>
pub fn into_one_way_table_request( self, ) -> Option<(TablePayload, ClosedTargetControlHandle)>
pub fn into_one_way_union_request( self, ) -> Option<(UnionPayload, ClosedTargetControlHandle)>
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 ClosedTargetRequest
impl !RefUnwindSafe for ClosedTargetRequest
impl Send for ClosedTargetRequest
impl Sync for ClosedTargetRequest
impl Unpin for ClosedTargetRequest
impl !UnwindSafe for ClosedTargetRequest
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