pub struct SystemException {
pub repository_id: String,
pub minor: u32,
pub completed: CompletionStatus,
}Expand description
A CORBA system exception: one of the standard exceptions (or another ORB’s own), with its minor code and completion status.
Fields§
§repository_id: StringThe repository id, such as IDL:omg.org/CORBA/TRANSIENT:1.0.
minor: u32The minor code.
completed: CompletionStatusWhether the operation completed.
Implementations§
Source§impl SystemException
impl SystemException
Sourcepub fn new(
kind: SystemExceptionKind,
minor: u32,
completed: CompletionStatus,
) -> Self
pub fn new( kind: SystemExceptionKind, minor: u32, completed: CompletionStatus, ) -> Self
Creates a standard system exception.
Sourcepub fn kind(&self) -> Option<SystemExceptionKind>
pub fn kind(&self) -> Option<SystemExceptionKind>
The standard exception this is, if it is one.
Sourcepub fn is(&self, kind: SystemExceptionKind) -> bool
pub fn is(&self, kind: SystemExceptionKind) -> bool
Whether this is the standard exception kind.
Trait Implementations§
Source§impl Clone for SystemException
impl Clone for SystemException
Source§impl Debug for SystemException
impl Debug for SystemException
Source§impl Display for SystemException
impl Display for SystemException
impl Eq for SystemException
Source§impl Error for SystemException
impl Error for SystemException
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<&SystemException> for SystemExceptionBody
impl From<&SystemException> for SystemExceptionBody
Source§fn from(e: &SystemException) -> Self
fn from(e: &SystemException) -> Self
Converts to this type from the input type.
Source§impl From<Error> for SystemException
Errors while marshalling arguments are MARSHAL, not completed.
impl From<Error> for SystemException
Errors while marshalling arguments are MARSHAL, not completed.
Source§impl From<SystemException> for DynAnyError
impl From<SystemException> for DynAnyError
Source§fn from(e: SystemException) -> DynAnyError
fn from(e: SystemException) -> DynAnyError
Converts to this type from the input type.
Source§impl From<SystemException> for Exception
impl From<SystemException> for Exception
Source§fn from(e: SystemException) -> Self
fn from(e: SystemException) -> Self
Converts to this type from the input type.
Source§impl From<SystemException> for ResolveError
impl From<SystemException> for ResolveError
Source§fn from(e: SystemException) -> Self
fn from(e: SystemException) -> Self
Converts to this type from the input type.
Source§impl From<SystemException> for InterceptError
impl From<SystemException> for InterceptError
Source§fn from(e: SystemException) -> InterceptError
fn from(e: SystemException) -> InterceptError
Converts to this type from the input type.
Source§impl From<SystemException> for PoaError
impl From<SystemException> for PoaError
Source§fn from(e: SystemException) -> Self
fn from(e: SystemException) -> Self
Converts to this type from the input type.
Source§impl From<SystemException> for ServantManagerError
impl From<SystemException> for ServantManagerError
Source§fn from(e: SystemException) -> Self
fn from(e: SystemException) -> Self
Converts to this type from the input type.
Source§impl From<SystemExceptionBody> for SystemException
impl From<SystemExceptionBody> for SystemException
Source§fn from(body: SystemExceptionBody) -> Self
fn from(body: SystemExceptionBody) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SystemException
impl PartialEq for SystemException
impl StructuralPartialEq for SystemException
Auto Trait Implementations§
impl Forget for SystemException
impl Freeze for SystemException
impl Move for SystemException
impl RefUnwindSafe for SystemException
impl Send for SystemException
impl Sync for SystemException
impl Unpin for SystemException
impl UnsafeUnpin for SystemException
impl UnwindSafe for SystemException
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