pub struct Events { /* private fields */ }Implementations§
Source§impl RxEvents
impl RxEvents
Sourcepub fn is_blocked(&self) -> bool
pub fn is_blocked(&self) -> bool
Returns if the task is blocked
Sourcepub fn take_blocked(&mut self) -> bool
pub fn take_blocked(&mut self) -> bool
Returns if the task was blocked and resets the value
Sourcepub fn take_count(&mut self) -> usize
pub fn take_count(&mut self) -> usize
Returns and resets the number of messages sent
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RxEvents
impl RefUnwindSafe for RxEvents
impl Send for RxEvents
impl Sync for RxEvents
impl Unpin for RxEvents
impl UnwindSafe for RxEvents
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more