pub struct Flux2SessionKey {
pub weights: PathBuf,
pub device: Device,
pub config_path: Option<PathBuf>,
pub lora_path: Option<PathBuf>,
pub lora_scale_bits: u32,
pub nvfp4: Option<bool>,
}Expand description
Cache key for deduplicating loaded runners.
Fields§
§weights: PathBuf§device: Device§config_path: Option<PathBuf>§lora_path: Option<PathBuf>§lora_scale_bits: u32§nvfp4: Option<bool>Trait Implementations§
Source§impl Clone for Flux2SessionKey
impl Clone for Flux2SessionKey
Source§fn clone(&self) -> Flux2SessionKey
fn clone(&self) -> Flux2SessionKey
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 Flux2SessionKey
impl Debug for Flux2SessionKey
Source§impl Hash for Flux2SessionKey
impl Hash for Flux2SessionKey
Source§impl PartialEq for Flux2SessionKey
impl PartialEq for Flux2SessionKey
Source§fn eq(&self, other: &Flux2SessionKey) -> bool
fn eq(&self, other: &Flux2SessionKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for Flux2SessionKey
impl StructuralPartialEq for Flux2SessionKey
Auto Trait Implementations§
impl Freeze for Flux2SessionKey
impl RefUnwindSafe for Flux2SessionKey
impl Send for Flux2SessionKey
impl Sync for Flux2SessionKey
impl Unpin for Flux2SessionKey
impl UnsafeUnpin for Flux2SessionKey
impl UnwindSafe for Flux2SessionKey
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
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> 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