pub enum TestProtocolRequest {
StrictUnionHenceResponseMayBeStackAllocated {
responder: TestProtocolStrictUnionHenceResponseMayBeStackAllocatedResponder,
},
FlexibleUnionHenceResponseMustBeHeapAllocated {
responder: TestProtocolFlexibleUnionHenceResponseMustBeHeapAllocatedResponder,
},
}
Variants§
StrictUnionHenceResponseMayBeStackAllocated
Fields
FlexibleUnionHenceResponseMustBeHeapAllocated
Fields
Implementations§
source§impl TestProtocolRequest
impl TestProtocolRequest
pub fn into_strict_union_hence_response_may_be_stack_allocated( self ) -> Option<TestProtocolStrictUnionHenceResponseMayBeStackAllocatedResponder>
pub fn into_flexible_union_hence_response_must_be_heap_allocated( self ) -> Option<TestProtocolFlexibleUnionHenceResponseMustBeHeapAllocatedResponder>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL