struct MacOsSemaphore {
semaphore: SemaphoreRef,
init_value: u64,
}Fields§
§semaphore: SemaphoreRef§init_value: u64Trait Implementations§
Source§impl Clone for MacOsSemaphore
impl Clone for MacOsSemaphore
Source§impl SyncObj for MacOsSemaphore
impl SyncObj for MacOsSemaphore
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 MacOsSemaphore
impl !DynSync for MacOsSemaphore
impl !RefUnwindSafe for MacOsSemaphore
impl !Send for MacOsSemaphore
impl !Sync for MacOsSemaphore
impl !UnwindSafe for MacOsSemaphore
impl Freeze for MacOsSemaphore
impl Unpin for MacOsSemaphore
impl UnsafeUnpin for MacOsSemaphore
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: 16 bytes