pub enum SealedSecretAccessError {
Guard(GuardPageError),
Canary(CanaryCorruptedError),
AccessInProgress,
Retired,
Poisoned,
}Expand description
Error returned by scoped page-sealed secret access.
Variants§
Guard(GuardPageError)
A platform page-protection transition failed.
Canary(CanaryCorruptedError)
Integrity canaries were corrupted while the page was inaccessible.
AccessInProgress
Access was attempted while another access window was active.
Retired
A prior protection-transition failure retired and released the mapping.
Poisoned
A protection transition failed and the mapping could not be released.
The mapping’s page protections are uncertain. No later operation will dereference it. Cleanup retries mapping release and retains an established memory lock until the payload is confirmed erased.
Trait Implementations§
Source§impl Clone for SealedSecretAccessError
impl Clone for SealedSecretAccessError
Source§fn clone(&self) -> SealedSecretAccessError
fn clone(&self) -> SealedSecretAccessError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SealedSecretAccessError
Source§impl Debug for SealedSecretAccessError
impl Debug for SealedSecretAccessError
Source§impl Display for SealedSecretAccessError
Available on crate feature page-seal only.
impl Display for SealedSecretAccessError
Available on crate feature
page-seal only.impl Eq for SealedSecretAccessError
Source§impl Error for SealedSecretAccessError
Available on crate features page-seal and std only.
impl Error for SealedSecretAccessError
Available on crate features
page-seal and std only.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<CanaryCorruptedError> for SealedSecretAccessError
Available on crate feature page-seal only.
impl From<CanaryCorruptedError> for SealedSecretAccessError
Available on crate feature
page-seal only.Source§fn from(error: CanaryCorruptedError) -> Self
fn from(error: CanaryCorruptedError) -> Self
Converts to this type from the input type.
Source§impl From<GuardPageError> for SealedSecretAccessError
Available on crate feature page-seal only.
impl From<GuardPageError> for SealedSecretAccessError
Available on crate feature
page-seal only.Source§fn from(error: GuardPageError) -> Self
fn from(error: GuardPageError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SealedSecretAccessError
impl PartialEq for SealedSecretAccessError
impl StructuralPartialEq for SealedSecretAccessError
Auto Trait Implementations§
impl Freeze for SealedSecretAccessError
impl RefUnwindSafe for SealedSecretAccessError
impl Send for SealedSecretAccessError
impl Sync for SealedSecretAccessError
impl Unpin for SealedSecretAccessError
impl UnsafeUnpin for SealedSecretAccessError
impl UnwindSafe for SealedSecretAccessError
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