[][src]Struct dtn7::dtnconfig::DtnConfig

pub struct DtnConfig {
    pub debug: bool,
    pub nodeid: String,
    pub host_eid: EndpointID,
    pub webport: u16,
    pub announcement_interval: u64,
    pub janitor_interval: u64,
    pub endpoints: Vec<String>,
    pub clas: Vec<String>,
    pub routing: String,
    pub peer_timeout: u64,
    pub statics: Vec<DtnPeer>,
}

Fields

debug: boolnodeid: Stringhost_eid: EndpointIDwebport: u16announcement_interval: u64janitor_interval: u64endpoints: Vec<String>clas: Vec<String>routing: Stringpeer_timeout: u64statics: Vec<DtnPeer>

Methods

impl DtnConfig[src]

pub fn new() -> DtnConfig[src]

pub fn set(&mut self, cfg: DtnConfig)[src]

Trait Implementations

impl From<PathBuf> for DtnConfig[src]

impl Clone for DtnConfig[src]

impl Default for DtnConfig[src]

impl Debug for DtnConfig[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

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

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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