Enum cros_async::sync::waiter::WaitingFor
source · #[repr(u8)]pub enum WaitingFor {
None = 0,
Mutex = 1,
Condvar = 2,
}
Variants§
Trait Implementations§
source§impl Debug for WaitingFor
impl Debug for WaitingFor
source§impl PartialEq for WaitingFor
impl PartialEq for WaitingFor
source§fn eq(&self, other: &WaitingFor) -> bool
fn eq(&self, other: &WaitingFor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for WaitingFor
impl StructuralPartialEq for WaitingFor
Auto Trait Implementations§
impl RefUnwindSafe for WaitingFor
impl Send for WaitingFor
impl Sync for WaitingFor
impl Unpin for WaitingFor
impl UnwindSafe for WaitingFor
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