Skip to main content

SystemExceptionKind

Enum SystemExceptionKind 

Source
pub enum SystemExceptionKind {
Show 40 variants UNKNOWN, BAD_PARAM, NO_MEMORY, IMP_LIMIT, COMM_FAILURE, INV_OBJREF, NO_PERMISSION, INTERNAL, MARSHAL, INITIALIZE, NO_IMPLEMENT, BAD_TYPECODE, BAD_OPERATION, NO_RESOURCES, NO_RESPONSE, PERSIST_STORE, BAD_INV_ORDER, TRANSIENT, FREE_MEM, INV_IDENT, INV_FLAG, INTF_REPOS, BAD_CONTEXT, OBJ_ADAPTER, DATA_CONVERSION, OBJECT_NOT_EXIST, TRANSACTION_REQUIRED, TRANSACTION_ROLLEDBACK, INVALID_TRANSACTION, INV_POLICY, CODESET_INCOMPATIBLE, REBIND, TIMEOUT, TRANSACTION_UNAVAILABLE, TRANSACTION_MODE, BAD_QOS, INVALID_ACTIVITY, ACTIVITY_COMPLETED, ACTIVITY_REQUIRED, THREAD_CANCELLED,
}
Expand description

The standard system exceptions of CORBA 3.

Variants§

§

UNKNOWN

CORBA::UNKNOWN.

§

BAD_PARAM

CORBA::BAD_PARAM.

§

NO_MEMORY

CORBA::NO_MEMORY.

§

IMP_LIMIT

CORBA::IMP_LIMIT.

§

COMM_FAILURE

CORBA::COMM_FAILURE.

§

INV_OBJREF

CORBA::INV_OBJREF.

§

NO_PERMISSION

CORBA::NO_PERMISSION.

§

INTERNAL

CORBA::INTERNAL.

§

MARSHAL

CORBA::MARSHAL.

§

INITIALIZE

CORBA::INITIALIZE.

§

NO_IMPLEMENT

CORBA::NO_IMPLEMENT.

§

BAD_TYPECODE

CORBA::BAD_TYPECODE.

§

BAD_OPERATION

CORBA::BAD_OPERATION.

§

NO_RESOURCES

CORBA::NO_RESOURCES.

§

NO_RESPONSE

CORBA::NO_RESPONSE.

§

PERSIST_STORE

CORBA::PERSIST_STORE.

§

BAD_INV_ORDER

CORBA::BAD_INV_ORDER.

§

TRANSIENT

CORBA::TRANSIENT.

§

FREE_MEM

CORBA::FREE_MEM.

§

INV_IDENT

CORBA::INV_IDENT.

§

INV_FLAG

CORBA::INV_FLAG.

§

INTF_REPOS

CORBA::INTF_REPOS.

§

BAD_CONTEXT

CORBA::BAD_CONTEXT.

§

OBJ_ADAPTER

CORBA::OBJ_ADAPTER.

§

DATA_CONVERSION

CORBA::DATA_CONVERSION.

§

OBJECT_NOT_EXIST

CORBA::OBJECT_NOT_EXIST.

§

TRANSACTION_REQUIRED

CORBA::TRANSACTION_REQUIRED.

§

TRANSACTION_ROLLEDBACK

CORBA::TRANSACTION_ROLLEDBACK.

§

INVALID_TRANSACTION

CORBA::INVALID_TRANSACTION.

§

INV_POLICY

CORBA::INV_POLICY.

§

CODESET_INCOMPATIBLE

CORBA::CODESET_INCOMPATIBLE.

§

REBIND

CORBA::REBIND.

§

TIMEOUT

CORBA::TIMEOUT.

§

TRANSACTION_UNAVAILABLE

CORBA::TRANSACTION_UNAVAILABLE.

§

TRANSACTION_MODE

CORBA::TRANSACTION_MODE.

§

BAD_QOS

CORBA::BAD_QOS.

§

INVALID_ACTIVITY

CORBA::INVALID_ACTIVITY.

§

ACTIVITY_COMPLETED

CORBA::ACTIVITY_COMPLETED.

§

ACTIVITY_REQUIRED

CORBA::ACTIVITY_REQUIRED.

§

THREAD_CANCELLED

CORBA::THREAD_CANCELLED.

Implementations§

Source§

impl SystemExceptionKind

Source

pub fn name(self) -> &'static str

The IDL name, such as TRANSIENT.

Source

pub fn repository_id(self) -> &'static str

The repository id, such as IDL:omg.org/CORBA/TRANSIENT:1.0.

Source

pub fn from_repository_id(id: &str) -> Option<SystemExceptionKind>

Looks a repository id up.

Trait Implementations§

Source§

impl Clone for SystemExceptionKind

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for SystemExceptionKind

Source§

impl Debug for SystemExceptionKind

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for SystemExceptionKind

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for SystemExceptionKind

Source§

impl Hash for SystemExceptionKind

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for SystemExceptionKind

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for SystemExceptionKind

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.