pub enum EmbeddingPublicationOutcome {
Reused(EmbeddingGenerationPublication),
Published(EmbeddingGenerationPublication),
}Expand description
Result of an atomic generation publication.
Variants§
Reused(EmbeddingGenerationPublication)
The exact complete immutable generation was already present and verified.
Published(EmbeddingGenerationPublication)
A new complete generation became active.
Implementations§
Source§impl EmbeddingPublicationOutcome
impl EmbeddingPublicationOutcome
Sourcepub const fn publication(&self) -> &EmbeddingGenerationPublication
pub const fn publication(&self) -> &EmbeddingGenerationPublication
The verified active generation selected by this operation.
Trait Implementations§
Source§impl Clone for EmbeddingPublicationOutcome
impl Clone for EmbeddingPublicationOutcome
Source§fn clone(&self) -> EmbeddingPublicationOutcome
fn clone(&self) -> EmbeddingPublicationOutcome
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 moreSource§impl Debug for EmbeddingPublicationOutcome
impl Debug for EmbeddingPublicationOutcome
impl StructuralPartialEq for EmbeddingPublicationOutcome
Auto Trait Implementations§
impl Freeze for EmbeddingPublicationOutcome
impl RefUnwindSafe for EmbeddingPublicationOutcome
impl Send for EmbeddingPublicationOutcome
impl Sync for EmbeddingPublicationOutcome
impl Unpin for EmbeddingPublicationOutcome
impl UnsafeUnpin for EmbeddingPublicationOutcome
impl UnwindSafe for EmbeddingPublicationOutcome
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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