#[repr(C)]pub enum _PyStatus_TYPE {
_PyStatus_TYPE_OK = 0,
_PyStatus_TYPE_ERROR = 1,
_PyStatus_TYPE_EXIT = 2,
}
Available on
Py_3_8
and non-PyPy
and non-Py_LIMITED_API
only.Variants§
Trait Implementations§
Source§impl Clone for _PyStatus_TYPE
impl Clone for _PyStatus_TYPE
Source§fn clone(&self) -> _PyStatus_TYPE
fn clone(&self) -> _PyStatus_TYPE
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 _PyStatus_TYPE
impl Debug for _PyStatus_TYPE
Source§impl PartialEq for _PyStatus_TYPE
impl PartialEq for _PyStatus_TYPE
impl Copy for _PyStatus_TYPE
impl Eq for _PyStatus_TYPE
impl StructuralPartialEq for _PyStatus_TYPE
Auto Trait Implementations§
impl Freeze for _PyStatus_TYPE
impl RefUnwindSafe for _PyStatus_TYPE
impl Send for _PyStatus_TYPE
impl Sync for _PyStatus_TYPE
impl Unpin for _PyStatus_TYPE
impl UnwindSafe for _PyStatus_TYPE
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