pub struct StrategyOption {
pub id: StrategyId,
pub estimated_time: Duration,
pub estimated_vram: u64,
}Expand description
A specific execution strategy offered by an Agent.
Fields§
§id: StrategyIdUnique identifier for the strategy.
estimated_time: DurationExpected cost in time.
estimated_vram: u64Expected cost in VRAM.
Trait Implementations§
Source§impl Clone for StrategyOption
impl Clone for StrategyOption
Source§fn clone(&self) -> StrategyOption
fn clone(&self) -> StrategyOption
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 moreAuto Trait Implementations§
impl Freeze for StrategyOption
impl RefUnwindSafe for StrategyOption
impl Send for StrategyOption
impl Sync for StrategyOption
impl Unpin for StrategyOption
impl UnwindSafe for StrategyOption
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