#[non_exhaustive]pub enum CorbaException {
SystemException {
minor: u32,
message: &'static str,
},
UserException {
repository_id: String,
payload: Vec<u8>,
},
}Expand description
CORBA-System-/User-Exception. Generierte Stubs/Skeletons mappen alle Fehlerpfade auf diese Variant.
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.
SystemException
CORBA-System-Exception (Spec §3.17.1). Minor-Code laut OMG.
Fields
UserException
User-Exception aus IDL exception E { ... };. Wir tragen den
Repository-ID + Payload-Bytes (Phase-1-MVP).
Trait Implementations§
Source§impl Clone for CorbaException
impl Clone for CorbaException
Source§fn clone(&self) -> CorbaException
fn clone(&self) -> CorbaException
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 CorbaException
impl Debug for CorbaException
Source§impl Display for CorbaException
impl Display for CorbaException
Source§impl Error for CorbaException
impl Error for CorbaException
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 CorbaException
impl PartialEq for CorbaException
Source§fn eq(&self, other: &CorbaException) -> bool
fn eq(&self, other: &CorbaException) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CorbaException
impl StructuralPartialEq for CorbaException
Auto Trait Implementations§
impl Freeze for CorbaException
impl RefUnwindSafe for CorbaException
impl Send for CorbaException
impl Sync for CorbaException
impl Unpin for CorbaException
impl UnsafeUnpin for CorbaException
impl UnwindSafe for CorbaException
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