pub enum ContextCheckpointLegacyErrorV1 {
Show 16 variants
UnsupportedAdapterVersion {
actual: u32,
expected: u32,
},
UnsupportedSourceVersion {
actual: u32,
expected: u32,
},
UnsupportedTargetVersion {
target: ContextCheckpointLegacyTargetV1,
requested: u32,
supported: u32,
},
TargetInputsMismatch {
target: ContextCheckpointLegacyTargetV1,
inputs_target: ContextCheckpointLegacyTargetV1,
},
InvalidSource,
InvalidInputs {
field: ContextCheckpointLegacyFieldV1,
},
InputArityMismatch {
field: ContextCheckpointLegacyFieldV1,
expected: u32,
actual: u32,
},
LegacyCapacityExceeded {
field: ContextCheckpointLegacyFieldV1,
limit: u64,
actual: u64,
},
IdentityMismatch {
field: ContextCheckpointLegacyFieldV1,
},
MalformedSignature,
LossyReverseConversion {
field: ContextCheckpointLegacyFieldV1,
},
SemanticOverwrite {
field: ContextCheckpointLegacyFieldV1,
},
MissingLegacySource {
field: ContextCheckpointLegacyFieldV1,
},
DuplicateLegacyInput {
field: ContextCheckpointLegacyFieldV1,
},
InvalidLegacyPayload {
field: ContextCheckpointLegacyFieldV1,
},
LegacyOwnerRejected,
}Expand description
Typed, fail-closed adapter errors.
Variants§
UnsupportedAdapterVersion
The request declares an adapter contract this build does not implement.
UnsupportedSourceVersion
The source checkpoint declares an unknown or newer schema version.
UnsupportedTargetVersion
The requested target schema version is unknown or newer.
TargetInputsMismatch
The request target and the supplied input payload disagree.
InvalidSource
The source checkpoint failed its own invariants.
InvalidInputs
A caller-supplied input failed validation.
Fields
InputArityMismatch
A caller-supplied list does not match the source arity exactly.
LegacyCapacityExceeded
The source exceeds a deployed legacy capacity; truncation is refused.
IdentityMismatch
A legacy payload identity disagrees with the checkpoint identity.
Fields
MalformedSignature
Signature material is present but not verifiable.
LossyReverseConversion
Reverse conversion would silently drop legacy semantics.
Fields
SemanticOverwrite
Reverse conversion would replace anchor-authenticated semantics.
Fields
MissingLegacySource
A legacy field required by the checkpoint contract is absent.
Fields
DuplicateLegacyInput
A legacy list repeats a value the checkpoint requires to be unique.
Fields
InvalidLegacyPayload
A legacy payload is malformed for its declared version.
Fields
LegacyOwnerRejected
The deployed encoder or parser rejected the materialized payload.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ContextCheckpointLegacyErrorV1
impl<'de> Deserialize<'de> for ContextCheckpointLegacyErrorV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for ContextCheckpointLegacyErrorV1
impl StructuralPartialEq for ContextCheckpointLegacyErrorV1
Auto Trait Implementations§
impl Freeze for ContextCheckpointLegacyErrorV1
impl RefUnwindSafe for ContextCheckpointLegacyErrorV1
impl Send for ContextCheckpointLegacyErrorV1
impl Sync for ContextCheckpointLegacyErrorV1
impl Unpin for ContextCheckpointLegacyErrorV1
impl UnsafeUnpin for ContextCheckpointLegacyErrorV1
impl UnwindSafe for ContextCheckpointLegacyErrorV1
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
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> ⓘ
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> ⓘ
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