pub struct AtomicNotifier<OS> { /* private fields */ }Expand description
This Notifier implementation is for unit test
Implementations§
Source§impl<OS: OsInterface> AtomicNotifier<OS>
impl<OS: OsInterface> AtomicNotifier<OS>
pub fn new() -> (Self, impl NotifyWaiter)
Trait Implementations§
Source§impl<OS: OsInterface> Clone for AtomicNotifier<OS>
impl<OS: OsInterface> Clone for AtomicNotifier<OS>
Source§impl<OS: OsInterface> Notifier for AtomicNotifier<OS>
impl<OS: OsInterface> Notifier for AtomicNotifier<OS>
Source§impl<OS: OsInterface> NotifierIsr for AtomicNotifier<OS>
impl<OS: OsInterface> NotifierIsr for AtomicNotifier<OS>
fn notify_from_isr(&self) -> bool
Source§impl<OS: OsInterface> NotifyBuilder for AtomicNotifier<OS>
impl<OS: OsInterface> NotifyBuilder for AtomicNotifier<OS>
fn build() -> (impl Notifier, impl NotifyWaiter)
fn build_isr() -> (impl NotifierIsr, impl NotifyWaiter)
Auto Trait Implementations§
impl<OS> Freeze for AtomicNotifier<OS>
impl<OS> RefUnwindSafe for AtomicNotifier<OS>where
OS: RefUnwindSafe,
impl<OS> Send for AtomicNotifier<OS>where
OS: Send,
impl<OS> Sync for AtomicNotifier<OS>where
OS: Sync,
impl<OS> Unpin for AtomicNotifier<OS>where
OS: Unpin,
impl<OS> UnwindSafe for AtomicNotifier<OS>where
OS: UnwindSafe,
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