Struct shadow_rs::cshadow::TCPCongHooks_
source · #[repr(C)]pub struct TCPCongHooks_ {
pub tcp_cong_delete: TCPCongDelete,
pub tcp_cong_duplicate_ack_ev: TCPCongDuplicateAckEv,
pub tcp_cong_fast_recovery: TCPCongFastRecovery,
pub tcp_cong_new_ack_ev: TCPCongNewAckEv,
pub tcp_cong_timeout_ev: TCPCongTimeoutEv,
pub tcp_cong_ssthresh: TCPCongSSThresh,
pub tcp_cong_name_str: TCPCongNameStr,
}
Fields§
§tcp_cong_delete: TCPCongDelete
§tcp_cong_duplicate_ack_ev: TCPCongDuplicateAckEv
§tcp_cong_fast_recovery: TCPCongFastRecovery
§tcp_cong_new_ack_ev: TCPCongNewAckEv
§tcp_cong_timeout_ev: TCPCongTimeoutEv
§tcp_cong_ssthresh: TCPCongSSThresh
§tcp_cong_name_str: TCPCongNameStr
Trait Implementations§
source§impl Clone for TCPCongHooks_
impl Clone for TCPCongHooks_
source§fn clone(&self) -> TCPCongHooks_
fn clone(&self) -> TCPCongHooks_
Returns a copy 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 TCPCongHooks_
impl Debug for TCPCongHooks_
impl Copy for TCPCongHooks_
Auto Trait Implementations§
impl Freeze for TCPCongHooks_
impl RefUnwindSafe for TCPCongHooks_
impl Send for TCPCongHooks_
impl Sync for TCPCongHooks_
impl Unpin for TCPCongHooks_
impl UnwindSafe for TCPCongHooks_
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§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
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more