#[repr(u32)]pub enum mrb_fiber_state {
MRB_FIBER_CREATED = 0,
MRB_FIBER_RUNNING = 1,
MRB_FIBER_RESUMED = 2,
MRB_FIBER_SUSPENDED = 3,
MRB_FIBER_TRANSFERRED = 4,
MRB_FIBER_TERMINATED = 5,
}
Variants§
MRB_FIBER_CREATED = 0
MRB_FIBER_RUNNING = 1
MRB_FIBER_RESUMED = 2
MRB_FIBER_SUSPENDED = 3
MRB_FIBER_TRANSFERRED = 4
MRB_FIBER_TERMINATED = 5
Trait Implementations§
Source§impl Clone for mrb_fiber_state
impl Clone for mrb_fiber_state
Source§fn clone(&self) -> mrb_fiber_state
fn clone(&self) -> mrb_fiber_state
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 mrb_fiber_state
impl Debug for mrb_fiber_state
Source§impl Hash for mrb_fiber_state
impl Hash for mrb_fiber_state
Source§impl PartialEq for mrb_fiber_state
impl PartialEq for mrb_fiber_state
impl Copy for mrb_fiber_state
impl Eq for mrb_fiber_state
impl StructuralPartialEq for mrb_fiber_state
Auto Trait Implementations§
impl Freeze for mrb_fiber_state
impl RefUnwindSafe for mrb_fiber_state
impl Send for mrb_fiber_state
impl Sync for mrb_fiber_state
impl Unpin for mrb_fiber_state
impl UnwindSafe for mrb_fiber_state
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