pub struct ProgramLimits {
pub work: usize,
pub results: usize,
pub nesting: usize,
pub stream_items: usize,
}Expand description
Program bounds retain the single-pipeline stream ceiling and add a request allowance for produced/copied native entries. Model tokens consume work.
Fields§
§work: usize§results: usize§nesting: usize§stream_items: usizeTrait Implementations§
Source§impl Clone for ProgramLimits
impl Clone for ProgramLimits
impl Copy for ProgramLimits
Source§impl Debug for ProgramLimits
impl Debug for ProgramLimits
Auto Trait Implementations§
impl Freeze for ProgramLimits
impl RefUnwindSafe for ProgramLimits
impl Send for ProgramLimits
impl Sync for ProgramLimits
impl Unpin for ProgramLimits
impl UnsafeUnpin for ProgramLimits
impl UnwindSafe for ProgramLimits
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