pub enum PythonExceptionError {
UnknownClass(ClassId),
Arena(ArenaError),
Relation(StrongEdgeMutationError),
EmptyGroup,
NotGroup,
}Expand description
Failure to construct or relate Python exception objects.
Variants§
UnknownClass(ClassId)
The class was not declared in the Python class system.
Arena(ArenaError)
An exception handle is stale.
Relation(StrongEdgeMutationError)
A managed relation exceeded its checked limits.
EmptyGroup
Python forbids empty exception groups.
NotGroup
The referenced object is not an exception group.
Trait Implementations§
Source§impl Clone for PythonExceptionError
impl Clone for PythonExceptionError
Source§fn clone(&self) -> PythonExceptionError
fn clone(&self) -> PythonExceptionError
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 PythonExceptionError
impl Debug for PythonExceptionError
Source§impl Display for PythonExceptionError
impl Display for PythonExceptionError
impl Eq for PythonExceptionError
Source§impl From<ArenaError> for PythonExceptionError
impl From<ArenaError> for PythonExceptionError
Source§fn from(value: ArenaError) -> Self
fn from(value: ArenaError) -> Self
Converts to this type from the input type.
Source§impl From<StrongEdgeMutationError> for PythonExceptionError
impl From<StrongEdgeMutationError> for PythonExceptionError
Source§fn from(value: StrongEdgeMutationError) -> Self
fn from(value: StrongEdgeMutationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PythonExceptionError
impl PartialEq for PythonExceptionError
impl StructuralPartialEq for PythonExceptionError
Auto Trait Implementations§
impl Freeze for PythonExceptionError
impl RefUnwindSafe for PythonExceptionError
impl Send for PythonExceptionError
impl Sync for PythonExceptionError
impl Unpin for PythonExceptionError
impl UnsafeUnpin for PythonExceptionError
impl UnwindSafe for PythonExceptionError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.