Struct esp_idf_sys::esp_tls_last_error
source · [−]#[repr(C)]pub struct esp_tls_last_error {
pub last_error: esp_err_t,
pub esp_tls_error_code: c_int,
pub esp_tls_flags: c_int,
}
Expand description
@brief Error structure containing relevant errors in case tls error occurred
Fields
last_error: esp_err_t
< error code (based on ESP_ERR_ESP_TLS_BASE) of the last occurred error
esp_tls_error_code: c_int
< esp_tls error code from last esp_tls failed api
esp_tls_flags: c_int
< last certification verification flags
Trait Implementations
sourceimpl Clone for esp_tls_last_error
impl Clone for esp_tls_last_error
sourcefn clone(&self) -> esp_tls_last_error
fn clone(&self) -> esp_tls_last_error
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for esp_tls_last_error
impl Debug for esp_tls_last_error
sourceimpl Default for esp_tls_last_error
impl Default for esp_tls_last_error
sourcefn default() -> esp_tls_last_error
fn default() -> esp_tls_last_error
Returns the “default value” for a type. Read more
impl Copy for esp_tls_last_error
Auto Trait Implementations
impl RefUnwindSafe for esp_tls_last_error
impl Send for esp_tls_last_error
impl Sync for esp_tls_last_error
impl Unpin for esp_tls_last_error
impl UnwindSafe for esp_tls_last_error
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more