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