pub struct GenerateJob {Show 16 fields
pub session: u64,
pub stream: Vec<u32>,
pub input_end: u64,
pub params: GenParams,
pub max_tokens: u32,
pub events: Sender<LaneEvent>,
pub class: u8,
pub batch_invariant: bool,
pub carry: Option<LaneCarry>,
pub queued_at: u64,
pub completion: bool,
pub deadline: Option<Instant>,
pub media: Vec<(u64, PathBuf, u32)>,
pub grammar_handle: u32,
pub extras: GenExtras,
pub trace: Span,
}Fields§
§session: u64§stream: Vec<u32>§input_end: u64Where the conversation’s input ends in stream, before the
generation prompt the daemon appended to it (0: none appended).
params: GenParams§max_tokens: u32§events: Sender<LaneEvent>§class: u8§batch_invariant: bool§carry: Option<LaneCarry>§queued_at: u64§completion: bool§deadline: Option<Instant>§media: Vec<(u64, PathBuf, u32)>§grammar_handle: u32§extras: GenExtras§trace: SpanAuto Trait Implementations§
impl !RefUnwindSafe for GenerateJob
impl !Sync for GenerateJob
impl !UnwindSafe for GenerateJob
impl Freeze for GenerateJob
impl Send for GenerateJob
impl Unpin for GenerateJob
impl UnsafeUnpin for GenerateJob
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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