struct PthreadSem {
sem_ref: SemaphoreRef,
}Fields§
§sem_ref: SemaphoreRefTrait Implementations§
Source§impl Clone for PthreadSem
impl Clone for PthreadSem
Source§impl Debug for PthreadSem
impl Debug for PthreadSem
Source§impl SyncObj for PthreadSem
impl SyncObj for PthreadSem
Source§fn on_access<'tcx>(&self, access_kind: AccessKind) -> InterpResult<'tcx>
fn on_access<'tcx>(&self, access_kind: AccessKind) -> InterpResult<'tcx>
Determines whether reads/writes to this object’s location are currently permitted.
Source§fn delete_on_write(&self) -> bool
fn delete_on_write(&self) -> bool
Determines whether this object’s metadata shall be deleted when a write to its
location occurs.
Auto Trait Implementations§
impl !DynSend for PthreadSem
impl !DynSync for PthreadSem
impl !RefUnwindSafe for PthreadSem
impl !Send for PthreadSem
impl !Sync for PthreadSem
impl !UnwindSafe for PthreadSem
impl Freeze for PthreadSem
impl Unpin for PthreadSem
impl UnsafeUnpin for PthreadSem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes