pub enum PoaError {
Show 13 variants
AdapterAlreadyExists,
AdapterNonExistent,
InvalidPolicy(u16),
ServantAlreadyActive,
ObjectAlreadyActive,
ServantNotActive,
ObjectNotActive,
WrongPolicy,
WrongAdapter,
AdapterInactive,
NoServant,
NoContext,
System(SystemException),
}Expand description
The exceptions of the PortableServer::POA and POAManager
operations, and system exceptions.
Variants§
AdapterAlreadyExists
AdapterAlreadyExists.
AdapterNonExistent
AdapterNonExistent.
InvalidPolicy(u16)
InvalidPolicy, with the index of the offending policy.
ServantAlreadyActive
ServantAlreadyActive.
ObjectAlreadyActive
ObjectAlreadyActive.
ServantNotActive
ServantNotActive.
ObjectNotActive
ObjectNotActive.
WrongPolicy
WrongPolicy.
WrongAdapter
WrongAdapter.
AdapterInactive
POAManager::AdapterInactive.
NoServant
POA::NoServant: no default servant was set.
NoContext
Current::NoContext: the thread is not running a request.
System(SystemException)
A system exception, such as OBJECT_NOT_EXIST for a destroyed POA.
Trait Implementations§
impl Eq for PoaError
Source§impl Error for PoaError
impl Error for PoaError
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 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.
impl StructuralPartialEq for PoaError
Auto Trait Implementations§
impl Forget for PoaError
impl Freeze for PoaError
impl RefUnwindSafe for PoaError
impl Send for PoaError
impl Sync for PoaError
impl Unpin for PoaError
impl UnsafeUnpin for PoaError
impl UnwindSafe for PoaError
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