#[repr(C)]pub enum PySendResult {
PYGEN_RETURN = 0,
PYGEN_ERROR = -1,
PYGEN_NEXT = 1,
}
Available on
Py_3_10
only.Variants§
Trait Implementations§
Source§impl Clone for PySendResult
impl Clone for PySendResult
Source§fn clone(&self) -> PySendResult
fn clone(&self) -> PySendResult
Returns a copy of the value. Read more
1.0.0 · 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 PySendResult
impl Debug for PySendResult
Source§impl PartialEq for PySendResult
impl PartialEq for PySendResult
impl Copy for PySendResult
impl Eq for PySendResult
impl StructuralPartialEq for PySendResult
Auto Trait Implementations§
impl Freeze for PySendResult
impl RefUnwindSafe for PySendResult
impl Send for PySendResult
impl Sync for PySendResult
impl Unpin for PySendResult
impl UnwindSafe for PySendResult
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)