Struct mbedtls_sys::record
source · [−]#[repr(C)]pub struct record {
pub ctr: [u8; 8],
pub type_: u8,
pub ver: [u8; 2],
pub buf: *mut c_uchar,
pub buf_len: size_t,
pub data_offset: size_t,
pub data_len: size_t,
}
Fields
ctr: [u8; 8]
type_: u8
ver: [u8; 2]
buf: *mut c_uchar
buf_len: size_t
data_offset: size_t
data_len: size_t
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for record
impl !Send for record
impl !Sync for record
impl Unpin for record
impl UnwindSafe for record
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more