pub struct KmsRoundTripError {
pub phase: KmsRoundTripPhase,
pub class: KmsRoundTripErrorClass,
pub cleanup_failed: bool,
}Expand description
Sanitized failure that preserves exit-code classification and cleanup state.
Fields§
§phase: KmsRoundTripPhase§class: KmsRoundTripErrorClass§cleanup_failed: boolImplementations§
Source§impl KmsRoundTripError
impl KmsRoundTripError
Sourcepub fn into_core_error(self) -> Error
pub fn into_core_error(self) -> Error
Convert the safe failure into the shared CLI error taxonomy.
Trait Implementations§
Source§impl Clone for KmsRoundTripError
impl Clone for KmsRoundTripError
Source§fn clone(&self) -> KmsRoundTripError
fn clone(&self) -> KmsRoundTripError
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 KmsRoundTripError
Source§impl Debug for KmsRoundTripError
impl Debug for KmsRoundTripError
Source§impl Display for KmsRoundTripError
impl Display for KmsRoundTripError
impl Eq for KmsRoundTripError
Source§impl Error for KmsRoundTripError
impl Error for KmsRoundTripError
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 PartialEq for KmsRoundTripError
impl PartialEq for KmsRoundTripError
impl StructuralPartialEq for KmsRoundTripError
Auto Trait Implementations§
impl Freeze for KmsRoundTripError
impl RefUnwindSafe for KmsRoundTripError
impl Send for KmsRoundTripError
impl Sync for KmsRoundTripError
impl Unpin for KmsRoundTripError
impl UnsafeUnpin for KmsRoundTripError
impl UnwindSafe for KmsRoundTripError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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