Struct embedded_svc::utils::asyncify::mqtt::client::AsyncPostbox
source · pub struct AsyncPostbox<CV, M, E>(/* private fields */)
where
CV: RawCondvar;Implementations§
source§impl<CV, M, E> AsyncPostbox<CV, M, E>
impl<CV, M, E> AsyncPostbox<CV, M, E>
pub const fn new( connection_state: Arc<ConnStateGuard<CV, AsyncConnState<M, E>>> ) -> Self
pub fn post(&mut self, event: Result<Event<M>, E>)
Auto Trait Implementations§
impl<CV, M, E> !RefUnwindSafe for AsyncPostbox<CV, M, E>
impl<CV, M, E> Send for AsyncPostbox<CV, M, E>
impl<CV, M, E> Sync for AsyncPostbox<CV, M, E>
impl<CV, M, E> Unpin for AsyncPostbox<CV, M, E>
impl<CV, M, E> !UnwindSafe for AsyncPostbox<CV, M, E>
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