[][src]Struct libccp::FlowInfo

pub struct FlowInfo(_);

Methods

impl FlowInfo[src]

pub fn with_init_cwnd(self, val: u32) -> Self[src]

pub fn with_mss(self, val: u32) -> Self[src]

pub fn with_src_ip(self, val: u32) -> Self[src]

pub fn with_dst_ip(self, val: u32) -> Self[src]

pub fn with_src_port(self, val: u32) -> Self[src]

pub fn with_dst_port(self, val: u32) -> Self[src]

impl FlowInfo[src]

pub fn with_four_tuple(
    self,
    src_ip: u32,
    src_port: u32,
    dst_ip: u32,
    dst_port: u32
) -> Self
[src]

Trait Implementations

impl Default for FlowInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]