struct State(usize);
Tuple Fields§
§0: usize
Implementations§
source§impl State
impl State
fn new() -> State
fn is_complete(self) -> bool
fn set_complete(cell: &AtomicUsize) -> State
fn is_rx_task_set(self) -> bool
fn set_rx_task(cell: &AtomicUsize) -> State
fn unset_rx_task(cell: &AtomicUsize) -> State
fn is_closed(self) -> bool
fn set_closed(cell: &AtomicUsize) -> State
fn set_tx_task(cell: &AtomicUsize) -> State
fn unset_tx_task(cell: &AtomicUsize) -> State
fn is_tx_task_set(self) -> bool
fn as_usize(self) -> usize
fn load(cell: &AtomicUsize, order: Ordering) -> State
Trait Implementations§
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
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