pub enum LocalRestoreSourcePolicyError {
Requirement(RestoreSafetyRequirementError),
ManifestMismatch,
Download(DownloadIntegrityPolicyError),
}Expand description
Typed original local source binding denial; all spending/obligations remain retained.
Variants§
Requirement(RestoreSafetyRequirementError)
Exact original plans or same-network/release/ID source admission failed.
ManifestMismatch
The exact local manifest digest differs from original source artifact retention.
Download(DownloadIntegrityPolicyError)
Full original source intent, selected coverage or durable evidence differs.
Trait Implementations§
Source§impl Error for LocalRestoreSourcePolicyError
impl Error for LocalRestoreSourcePolicyError
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 LocalRestoreSourcePolicyError
impl From<DownloadIntegrityPolicyError> for LocalRestoreSourcePolicyError
Source§fn from(source: DownloadIntegrityPolicyError) -> Self
fn from(source: DownloadIntegrityPolicyError) -> Self
Converts to this type from the input type.
Source§impl From<LocalRestoreSourcePolicyError> for LocalRestoreSourceError
impl From<LocalRestoreSourcePolicyError> for LocalRestoreSourceError
Source§fn from(source: LocalRestoreSourcePolicyError) -> Self
fn from(source: LocalRestoreSourcePolicyError) -> Self
Converts to this type from the input type.
Source§impl From<RestoreSafetyRequirementError> for LocalRestoreSourcePolicyError
impl From<RestoreSafetyRequirementError> for LocalRestoreSourcePolicyError
Source§fn from(source: RestoreSafetyRequirementError) -> Self
fn from(source: RestoreSafetyRequirementError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LocalRestoreSourcePolicyError
impl RefUnwindSafe for LocalRestoreSourcePolicyError
impl Send for LocalRestoreSourcePolicyError
impl Sync for LocalRestoreSourcePolicyError
impl Unpin for LocalRestoreSourcePolicyError
impl UnsafeUnpin for LocalRestoreSourcePolicyError
impl UnwindSafe for LocalRestoreSourcePolicyError
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