#[non_exhaustive]pub enum GatewayBridgeError {
UnknownEdge {
edge_guid: [u8; 16],
},
DelegationFailed(DelegationError),
}Expand description
Fehler aus Gateway-Bridge-Operationen.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UnknownEdge
Edge ist nicht registriert.
DelegationFailed(DelegationError)
Sign-Operation fehlgeschlagen (delegiert aus PKI-Crate).
Trait Implementations§
Source§impl Clone for GatewayBridgeError
impl Clone for GatewayBridgeError
Source§fn clone(&self) -> GatewayBridgeError
fn clone(&self) -> GatewayBridgeError
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 moreSource§impl Debug for GatewayBridgeError
impl Debug for GatewayBridgeError
Source§impl Display for GatewayBridgeError
impl Display for GatewayBridgeError
Source§impl Error for GatewayBridgeError
Available on crate feature std only.
impl Error for GatewayBridgeError
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<DelegationError> for GatewayBridgeError
impl From<DelegationError> for GatewayBridgeError
Source§fn from(e: DelegationError) -> Self
fn from(e: DelegationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GatewayBridgeError
impl PartialEq for GatewayBridgeError
Source§fn eq(&self, other: &GatewayBridgeError) -> bool
fn eq(&self, other: &GatewayBridgeError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for GatewayBridgeError
impl StructuralPartialEq for GatewayBridgeError
Auto Trait Implementations§
impl Freeze for GatewayBridgeError
impl RefUnwindSafe for GatewayBridgeError
impl Send for GatewayBridgeError
impl Sync for GatewayBridgeError
impl Unpin for GatewayBridgeError
impl UnsafeUnpin for GatewayBridgeError
impl UnwindSafe for GatewayBridgeError
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