Trait esp_idf_svc::eventloop::EspEventSerializer

source ·
pub trait EspEventSerializer: EspEventSource {
    type Data<'a>;

    // Required method
    fn serialize<F, R>(data: &Self::Data<'_>, f: F) -> R
       where F: FnOnce(&EspEventPostData<'_>) -> R;
}

Required Associated Types§

source

type Data<'a>

Required Methods§

source

fn serialize<F, R>(data: &Self::Data<'_>, f: F) -> R
where F: FnOnce(&EspEventPostData<'_>) -> R,

Object Safety§

This trait is not object safe.

Implementors§