#[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: u8,
}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: u8Trait Implementations§
Source§impl Clone for rb_ractor_sync
impl Clone for rb_ractor_sync
impl Copy for rb_ractor_sync
Auto Trait Implementations§
impl !Send for rb_ractor_sync
impl !Sync for rb_ractor_sync
impl Freeze for rb_ractor_sync
impl RefUnwindSafe for rb_ractor_sync
impl Unpin for rb_ractor_sync
impl UnsafeUnpin 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