[][src]Struct rumq_broker::ServerSettings

pub struct ServerSettings {
    pub port: u16,
    pub connection_timeout_ms: u16,
    pub next_connection_delay_ms: u64,
    pub max_client_id_len: usize,
    pub max_connections: usize,
    pub disk_persistence: bool,
    pub throttle_delay_ms: u64,
    pub disk_retention_size: usize,
    pub disk_retention_time_sec: usize,
    pub auto_save_interval_sec: u16,
    pub max_payload_size: usize,
    pub max_inflight_topic_size: usize,
    pub ca_path: Option<String>,
    pub cert_path: Option<String>,
    pub key_path: Option<String>,
    pub username: Option<String>,
    pub password: Option<String>,
}

Fields

port: u16connection_timeout_ms: u16next_connection_delay_ms: u64max_client_id_len: usizemax_connections: usizedisk_persistence: boolthrottle_delay_ms: u64disk_retention_size: usizedisk_retention_time_sec: usizeauto_save_interval_sec: u16max_payload_size: usizemax_inflight_topic_size: usizeca_path: Option<String>cert_path: Option<String>key_path: Option<String>username: Option<String>password: Option<String>

Trait Implementations

impl Clone for ServerSettings[src]

impl Debug for ServerSettings[src]

impl<'de> Deserialize<'de> for ServerSettings[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.