Struct embedded_svc::utils::asyncify::event_bus::AsyncEventBus
source · pub struct AsyncEventBus<U, CV, E> { /* private fields */ }
Implementations§
source§impl<U, CV, E> AsyncEventBus<U, CV, E>
impl<U, CV, E> AsyncEventBus<U, CV, E>
source§impl<U, CV, E> AsyncEventBus<U, CV, E>
impl<U, CV, E> AsyncEventBus<U, CV, E>
pub fn subscribe<P>( &self ) -> Result<AsyncSubscription<CV, P, E::Subscription<'_>, E::Error>, E::Error>
source§impl<U, CV, E> AsyncEventBus<U, CV, E>
impl<U, CV, E> AsyncEventBus<U, CV, E>
pub fn postbox<P>(&self) -> Result<AsyncPostbox<U, P, E::Postbox<'_>>, E::Error>where
E: PostboxProvider<P>,
Trait Implementations§
source§impl<CV, E> AsyncWrapper<E> for AsyncEventBus<(), CV, E>
impl<CV, E> AsyncWrapper<E> for AsyncEventBus<(), CV, E>
source§impl<U, CV, E> Clone for AsyncEventBus<U, CV, E>
impl<U, CV, E> Clone for AsyncEventBus<U, CV, E>
source§impl<U, CV, E> ErrorType for AsyncEventBus<U, CV, E>where
E: ErrorType,
impl<U, CV, E> ErrorType for AsyncEventBus<U, CV, E>where
E: ErrorType,
source§impl<U, CV, E> UnblockingAsyncWrapper<U, E> for AsyncEventBus<U, CV, E>
impl<U, CV, E> UnblockingAsyncWrapper<U, E> for AsyncEventBus<U, CV, E>
Auto Trait Implementations§
impl<U, CV, E> RefUnwindSafe for AsyncEventBus<U, CV, E>where
E: RefUnwindSafe,
U: RefUnwindSafe,
impl<U, CV, E> Send for AsyncEventBus<U, CV, E>
impl<U, CV, E> Sync for AsyncEventBus<U, CV, E>
impl<U, CV, E> Unpin for AsyncEventBus<U, CV, E>
impl<U, CV, E> UnwindSafe for AsyncEventBus<U, CV, E>where
E: UnwindSafe,
U: 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