fidl_fuchsia_sysmemTrait AllocatorProxyInterface
Source pub trait AllocatorProxyInterface: Send + Sync {
type ValidateBufferCollectionTokenResponseFut: Future<Output = Result<bool, Error>> + Send;
// Required methods
fn allocate_non_shared_collection(
&self,
collection_request: ServerEnd<BufferCollectionMarker>,
) -> Result<(), Error>;
fn allocate_shared_collection(
&self,
token_request: ServerEnd<BufferCollectionTokenMarker>,
) -> Result<(), Error>;
fn bind_shared_collection(
&self,
token: ClientEnd<BufferCollectionTokenMarker>,
buffer_collection_request: ServerEnd<BufferCollectionMarker>,
) -> Result<(), Error>;
fn validate_buffer_collection_token(
&self,
token_server_koid: u64,
) -> Self::ValidateBufferCollectionTokenResponseFut;
fn set_debug_client_info(&self, name: &str, id: u64) -> Result<(), Error>;
fn connect_to_sysmem2_allocator(
&self,
allocator_request: ServerEnd<AllocatorMarker>,
) -> Result<(), Error>;
}