pub enum ProfileResolutionSource {
AutoRanked,
Pinned,
PinnedUnselectable,
ForcedHash,
}Expand description
How a resolved profile was chosen.
Variants§
AutoRanked
Auto preference; ranked against the live probe.
Pinned
Pinned preference and the profile is selectable on this probe.
PinnedUnselectable
Pinned preference but the profile is not selectable (unknown id or
VRAM does not fit). Falls back to the hash profile so the call can
still proceed deterministically.
ForcedHash
ForceHash preference; hash fallback selected regardless of probe.
Trait Implementations§
Source§impl Clone for ProfileResolutionSource
impl Clone for ProfileResolutionSource
Source§fn clone(&self) -> ProfileResolutionSource
fn clone(&self) -> ProfileResolutionSource
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 ProfileResolutionSource
impl Debug for ProfileResolutionSource
impl Eq for ProfileResolutionSource
Source§impl PartialEq for ProfileResolutionSource
impl PartialEq for ProfileResolutionSource
Source§impl Serialize for ProfileResolutionSource
impl Serialize for ProfileResolutionSource
impl StructuralPartialEq for ProfileResolutionSource
Auto Trait Implementations§
impl Freeze for ProfileResolutionSource
impl RefUnwindSafe for ProfileResolutionSource
impl Send for ProfileResolutionSource
impl Sync for ProfileResolutionSource
impl Unpin for ProfileResolutionSource
impl UnsafeUnpin for ProfileResolutionSource
impl UnwindSafe for ProfileResolutionSource
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