pub enum DownloadIntegrityPolicyError {
IntentMismatch,
TargetSetMismatch,
NonDurableArtifact {
canister_id: String,
state: ArtifactStateRecord,
},
}Expand description
Typed structural mismatch, before any artifact IO or remote effect.
Variants§
IntentMismatch
The journal is not bound to the full original plan digest.
TargetSetMismatch
Journal targets are not exactly the original selected physical set.
NonDurableArtifact
An exact artifact lacks retained durable publication and its checksum.
Fields
§
state: ArtifactStateRecordActually retained local state.
Trait Implementations§
Source§impl Debug for DownloadIntegrityPolicyError
impl Debug for DownloadIntegrityPolicyError
impl Eq for DownloadIntegrityPolicyError
Source§impl Error for DownloadIntegrityPolicyError
impl Error for DownloadIntegrityPolicyError
1.30.0 · 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<DownloadIntegrityPolicyError> for DownloadIntegrityError
impl From<DownloadIntegrityPolicyError> for DownloadIntegrityError
Source§fn from(source: DownloadIntegrityPolicyError) -> Self
fn from(source: DownloadIntegrityPolicyError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for DownloadIntegrityPolicyError
Auto Trait Implementations§
impl Freeze for DownloadIntegrityPolicyError
impl RefUnwindSafe for DownloadIntegrityPolicyError
impl Send for DownloadIntegrityPolicyError
impl Sync for DownloadIntegrityPolicyError
impl Unpin for DownloadIntegrityPolicyError
impl UnsafeUnpin for DownloadIntegrityPolicyError
impl UnwindSafe for DownloadIntegrityPolicyError
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