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§
Required Methods§
fn serialize<F, R>(data: &Self::Data<'_>, f: F) -> Rwhere
F: FnOnce(&EspEventPostData<'_>) -> R,
Object Safety§
This trait is not object safe.