pub enum EventStatus {
Ready,
NotReady,
}Expand description
Status enum that represents the current status of an event.
Variants§
Ready
Ready indicates that all work captured by the event has been completed.
The CUDA documentation states that for Unified Memory, EventStatus::Ready is
equivalent to having called Event::synchronize.
NotReady
EventStatus::NotReady indicates that the work captured by the event is still
incomplete.
Trait Implementations§
Source§impl Clone for EventStatus
impl Clone for EventStatus
Source§fn clone(&self) -> EventStatus
fn clone(&self) -> EventStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EventStatus
impl Debug for EventStatus
Source§impl PartialEq for EventStatus
impl PartialEq for EventStatus
impl Copy for EventStatus
impl StructuralPartialEq for EventStatus
Auto Trait Implementations§
impl Freeze for EventStatus
impl RefUnwindSafe for EventStatus
impl Send for EventStatus
impl Sync for EventStatus
impl Unpin for EventStatus
impl UnwindSafe for EventStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more