#[repr(C)]pub struct rb_ractor_sync {
pub lock: rb_nativethread_lock_t,
pub incoming_port_closed: bool,
pub outgoing_port_closed: bool,
pub recv_queue: rb_ractor_queue,
pub takers_queue: rb_ractor_queue,
pub will_basket: rb_ractor_basket,
pub wait: rb_ractor_sync_ractor_wait,
}
Fields§
§lock: rb_nativethread_lock_t
§incoming_port_closed: bool
§outgoing_port_closed: bool
§recv_queue: rb_ractor_queue
§takers_queue: rb_ractor_queue
§will_basket: rb_ractor_basket
§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 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