pub enum SwapStatus {
Swapped,
SwappedToHash,
UnloadProvenTargetUnselectable,
UnloadNotProven,
NoOpSameProfile,
}Variants§
Swapped
Source unload cleanup proven and target profile fits the post-unload probe.
SwappedToHash
Target was the CPU/hash profile; swap is always permitted once the source unload is proven.
UnloadProvenTargetUnselectable
Source unload cleanup proven but the target profile does not fit the post-unload probe. Caller should fall back to a smaller profile or hash.
UnloadNotProven
Source unload cleanup NOT proven — caller MUST NOT load the target because VRAM has not been returned to baseline.
NoOpSameProfile
Source and target are the same profile id; no-op.
Trait Implementations§
Source§impl Clone for SwapStatus
impl Clone for SwapStatus
Source§fn clone(&self) -> SwapStatus
fn clone(&self) -> SwapStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SwapStatus
impl Debug for SwapStatus
impl Eq for SwapStatus
Source§impl PartialEq for SwapStatus
impl PartialEq for SwapStatus
Source§impl Serialize for SwapStatus
impl Serialize for SwapStatus
impl StructuralPartialEq for SwapStatus
Auto Trait Implementations§
impl Freeze for SwapStatus
impl RefUnwindSafe for SwapStatus
impl Send for SwapStatus
impl Sync for SwapStatus
impl Unpin for SwapStatus
impl UnsafeUnpin for SwapStatus
impl UnwindSafe for SwapStatus
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