Struct rbspy_ruby_structs::ruby_3_2_1::rb_ractor_sync
source · #[repr(C)]pub struct rb_ractor_sync {
pub lock: rb_nativethread_lock_t,
pub cond: rb_nativethread_cond_t,
pub incoming_queue: rb_ractor_queue,
pub taking_ractors: rb_ractor_waiting_list,
pub incoming_port_closed: bool,
pub outgoing_port_closed: bool,
pub wait: rb_ractor_sync_ractor_wait,
}
Fields§
§lock: rb_nativethread_lock_t
§cond: rb_nativethread_cond_t
§incoming_queue: rb_ractor_queue
§taking_ractors: rb_ractor_waiting_list
§incoming_port_closed: bool
§outgoing_port_closed: bool
§wait: rb_ractor_sync_ractor_wait
Trait Implementations§
source§impl Clone for rb_ractor_sync
impl Clone for rb_ractor_sync
source§fn clone(&self) -> rb_ractor_sync
fn clone(&self) -> rb_ractor_sync
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 rb_ractor_sync
impl Debug for rb_ractor_sync
impl Copy for rb_ractor_sync
Auto Trait Implementations§
impl RefUnwindSafe for rb_ractor_sync
impl !Send for rb_ractor_sync
impl !Sync for rb_ractor_sync
impl Unpin for rb_ractor_sync
impl UnwindSafe for rb_ractor_sync
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