fidl_fuchsia_sysmem2

Trait NodeProxyInterface

Source
pub trait NodeProxyInterface: 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;

    // 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>;
}

Required Associated Types§

Required Methods§

Implementors§