pub enum PythonGeneratorError {
Frame(FrameError),
Raised(PythonException),
}Expand description
Generator protocol or guest failure.
Variants§
Frame(FrameError)
Shared frame protocol rejected the transition.
Raised(PythonException)
Guest exception escaped the frame.
Trait Implementations§
Source§impl Clone for PythonGeneratorError
impl Clone for PythonGeneratorError
Source§fn clone(&self) -> PythonGeneratorError
fn clone(&self) -> PythonGeneratorError
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 PythonGeneratorError
impl Debug for PythonGeneratorError
impl Eq for PythonGeneratorError
Source§impl PartialEq for PythonGeneratorError
impl PartialEq for PythonGeneratorError
impl StructuralPartialEq for PythonGeneratorError
Auto Trait Implementations§
impl Freeze for PythonGeneratorError
impl RefUnwindSafe for PythonGeneratorError
impl Send for PythonGeneratorError
impl Sync for PythonGeneratorError
impl Unpin for PythonGeneratorError
impl UnsafeUnpin for PythonGeneratorError
impl UnwindSafe for PythonGeneratorError
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.