pub struct SemaphoreStorage { /* private fields */ }Expand description
Caller-owned backing storage for a Semaphore in zero-heap mode. See
MutexStorage for the pattern; pass &STORAGE to Semaphore::create.
Implementations§
Trait Implementations§
Source§impl Default for SemaphoreStorage
impl Default for SemaphoreStorage
impl Sync for SemaphoreStorage
Auto Trait Implementations§
impl !Freeze for SemaphoreStorage
impl !RefUnwindSafe for SemaphoreStorage
impl Send for SemaphoreStorage
impl Unpin for SemaphoreStorage
impl UnsafeUnpin for SemaphoreStorage
impl UnwindSafe for SemaphoreStorage
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