[][src]Struct actix_settings::ActixSettings

pub struct ActixSettings {
    pub hosts: Vec<Address>,
    pub mode: Mode,
    pub enable_compression: bool,
    pub enable_log: bool,
    pub num_workers: NumWorkers,
    pub backlog: Backlog,
    pub max_connections: MaxConnections,
    pub max_connection_rate: MaxConnectionRate,
    pub keep_alive: KeepAlive,
    pub client_timeout: Timeout,
    pub client_shutdown: Timeout,
    pub shutdown_timeout: Timeout,
    pub ssl: Ssl,
}

Fields

hosts: Vec<Address>mode: Modeenable_compression: boolenable_log: boolnum_workers: NumWorkersbacklog: Backlogmax_connections: MaxConnectionsmax_connection_rate: MaxConnectionRatekeep_alive: KeepAliveclient_timeout: Timeoutclient_shutdown: Timeoutshutdown_timeout: Timeoutssl: Ssl

Trait Implementations

impl Clone for ActixSettings[src]

impl Debug for ActixSettings[src]

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

impl Eq for ActixSettings[src]

impl Hash for ActixSettings[src]

impl PartialEq<ActixSettings> for ActixSettings[src]

impl StructuralEq for ActixSettings[src]

impl StructuralPartialEq for ActixSettings[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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,