pub struct UserExceptionBase {
pub repository_id: String,
pub marshaled_exception: Vec<u8>,
}Expand description
CCM_AMI::UserExceptionBase (Spec §7.4.1, S. 9).
Spec-Zitat: “Language mapping of this native type should allow any user exception to be raised from this method. For instance, it is mapped to CORBA::UserException in C++ and to org.omg.CORBA. UserException in java.”
In ZeroDDS modellieren wir die native-Form als (Repository-ID,
marshaled-Bytes)-Paar. Das ist ausreichend, um eine User-Exception
von Server-Side serialisiert und im Client wieder rekonstruiert zu
erhalten — Sprach-Mapping (CORBA::UserException, java.lang.Throwable,
etc.) erfolgt beim Codegen.
Fields§
§repository_id: StringCORBA Repository-ID der originalen Exception
(z.B. IDL:Stock/InvalidStock:1.0).
marshaled_exception: Vec<u8>CDR-marshaled Member-State der Exception.
Implementations§
Trait Implementations§
Source§impl Clone for UserExceptionBase
impl Clone for UserExceptionBase
Source§fn clone(&self) -> UserExceptionBase
fn clone(&self) -> UserExceptionBase
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 UserExceptionBase
impl Debug for UserExceptionBase
Source§impl PartialEq for UserExceptionBase
impl PartialEq for UserExceptionBase
Source§fn eq(&self, other: &UserExceptionBase) -> bool
fn eq(&self, other: &UserExceptionBase) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for UserExceptionBase
impl StructuralPartialEq for UserExceptionBase
Auto Trait Implementations§
impl Freeze for UserExceptionBase
impl RefUnwindSafe for UserExceptionBase
impl Send for UserExceptionBase
impl Sync for UserExceptionBase
impl Unpin for UserExceptionBase
impl UnsafeUnpin for UserExceptionBase
impl UnwindSafe for UserExceptionBase
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