fidl_fuchsia_sysmem

Trait BufferCollectionTokenGroupProxyInterface

Source
pub trait BufferCollectionTokenGroupProxyInterface: Send + Sync {
    type SyncResponseFut: Future<Output = Result<(), Error>> + Send;
    type GetNodeRefResponseFut: Future<Output = Result<Event, Error>> + Send;
    type IsAlternateForResponseFut: Future<Output = Result<NodeIsAlternateForResult, Error>> + Send;
    type CreateChildrenSyncResponseFut: Future<Output = Result<Vec<ClientEnd<BufferCollectionTokenMarker>>, Error>> + Send;

    // Required methods
    fn sync(&self) -> Self::SyncResponseFut;
    fn close(&self) -> Result<(), Error>;
    fn set_name(&self, priority: u32, name: &str) -> Result<(), Error>;
    fn set_debug_client_info(&self, name: &str, id: u64) -> Result<(), Error>;
    fn set_debug_timeout_log_deadline(&self, deadline: i64) -> Result<(), Error>;
    fn set_verbose_logging(&self) -> Result<(), Error>;
    fn get_node_ref(&self) -> Self::GetNodeRefResponseFut;
    fn is_alternate_for(
        &self,
        node_ref: Event,
    ) -> Self::IsAlternateForResponseFut;
    fn create_child(
        &self,
        payload: BufferCollectionTokenGroupCreateChildRequest,
    ) -> Result<(), Error>;
    fn create_children_sync(
        &self,
        rights_attenuation_masks: &[Rights],
    ) -> Self::CreateChildrenSyncResponseFut;
    fn all_children_present(&self) -> Result<(), Error>;
}

Required Associated Types§

Required Methods§

Source

fn sync(&self) -> Self::SyncResponseFut

Source

fn close(&self) -> Result<(), Error>

Source

fn set_name(&self, priority: u32, name: &str) -> Result<(), Error>

Source

fn set_debug_client_info(&self, name: &str, id: u64) -> Result<(), Error>

Source

fn set_debug_timeout_log_deadline(&self, deadline: i64) -> Result<(), Error>

Source

fn set_verbose_logging(&self) -> Result<(), Error>

Source

fn get_node_ref(&self) -> Self::GetNodeRefResponseFut

Source

fn is_alternate_for(&self, node_ref: Event) -> Self::IsAlternateForResponseFut

Source

fn create_child( &self, payload: BufferCollectionTokenGroupCreateChildRequest, ) -> Result<(), Error>

Source

fn create_children_sync( &self, rights_attenuation_masks: &[Rights], ) -> Self::CreateChildrenSyncResponseFut

Source

fn all_children_present(&self) -> Result<(), Error>

Implementors§