esp_idf_svc::eventloop

Type Alias EspSystemAsyncSubscription

Source
pub type EspSystemAsyncSubscription<P> = EspAsyncSubscription<P, System>;

Aliased Type§

struct EspSystemAsyncSubscription<P> { /* private fields */ }

Implementations

Source§

impl<D, T> EspAsyncSubscription<D, T>

Source

pub fn make_weak(&mut self)

Source

pub async fn recv(&mut self) -> Result<D::Data<'_>, EspError>

Trait Implementations

Source§

impl<D, T> ErrorType for EspAsyncSubscription<D, T>

Source§

impl<D, T> Receiver for EspAsyncSubscription<D, T>
where D: EspEventDeserializer + 'static, T: EspEventLoopType + 'static,

Source§

type Data<'a> = <D as EspEventDeserializer>::Data<'a>

Source§

async fn recv(&mut self) -> Result<Self::Data<'_>, Self::Error>