#[repr(C)]pub struct ssl_handshake_params__bindgen_ty_1_mbedtls_ssl_hs_buffer {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub data: *mut c_uchar,
pub data_len: size_t,
}
Fields
_bitfield_align_1: [u8; 0]
_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
data: *mut c_uchar
data_len: size_t
Implementations
sourceimpl ssl_handshake_params__bindgen_ty_1_mbedtls_ssl_hs_buffer
impl ssl_handshake_params__bindgen_ty_1_mbedtls_ssl_hs_buffer
pub fn is_valid(&self) -> c_uint
pub fn set_is_valid(&mut self, val: c_uint)
pub fn is_fragmented(&self) -> c_uint
pub fn set_is_fragmented(&mut self, val: c_uint)
pub fn is_complete(&self) -> c_uint
pub fn set_is_complete(&mut self, val: c_uint)
pub fn new_bitfield_1(
is_valid: c_uint,
is_fragmented: c_uint,
is_complete: c_uint
) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations
sourceimpl Clone for ssl_handshake_params__bindgen_ty_1_mbedtls_ssl_hs_buffer
impl Clone for ssl_handshake_params__bindgen_ty_1_mbedtls_ssl_hs_buffer
sourcefn clone(&self) -> ssl_handshake_params__bindgen_ty_1_mbedtls_ssl_hs_buffer
fn clone(&self) -> ssl_handshake_params__bindgen_ty_1_mbedtls_ssl_hs_buffer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for ssl_handshake_params__bindgen_ty_1_mbedtls_ssl_hs_buffer
Auto Trait Implementations
impl RefUnwindSafe for ssl_handshake_params__bindgen_ty_1_mbedtls_ssl_hs_buffer
impl !Send for ssl_handshake_params__bindgen_ty_1_mbedtls_ssl_hs_buffer
impl !Sync for ssl_handshake_params__bindgen_ty_1_mbedtls_ssl_hs_buffer
impl Unpin for ssl_handshake_params__bindgen_ty_1_mbedtls_ssl_hs_buffer
impl UnwindSafe for ssl_handshake_params__bindgen_ty_1_mbedtls_ssl_hs_buffer
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