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

pub struct Conf {
    pub id: String,
    pub db_path: String,
    pub size: usize,
    pub min_retry_len: i32,
    pub retry_send_times: i32,
    pub single_rec_timeout: i32,
    pub swap_server: String,
    pub heart_beat_interval: i32,
}

Fields

id: Stringdb_path: Stringsize: usizemin_retry_len: i32retry_send_times: i32single_rec_timeout: i32swap_server: Stringheart_beat_interval: 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> Pointable for T

type Init = T

The type for initializers.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,