pub struct SemaphoreInner {
pub count: isize,
pub wait_queue: VecDeque<Arc<TaskControlBlock>>,
}
Fields
count: isize
wait_queue: VecDeque<Arc<TaskControlBlock>>
Auto Trait Implementations
impl !RefUnwindSafe for SemaphoreInner
impl Send for SemaphoreInner
impl Sync for SemaphoreInner
impl Unpin for SemaphoreInner
impl !UnwindSafe for SemaphoreInner
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more