pub struct GpuBackendCloseSnapshot {
pub closing: bool,
pub gpu_resource_quiescent: bool,
pub observation_quiescent: bool,
pub active_gpu_permits: usize,
pub active_observation_permits: usize,
pub cleanup_failed: bool,
pub cleanup_deadline_elapsed_count: u64,
pub cleanup_late_success_count: u64,
}Expand description
Two-scope close state. GPU quiescence can become true while observation permits still exist; at that point the device-owner lease has been released.
Fields§
§closing: boolWhether backend close has begun and new admission is closed.
gpu_resource_quiescent: boolWhether GPU resources and their generation ownership have been released.
observation_quiescent: boolWhether pending report production and observation delivery have completed.
active_gpu_permits: usizeGPU-resource users still retained at the sample.
active_observation_permits: usizeReport or observation users still retained at the sample.
cleanup_failed: boolWhether cleanup recorded a failure that prevents proven resource release.
cleanup_deadline_elapsed_count: u64Cleanup phases that reached a wait deadline before proving completion.
cleanup_late_success_count: u64Previously timed-out cleanup phases that subsequently completed.
Trait Implementations§
Source§impl Clone for GpuBackendCloseSnapshot
impl Clone for GpuBackendCloseSnapshot
impl Copy for GpuBackendCloseSnapshot
Source§impl Debug for GpuBackendCloseSnapshot
impl Debug for GpuBackendCloseSnapshot
impl Eq for GpuBackendCloseSnapshot
Source§impl PartialEq for GpuBackendCloseSnapshot
impl PartialEq for GpuBackendCloseSnapshot
Source§impl Serialize for GpuBackendCloseSnapshot
impl Serialize for GpuBackendCloseSnapshot
impl StructuralPartialEq for GpuBackendCloseSnapshot
Auto Trait Implementations§
impl Freeze for GpuBackendCloseSnapshot
impl RefUnwindSafe for GpuBackendCloseSnapshot
impl Send for GpuBackendCloseSnapshot
impl Sync for GpuBackendCloseSnapshot
impl Unpin for GpuBackendCloseSnapshot
impl UnsafeUnpin for GpuBackendCloseSnapshot
impl UnwindSafe for GpuBackendCloseSnapshot
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more