pub enum ClosedTargetRequest {
Show 13 variants
OneWayNoPayload {
control_handle: ClosedTargetControlHandle,
},
TwoWayNoPayload {
responder: ClosedTargetTwoWayNoPayloadResponder,
},
TwoWayStructPayload {
v: i8,
responder: ClosedTargetTwoWayStructPayloadResponder,
},
TwoWayTablePayload {
payload: ClosedTargetTwoWayTablePayloadRequest,
responder: ClosedTargetTwoWayTablePayloadResponder,
},
TwoWayUnionPayload {
payload: ClosedTargetTwoWayUnionPayloadRequest,
responder: ClosedTargetTwoWayUnionPayloadResponder,
},
TwoWayResult {
payload: ClosedTargetTwoWayResultRequest,
responder: ClosedTargetTwoWayResultResponder,
},
GetHandleRights {
handle: Handle,
responder: ClosedTargetGetHandleRightsResponder,
},
GetSignalableEventRights {
handle: Event,
responder: ClosedTargetGetSignalableEventRightsResponder,
},
EchoAsTransferableSignalableEvent {
handle: Handle,
responder: ClosedTargetEchoAsTransferableSignalableEventResponder,
},
ByteVectorSize {
vec: Vec<u8>,
responder: ClosedTargetByteVectorSizeResponder,
},
HandleVectorSize {
vec: Vec<Event>,
responder: ClosedTargetHandleVectorSizeResponder,
},
CreateNByteVector {
n: u32,
responder: ClosedTargetCreateNByteVectorResponder,
},
CreateNHandleVector {
n: u32,
responder: ClosedTargetCreateNHandleVectorResponder,
},
}
Variants§
OneWayNoPayload
Fields
§
control_handle: ClosedTargetControlHandle
TwoWayNoPayload
Fields
§
responder: ClosedTargetTwoWayNoPayloadResponder
TwoWayStructPayload
TwoWayTablePayload
Fields
§
responder: ClosedTargetTwoWayTablePayloadResponder
TwoWayUnionPayload
Fields
§
responder: ClosedTargetTwoWayUnionPayloadResponder
TwoWayResult
GetHandleRights
GetSignalableEventRights
EchoAsTransferableSignalableEvent
ByteVectorSize
HandleVectorSize
CreateNByteVector
CreateNHandleVector
Implementations§
Source§impl ClosedTargetRequest
impl ClosedTargetRequest
pub fn into_one_way_no_payload(self) -> Option<ClosedTargetControlHandle>
pub fn into_two_way_no_payload( self, ) -> Option<ClosedTargetTwoWayNoPayloadResponder>
pub fn into_two_way_struct_payload( self, ) -> Option<(i8, ClosedTargetTwoWayStructPayloadResponder)>
pub fn into_two_way_table_payload( self, ) -> Option<(ClosedTargetTwoWayTablePayloadRequest, ClosedTargetTwoWayTablePayloadResponder)>
pub fn into_two_way_union_payload( self, ) -> Option<(ClosedTargetTwoWayUnionPayloadRequest, ClosedTargetTwoWayUnionPayloadResponder)>
pub fn into_two_way_result( self, ) -> Option<(ClosedTargetTwoWayResultRequest, ClosedTargetTwoWayResultResponder)>
pub fn into_get_handle_rights( self, ) -> Option<(Handle, ClosedTargetGetHandleRightsResponder)>
pub fn into_get_signalable_event_rights( self, ) -> Option<(Event, ClosedTargetGetSignalableEventRightsResponder)>
pub fn into_echo_as_transferable_signalable_event( self, ) -> Option<(Handle, ClosedTargetEchoAsTransferableSignalableEventResponder)>
pub fn into_byte_vector_size( self, ) -> Option<(Vec<u8>, ClosedTargetByteVectorSizeResponder)>
pub fn into_handle_vector_size( self, ) -> Option<(Vec<Event>, ClosedTargetHandleVectorSizeResponder)>
pub fn into_create_n_byte_vector( self, ) -> Option<(u32, ClosedTargetCreateNByteVectorResponder)>
pub fn into_create_n_handle_vector( self, ) -> Option<(u32, ClosedTargetCreateNHandleVectorResponder)>
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