#[repr(C)]pub struct Latch {
pub is_set: sig_atomic_t,
pub maybe_sleeping: sig_atomic_t,
pub is_shared: bool,
pub owner_pid: c_int,
}
Fields§
§is_set: sig_atomic_t
§maybe_sleeping: sig_atomic_t
§owner_pid: c_int
Trait Implementations§
impl Copy for Latch
Auto Trait Implementations§
impl Freeze for Latch
impl RefUnwindSafe for Latch
impl Send for Latch
impl Sync for Latch
impl Unpin for Latch
impl UnwindSafe for Latch
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