pub enum SemState {
Empty,
Full,
}Expand description
Initial state of a binary semaphore.
Variants§
Trait Implementations§
impl Copy for SemState
impl Eq for SemState
impl StructuralPartialEq for SemState
Auto Trait Implementations§
impl Freeze for SemState
impl RefUnwindSafe for SemState
impl Send for SemState
impl Sync for SemState
impl Unpin for SemState
impl UnsafeUnpin for SemState
impl UnwindSafe for SemState
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