fidl_fuchsia_sysmemTrait BufferCollectionProxyInterface
Source pub trait BufferCollectionProxyInterface: 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 WaitForBuffersAllocatedResponseFut: Future<Output = Result<(i32, BufferCollectionInfo2), Error>> + Send;
type CheckBuffersAllocatedResponseFut: Future<Output = Result<i32, Error>> + Send;
type GetAuxBuffersResponseFut: Future<Output = Result<(i32, BufferCollectionInfo2), Error>> + Send;
Show 15 methods
// 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 set_constraints(
&self,
has_constraints: bool,
constraints: &BufferCollectionConstraints,
) -> Result<(), Error>;
fn wait_for_buffers_allocated(
&self,
) -> Self::WaitForBuffersAllocatedResponseFut;
fn check_buffers_allocated(&self) -> Self::CheckBuffersAllocatedResponseFut;
fn set_constraints_aux_buffers(
&self,
constraints: &BufferCollectionConstraintsAuxBuffers,
) -> Result<(), Error>;
fn get_aux_buffers(&self) -> Self::GetAuxBuffersResponseFut;
fn attach_token(
&self,
rights_attenuation_mask: u32,
token_request: ServerEnd<BufferCollectionTokenMarker>,
) -> Result<(), Error>;
fn attach_lifetime_tracking(
&self,
server_end: EventPair,
buffers_remaining: u32,
) -> Result<(), Error>;
}