pub struct UnitReceiver { /* private fields */ }Expand description
Receives notifications.
Implementations§
Source§impl UnitReceiver
impl UnitReceiver
pub fn update_thread(&self)
Sourcepub fn recv_with_tuning(&self, tuning: Tuning)
pub fn recv_with_tuning(&self, tuning: Tuning)
recv with explicit tuning (pure spin -> spin-sleep -> park).
Trait Implementations§
Source§impl Clone for UnitReceiver
impl Clone for UnitReceiver
Source§fn clone(&self) -> UnitReceiver
fn clone(&self) -> UnitReceiver
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UnitReceiver
impl !RefUnwindSafe for UnitReceiver
impl Send for UnitReceiver
impl Sync for UnitReceiver
impl Unpin for UnitReceiver
impl !UnwindSafe for UnitReceiver
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