Struct esp_idf_hal::sys::mbedtls_asn1_buf
source · #[repr(C)]pub struct mbedtls_asn1_buf {
pub tag: i32,
pub len: usize,
pub p: *mut u8,
}
Expand description
Type-length-value structure that allows for ASN1 using DER.
Fields§
§tag: i32
< ASN1 type, e.g. MBEDTLS_ASN1_UTF8_STRING.
len: usize
< ASN1 length, in octets.
p: *mut u8
< ASN1 data, e.g. in ASCII.
Trait Implementations§
source§impl Clone for mbedtls_asn1_buf
impl Clone for mbedtls_asn1_buf
source§fn clone(&self) -> mbedtls_asn1_buf
fn clone(&self) -> mbedtls_asn1_buf
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 mbedtls_asn1_buf
impl Debug for mbedtls_asn1_buf
source§impl Default for mbedtls_asn1_buf
impl Default for mbedtls_asn1_buf
source§fn default() -> mbedtls_asn1_buf
fn default() -> mbedtls_asn1_buf
Returns the “default value” for a type. Read more
impl Copy for mbedtls_asn1_buf
Auto Trait Implementations§
impl Freeze for mbedtls_asn1_buf
impl RefUnwindSafe for mbedtls_asn1_buf
impl !Send for mbedtls_asn1_buf
impl !Sync for mbedtls_asn1_buf
impl Unpin for mbedtls_asn1_buf
impl UnwindSafe for mbedtls_asn1_buf
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
)