pub struct EmbeddingIdGenerators { /* private fields */ }Expand description
The embeddings engine shares the gateway execution-record substrate; its id generators and execution outcome are the shared types under route-local names (OVERLAP9.04). Per-kind id generators for a single gateway run.
All three engines seed the request/run/event generators identically
(gwreq/gwrun/gwevt from the same start), so one struct serves them
all. The extra response generator (resp) is only advanced by the
/v1/responses engine, which mints a public response id; the other engines
simply never touch it.
Implementations§
Source§impl GatewayRunIdGenerators
impl GatewayRunIdGenerators
Sourcepub fn deterministic(start: u64) -> Self
pub fn deterministic(start: u64) -> Self
Builds id generators seeded deterministically from start, so a given
seed always yields the same id sequence.
Trait Implementations§
Source§impl Clone for GatewayRunIdGenerators
impl Clone for GatewayRunIdGenerators
Source§fn clone(&self) -> GatewayRunIdGenerators
fn clone(&self) -> GatewayRunIdGenerators
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 moreAuto Trait Implementations§
impl Freeze for GatewayRunIdGenerators
impl RefUnwindSafe for GatewayRunIdGenerators
impl Send for GatewayRunIdGenerators
impl Sync for GatewayRunIdGenerators
impl Unpin for GatewayRunIdGenerators
impl UnsafeUnpin for GatewayRunIdGenerators
impl UnwindSafe for GatewayRunIdGenerators
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