Trait esp_idf_svc::handle::RawHandle

source ·
pub trait RawHandle {
    type Handle;

    // Required method
    fn handle(&self) -> Self::Handle;
}

Required Associated Types§

Required Methods§

source

fn handle(&self) -> Self::Handle

Care should be taken to use the returned ESP-IDF driver raw handle only while the driver is still alive, so as to avoid use-after-free errors.

Implementations on Foreign Types§

source§

impl<R> RawHandle for &R
where R: RawHandle,

§

type Handle = <R as RawHandle>::Handle

source§

fn handle(&self) -> Self::Handle

source§

impl<R> RawHandle for &mut R
where R: RawHandle,

§

type Handle = <R as RawHandle>::Handle

source§

fn handle(&self) -> Self::Handle

Implementors§

source§

impl RawHandle for esp_idf_svc::http::client::EspHttpConnection

source§

impl RawHandle for EspNetif

source§

impl RawHandle for EspNvs<NvsCustom>

§

type Handle = u32

source§

impl RawHandle for EspNvs<NvsEncrypted>

§

type Handle = u32

source§

impl RawHandle for EspNvsPartition<NvsCustom>

§

type Handle = *const u8

source§

impl RawHandle for EspNvsPartition<NvsEncrypted>

§

type Handle = *const u8

source§

impl<'a> RawHandle for esp_idf_svc::http::server::EspHttpConnection<'a>

§

type Handle = *mut httpd_req

source§

impl<'a> RawHandle for EspHttpRawConnection<'a>

§

type Handle = *mut httpd_req

source§

impl<'a> RawHandle for EspHttpServer<'a>

§

type Handle = *mut c_void

source§

impl<'a> RawHandle for EspMqttClient<'a>

source§

impl<'a> RawHandle for EspTimer<'a>

§

type Handle = *mut esp_timer

source§

impl<'a, T> RawHandle for EspSubscription<'a, User<T>>

§

type Handle = *mut c_void

source§

impl<'d, T> RawHandle for EspEth<'d, T>

source§

impl<'d, T> RawHandle for EthDriver<'d, T>

§

type Handle = *mut c_void

source§

impl<D, T> RawHandle for EspAsyncSubscription<D, User<T>>

§

type Handle = *mut c_void

source§

impl<T> RawHandle for EspEventLoop<User<T>>

§

type Handle = *mut c_void