pub struct NullEngine {
pub eos: Token,
pub vocab: usize,
}Expand description
A trivial engine that emits EOS immediately after prefill. Lets you exercise the full session lifecycle without the Candle adapter (ADR-002 is the real engine). Not for production inference.
Fields§
§eos: Token§vocab: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NullEngine
impl RefUnwindSafe for NullEngine
impl Send for NullEngine
impl Sync for NullEngine
impl Unpin for NullEngine
impl UnsafeUnpin for NullEngine
impl UnwindSafe for NullEngine
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