oa::Event

Exact completion point for work submitted to an OA engine. Dropping an event never waits. The originating engine’s retirement service keeps submitted resources and their Vulkan device alive through completion.

StRust public API

Declaration

pub struct Event { /* private fields */ }
Public Rust declaration.

Public Methods

pub fn is_complete(&self) -> Result<bool>
pub fn wait(&self) -> Result<()>
pub fn try_device_duration(&self) -> Result<Option<Duration>>
pub fn device_duration(&self) -> Result<Duration>
fn clone(&self) -> Event
fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

Public Method Documentation

pub fn is_complete( &self ) -> Result<bool>
No public source comment is attached to this declaration.
pub fn wait(&self) -> Result<()>
No public source comment is attached to this declaration.
pub fn try_device_duration( &self ) -> Result<Option<Duration>>
No public source comment is attached to this declaration.
pub fn device_duration( &self ) -> Result<Duration>
No public source comment is attached to this declaration.
fn clone( &self ) -> Event
No public source comment is attached to this declaration.
fn fmt( &self, formatter: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.