Struct esp_idf_sys::mbedtls_asn1_buf
source · #[repr(C)]pub struct mbedtls_asn1_buf {
pub tag: c_int,
pub len: usize,
pub p: *mut c_uchar,
}
Expand description
Type-length-value structure that allows for ASN1 using DER.
Fields§
§tag: c_int
< ASN1 type, e.g. MBEDTLS_ASN1_UTF8_STRING.
len: usize
< ASN1 length, in octets.
p: *mut c_uchar
< 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
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
)