Struct esp_idf_svc::sys::esp_tls_last_error
source · #[repr(C)]pub struct esp_tls_last_error {
pub last_error: i32,
pub esp_tls_error_code: i32,
pub esp_tls_flags: i32,
}
Expand description
@brief Error structure containing relevant errors in case tls error occurred
Fields§
§last_error: i32
< error code (based on ESP_ERR_ESP_TLS_BASE) of the last occurred error
esp_tls_error_code: i32
< esp_tls error code from last esp_tls failed api
esp_tls_flags: i32
< last certification verification flags
Trait Implementations§
source§impl Clone for esp_tls_last_error
impl Clone for esp_tls_last_error
source§fn clone(&self) -> esp_tls_last_error
fn clone(&self) -> esp_tls_last_error
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for esp_tls_last_error
impl Debug for esp_tls_last_error
source§impl Default for esp_tls_last_error
impl Default for esp_tls_last_error
source§fn 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 Freeze for esp_tls_last_error
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> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)