Skip to main content

DynamicReleaseError

Enum DynamicReleaseError 

Source
pub enum DynamicReleaseError {
Show 16 variants InvalidSignature(String), AbiIncompatible { host_abi: u32, min_abi: u32, max_abi: u32, }, UnsupportedDeliveryMode { allowed: DeliveryChannelMode, incoming: DeliveryChannelMode, }, MissingCapability(String), BrokenDependencyClosure(String), HashMismatch { expected: String, actual: String, }, NonMonotonicRelease { current: u64, incoming: u64, }, BlobMissing(String), RouteNotFound(String), InterfaceMismatch { expected_interface: String, actual_interface: String, }, StateMigrationFailed(String), UnsafeSwapPoint(String), StateCatchUpConflict { base_revision: u64, live_revision: u64, }, ProtocolIncompatible(String), NetworkError(String), StorageError(String),
}
Expand description

Comprehensive typed error taxonomy for manifest verification, negotiation, state recovery, and activation.

Variants§

§

InvalidSignature(String)

Release manifest signature was absent, malformed, or did not verify under the trusted key.

§

AbiIncompatible

Release or artifact ABI range does not include the host ABI version.

Fields

§host_abi: u32

Running host ABI version.

§min_abi: u32

Minimum ABI required by the release or artifact.

§max_abi: u32

Maximum ABI supported by the release or artifact.

§

UnsupportedDeliveryMode

Release delivery mode is incompatible with the client channel policy.

Fields

§allowed: DeliveryChannelMode

Allowed client delivery mode.

§incoming: DeliveryChannelMode

Incoming release delivery mode.

§

MissingCapability(String)

Host lacks a capability required by the release or one of its artifacts.

§

BrokenDependencyClosure(String)

Transitive dependency graph or hash closure is broken.

§

HashMismatch

Downloaded or cached blob bytes failed SHA-256 verification.

Fields

§expected: String

Expected 64-char SHA-256 hex digest.

§actual: String

Actual computed SHA-256 hex digest.

§

NonMonotonicRelease

Incoming release sequence did not strictly advance over the active sequence.

Fields

§current: u64

Currently accepted release sequence.

§incoming: u64

Incoming release sequence.

§

BlobMissing(String)

Required content-addressed blob could not be found in cache or remote store.

§

RouteNotFound(String)

Requested route is not declared in the pinned release manifest.

§

InterfaceMismatch

Mounted component implementation does not satisfy the compile-time contract interface ID or version.

Fields

§expected_interface: String

Compile-time expected interface ID.

§actual_interface: String

Actual artifact interface ID.

§

StateMigrationFailed(String)

Pure background state migration failed or would lose active user draft state.

§

UnsafeSwapPoint(String)

Hot-swap was deferred because the UI is not at a safe interaction boundary.

§

StateCatchUpConflict

Delta catch-up from revision R to R+n failed because history wrapped or conflicted.

Fields

§base_revision: u64

Snapshot base revision R.

§live_revision: u64

Live store revision R+n.

§

ProtocolIncompatible(String)

Client/server protocol negotiation found no mutually compatible track or schema.

§

NetworkError(String)

Network or HTTP/SSE transport failure.

§

StorageError(String)

Serialization, deserialization, or local storage failure.

Trait Implementations§

Source§

impl Clone for DynamicReleaseError

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for DynamicReleaseError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for DynamicReleaseError

Human-readable diagnostic formatting for DynamicReleaseError.

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats self into a human-readable diagnostic message.

§Arguments
  • &mut Formatter<'_> - Destination text formatter.
§Returns
  • fmt::Result - Formatting outcome.
Source§

impl Eq for DynamicReleaseError

Source§

impl Error for DynamicReleaseError

Standard error trait marker for DynamicReleaseError.

1.30.0 · Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0:

use the Display impl or to_string()

1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Replaced by Error::source.
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl PartialEq for DynamicReleaseError

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for DynamicReleaseError

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.