[][src]Struct udp_hole_punching::client::conf::Conf

pub struct Conf {
    pub id: String,
    pub size: usize,
    pub msg_queue_len: usize,
    pub ask_resend_more: usize,
    pub single_rec_timeout: i32,
    pub ask_resend_elapse: i32,
    pub ask_resend_interval: i32,
    pub swap_server: String,
    pub ask_address_elapse: i32,
    pub heart_beat_interval: i32,
    pub send_cache_timeout: i32,
    pub rec_cache_timeout: i32,
}

Fields

id: Stringsize: usizemsg_queue_len: usizeask_resend_more: usizesingle_rec_timeout: i32ask_resend_elapse: i32ask_resend_interval: i32swap_server: Stringask_address_elapse: i32heart_beat_interval: i32send_cache_timeout: i32rec_cache_timeout: i32

Implementations

impl Conf[src]

pub fn default() -> Self[src]

pub fn set(&self)[src]

pub fn get() -> Self[src]

Trait Implementations

impl Clone for Conf[src]

impl Debug for Conf[src]

impl PartialEq<Conf> for Conf[src]

impl StructuralPartialEq for Conf[src]

Auto Trait Implementations

impl RefUnwindSafe for Conf

impl Send for Conf

impl Sync for Conf

impl Unpin for Conf

impl UnwindSafe for Conf

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.