#[repr(C)]pub struct tcp_fastopen {
pub enable: c_int,
pub psk: [u8; 16],
}Fields§
§enable: c_int§psk: [u8; 16]Trait Implementations§
Source§impl Clone for tcp_fastopen
impl Clone for tcp_fastopen
Source§fn clone(&self) -> tcp_fastopen
fn clone(&self) -> tcp_fastopen
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for tcp_fastopen
impl Debug for tcp_fastopen
impl Copy for tcp_fastopen
Auto Trait Implementations§
impl Freeze for tcp_fastopen
impl RefUnwindSafe for tcp_fastopen
impl Send for tcp_fastopen
impl Sync for tcp_fastopen
impl Unpin for tcp_fastopen
impl UnwindSafe for tcp_fastopen
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more