#[repr(C)]pub struct rb_ractor_struct {Show 19 fields
pub pub_: rb_ractor_pub,
pub sync: rb_ractor_sync,
pub receiving_mutex: VALUE,
pub barrier_wait_cond: rb_nativethread_cond_t,
pub threads: rb_ractor_struct__bindgen_ty_1,
pub thgroup_default: VALUE,
pub name: VALUE,
pub loc: VALUE,
pub status_: ractor_status,
pub vmlr_node: ccan_list_node,
pub local_storage: *mut st_table,
pub idkey_local_storage: *mut rb_id_table,
pub local_storage_store_lock: VALUE,
pub r_stdin: VALUE,
pub r_stdout: VALUE,
pub r_stderr: VALUE,
pub verbose: VALUE,
pub debug: VALUE,
pub newobj_cache: *mut c_void,
}
Fields§
§pub_: rb_ractor_pub
§sync: rb_ractor_sync
§receiving_mutex: VALUE
§barrier_wait_cond: rb_nativethread_cond_t
§threads: rb_ractor_struct__bindgen_ty_1
§thgroup_default: VALUE
§name: VALUE
§loc: VALUE
§status_: ractor_status
§vmlr_node: ccan_list_node
§local_storage: *mut st_table
§idkey_local_storage: *mut rb_id_table
§local_storage_store_lock: VALUE
§r_stdin: VALUE
§r_stdout: VALUE
§r_stderr: VALUE
§verbose: VALUE
§debug: VALUE
§newobj_cache: *mut c_void
Trait Implementations§
Source§impl Clone for rb_ractor_struct
impl Clone for rb_ractor_struct
Source§fn clone(&self) -> rb_ractor_struct
fn clone(&self) -> rb_ractor_struct
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_struct
impl Debug for rb_ractor_struct
impl Copy for rb_ractor_struct
Auto Trait Implementations§
impl Freeze for rb_ractor_struct
impl RefUnwindSafe for rb_ractor_struct
impl !Send for rb_ractor_struct
impl !Sync for rb_ractor_struct
impl Unpin for rb_ractor_struct
impl UnwindSafe for rb_ractor_struct
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