#[non_exhaustive]pub enum RuntimeAdoptionError {
Open(RuntimeOpenError),
UnknownAuthority {
authority: String,
},
AuthorityMismatch {
stable_key: String,
committed_authority: String,
requested_authority: String,
},
DeclarationMetadataMismatch {
stable_key: String,
},
}Expand description
RuntimeAdoptionError
A consumer’s declared requirements do not match the existing committed runtime. Verification never bootstraps, grants authority, opens memory, replays admission, or changes the host’s policy or bucket configuration.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Open(RuntimeOpenError)
Runtime readiness, key resolution or fixed-ID verification failed.
UnknownAuthority
The supplied snapshot contains no fixed declarations or requests for this authority.
Fields
AuthorityMismatch
This key was committed under a different current declaration authority.
DeclarationMetadataMismatch
Declared diagnostic schema or fixed-declaration label differs from the commitment.
Trait Implementations§
Source§impl Clone for RuntimeAdoptionError
impl Clone for RuntimeAdoptionError
Source§impl Debug for RuntimeAdoptionError
impl Debug for RuntimeAdoptionError
Source§impl Display for RuntimeAdoptionError
impl Display for RuntimeAdoptionError
impl Eq for RuntimeAdoptionError
Source§impl Error for RuntimeAdoptionError
impl Error for RuntimeAdoptionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
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
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<RuntimeOpenError> for RuntimeAdoptionError
impl From<RuntimeOpenError> for RuntimeAdoptionError
Source§fn from(source: RuntimeOpenError) -> Self
fn from(source: RuntimeOpenError) -> Self
Converts to this type from the input type.
Source§impl From<RuntimeStateError> for RuntimeAdoptionError
impl From<RuntimeStateError> for RuntimeAdoptionError
Source§fn from(error: RuntimeStateError) -> Self
fn from(error: RuntimeStateError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RuntimeAdoptionError
impl PartialEq for RuntimeAdoptionError
impl StructuralPartialEq for RuntimeAdoptionError
Auto Trait Implementations§
impl Freeze for RuntimeAdoptionError
impl RefUnwindSafe for RuntimeAdoptionError
impl Send for RuntimeAdoptionError
impl Sync for RuntimeAdoptionError
impl Unpin for RuntimeAdoptionError
impl UnsafeUnpin for RuntimeAdoptionError
impl UnwindSafe for RuntimeAdoptionError
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