#[repr(C)]pub struct rb_ractor_sync {
pub lock: rb_nativethread_lock_t,
pub recv_queue: *mut ractor_queue,
pub waiters: ccan_list_head,
pub default_port_value: VALUE,
pub ports: *mut st_table,
pub next_port_id: usize,
pub monitors: ccan_list_head,
pub successor: *mut rb_ractor_t,
pub legacy: VALUE,
pub legacy_exc: bool,
}Fields§
§lock: rb_nativethread_lock_t§recv_queue: *mut ractor_queue§waiters: ccan_list_head§default_port_value: VALUE§ports: *mut st_table§next_port_id: usize§monitors: ccan_list_head§successor: *mut rb_ractor_t§legacy: VALUE§legacy_exc: boolTrait 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 duplicate 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 Freeze for rb_ractor_sync
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