fidl_fuchsia_sysmem2

Trait BufferCollectionProxyInterface

Source
pub trait BufferCollectionProxyInterface: Send + Sync {
    type SyncResponseFut: Future<Output = Result<(), Error>> + Send;
    type GetNodeRefResponseFut: Future<Output = Result<NodeGetNodeRefResponse, Error>> + Send;
    type IsAlternateForResponseFut: Future<Output = Result<NodeIsAlternateForResult, Error>> + Send;
    type GetBufferCollectionIdResponseFut: Future<Output = Result<NodeGetBufferCollectionIdResponse, Error>> + Send;
    type WaitForAllBuffersAllocatedResponseFut: Future<Output = Result<BufferCollectionWaitForAllBuffersAllocatedResult, Error>> + Send;
    type CheckAllBuffersAllocatedResponseFut: Future<Output = Result<BufferCollectionCheckAllBuffersAllocatedResult, Error>> + Send;

Show 17 methods // Required methods fn sync(&self) -> Self::SyncResponseFut; fn release(&self) -> Result<(), Error>; fn set_name(&self, payload: &NodeSetNameRequest) -> Result<(), Error>; fn set_debug_client_info( &self, payload: &NodeSetDebugClientInfoRequest, ) -> Result<(), Error>; fn set_debug_timeout_log_deadline( &self, payload: &NodeSetDebugTimeoutLogDeadlineRequest, ) -> Result<(), Error>; fn set_verbose_logging(&self) -> Result<(), Error>; fn get_node_ref(&self) -> Self::GetNodeRefResponseFut; fn is_alternate_for( &self, payload: NodeIsAlternateForRequest, ) -> Self::IsAlternateForResponseFut; fn get_buffer_collection_id(&self) -> Self::GetBufferCollectionIdResponseFut; fn set_weak(&self) -> Result<(), Error>; fn set_weak_ok(&self, payload: NodeSetWeakOkRequest) -> Result<(), Error>; fn attach_node_tracking( &self, payload: NodeAttachNodeTrackingRequest, ) -> Result<(), Error>; fn set_constraints( &self, payload: BufferCollectionSetConstraintsRequest, ) -> Result<(), Error>; fn wait_for_all_buffers_allocated( &self, ) -> Self::WaitForAllBuffersAllocatedResponseFut; fn check_all_buffers_allocated( &self, ) -> Self::CheckAllBuffersAllocatedResponseFut; fn attach_token( &self, payload: BufferCollectionAttachTokenRequest, ) -> Result<(), Error>; fn attach_lifetime_tracking( &self, payload: BufferCollectionAttachLifetimeTrackingRequest, ) -> Result<(), Error>;
}

Required Associated Types§

Required Methods§

Implementors§