pub enum KeyEstablishmentError {
Structure(&'static str),
Policy(PolicyViolation),
Provider(ProviderError),
}Expand description
Failures at the shared policy/provider boundary.
Variants§
Structure(&'static str)
Experimental XML grammar or consuming key width is invalid.
Policy(PolicyViolation)
Deployment permission or operation allowance was denied.
Provider(ProviderError)
Selected engine rejected the operation. No other engine is tried.
Trait Implementations§
Source§impl Debug for KeyEstablishmentError
impl Debug for KeyEstablishmentError
Source§impl Display for KeyEstablishmentError
impl Display for KeyEstablishmentError
Source§impl Error for KeyEstablishmentError
impl Error for KeyEstablishmentError
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<KeyEstablishmentError> for SigningError
impl From<KeyEstablishmentError> for SigningError
Source§fn from(source: KeyEstablishmentError) -> Self
fn from(source: KeyEstablishmentError) -> Self
Converts to this type from the input type.
Source§impl From<KeyEstablishmentError> for DsigError
impl From<KeyEstablishmentError> for DsigError
Source§fn from(source: KeyEstablishmentError) -> Self
fn from(source: KeyEstablishmentError) -> Self
Converts to this type from the input type.
Source§impl From<KeyEstablishmentError> for XmlEncError
impl From<KeyEstablishmentError> for XmlEncError
Source§fn from(source: KeyEstablishmentError) -> Self
fn from(source: KeyEstablishmentError) -> Self
Converts to this type from the input type.
Source§impl From<PolicyViolation> for KeyEstablishmentError
impl From<PolicyViolation> for KeyEstablishmentError
Source§fn from(source: PolicyViolation) -> Self
fn from(source: PolicyViolation) -> Self
Converts to this type from the input type.
Source§impl From<ProviderError> for KeyEstablishmentError
impl From<ProviderError> for KeyEstablishmentError
Source§fn from(source: ProviderError) -> Self
fn from(source: ProviderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeyEstablishmentError
impl RefUnwindSafe for KeyEstablishmentError
impl Send for KeyEstablishmentError
impl Sync for KeyEstablishmentError
impl Unpin for KeyEstablishmentError
impl UnsafeUnpin for KeyEstablishmentError
impl UnwindSafe for KeyEstablishmentError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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