pub enum SecurityGateError {
CryptoSetup(SecurityError),
Wrapper(SecurityRtpsError),
Crypto(SecurityError),
PolicyViolation(String),
}Expand description
Fehler-Klasse fuer das Gate.
Variants§
CryptoSetup(SecurityError)
Crypto-Plugin konnte keinen lokalen Handle registrieren.
Wrapper(SecurityRtpsError)
Encode/Decode des Secured-Wrappers fehlgeschlagen.
Crypto(SecurityError)
Crypto-Operation selbst fehlgeschlagen.
PolicyViolation(String)
Inbound erwartete SEC_PREFIX-Stream, bekam aber ein anderes
Submessage-Format (z.B. plaintext wo Governance SIGN verlangt).
Trait Implementations§
Source§impl Debug for SecurityGateError
impl Debug for SecurityGateError
Source§impl Display for SecurityGateError
impl Display for SecurityGateError
Source§impl Error for SecurityGateError
Available on crate feature std only.
impl Error for SecurityGateError
Available on crate feature
std only.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<SecurityRtpsError> for SecurityGateError
impl From<SecurityRtpsError> for SecurityGateError
Source§fn from(e: SecurityRtpsError) -> Self
fn from(e: SecurityRtpsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SecurityGateError
impl RefUnwindSafe for SecurityGateError
impl Send for SecurityGateError
impl Sync for SecurityGateError
impl Unpin for SecurityGateError
impl UnsafeUnpin for SecurityGateError
impl UnwindSafe for SecurityGateError
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