From 6ab678660c133adb4ec21f673079b40dd82f5fa6 Mon Sep 17 00:00:00 2001 From: robjtede Date: Fri, 3 Nov 2023 20:25:20 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20actix/ac?= =?UTF-8?q?tix-extras@11046d7663d259037395c2c9679ad3bb4e4985e6=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- actix_settings/all.html | 2 +- actix_settings/enum.Backlog.html | 2 +- actix_settings/enum.Error.html | 4 +- actix_settings/enum.KeepAlive.html | 2 +- actix_settings/enum.MaxConnectionRate.html | 2 +- actix_settings/enum.MaxConnections.html | 2 +- actix_settings/enum.Mode.html | 2 +- actix_settings/enum.NumWorkers.html | 2 +- actix_settings/enum.Timeout.html | 2 +- actix_settings/index.html | 4 +- actix_settings/struct.ActixSettings.html | 6 +- actix_settings/struct.Address.html | 2 +- actix_settings/struct.BasicSettings.html | 18 ++--- actix_settings/struct.NoSettings.html | 2 +- actix_settings/struct.Tls.html | 2 +- actix_settings/trait.ApplySettings.html | 10 +-- actix_settings/trait.Parse.html | 2 +- actix_settings/type.Settings.html | 2 +- help.html | 2 +- search-index.js | 2 +- settings.html | 2 +- src/actix_settings/lib.rs.html | 72 +++++++++---------- trait.impl/core/clone/trait.Clone.js | 2 +- trait.impl/core/cmp/trait.Eq.js | 2 +- trait.impl/core/cmp/trait.PartialEq.js | 2 +- trait.impl/core/convert/trait.From.js | 2 +- trait.impl/core/fmt/trait.Debug.js | 2 +- trait.impl/core/hash/trait.Hash.js | 2 +- trait.impl/core/marker/trait.StructuralEq.js | 2 +- .../core/marker/trait.StructuralPartialEq.js | 2 +- trait.impl/serde/de/trait.Deserialize.js | 2 +- .../actix_settings/struct.BasicSettings.js | 2 +- 32 files changed, 80 insertions(+), 86 deletions(-) diff --git a/actix_settings/all.html b/actix_settings/all.html index 12fe1882c..17910162c 100644 --- a/actix_settings/all.html +++ b/actix_settings/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/actix_settings/enum.Backlog.html b/actix_settings/enum.Backlog.html index d6d12b8d1..9ff10a21d 100644 --- a/actix_settings/enum.Backlog.html +++ b/actix_settings/enum.Backlog.html @@ -1,4 +1,4 @@ -Backlog in actix_settings - Rust
pub enum Backlog {
+Backlog in actix_settings - Rust
pub enum Backlog {
     Default,
     Manual(usize),
 }
Expand description

The maximum number of pending connections.

diff --git a/actix_settings/enum.Error.html b/actix_settings/enum.Error.html index 5c02c91b5..e0c49e5f1 100644 --- a/actix_settings/enum.Error.html +++ b/actix_settings/enum.Error.html @@ -1,4 +1,4 @@ -Error in actix_settings - Rust

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Error> for Error

source§

fn from(err: TomlError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(err: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(err: Error) -> Self

Converts to this type from the input type.
source§

impl From<ParseBoolError> for Error

source§

fn from(err: ParseBoolError) -> Self

Converts to this type from the input type.
source§

impl From<ParseIntError> for Error

source§

fn from(err: ParseIntError) -> Self

Converts to this type from the input type.
source§

impl From<VarError> for Error

source§

fn from(err: VarError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Error> for Error

source§

fn from(err: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(err: TomlError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(err: Error) -> Self

Converts to this type from the input type.
source§

impl From<ParseBoolError> for Error

source§

fn from(err: ParseBoolError) -> Self

Converts to this type from the input type.
source§

impl From<ParseIntError> for Error

source§

fn from(err: ParseIntError) -> Self

Converts to this type from the input type.
source§

impl From<VarError> for Error

source§

fn from(err: VarError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/actix_settings/enum.KeepAlive.html b/actix_settings/enum.KeepAlive.html index b40ac79da..ecfb9774c 100644 --- a/actix_settings/enum.KeepAlive.html +++ b/actix_settings/enum.KeepAlive.html @@ -1,4 +1,4 @@ -KeepAlive in actix_settings - Rust
pub enum KeepAlive {
+KeepAlive in actix_settings - Rust
pub enum KeepAlive {
     Default,
     Disabled,
     Os,
diff --git a/actix_settings/enum.MaxConnectionRate.html b/actix_settings/enum.MaxConnectionRate.html
index 1513741c4..3ffaa88ff 100644
--- a/actix_settings/enum.MaxConnectionRate.html
+++ b/actix_settings/enum.MaxConnectionRate.html
@@ -1,4 +1,4 @@
-MaxConnectionRate in actix_settings - Rust
pub enum MaxConnectionRate {
+MaxConnectionRate in actix_settings - Rust
pub enum MaxConnectionRate {
     Default,
     Manual(usize),
 }
Expand description

The maximum per-worker concurrent TLS connection limit.

diff --git a/actix_settings/enum.MaxConnections.html b/actix_settings/enum.MaxConnections.html index b95ec7a3d..93732acc4 100644 --- a/actix_settings/enum.MaxConnections.html +++ b/actix_settings/enum.MaxConnections.html @@ -1,4 +1,4 @@ -MaxConnections in actix_settings - Rust
pub enum MaxConnections {
+MaxConnections in actix_settings - Rust
pub enum MaxConnections {
     Default,
     Manual(usize),
 }
Expand description

The maximum per-worker number of concurrent connections.

diff --git a/actix_settings/enum.Mode.html b/actix_settings/enum.Mode.html index 621ddf97e..576fa9700 100644 --- a/actix_settings/enum.Mode.html +++ b/actix_settings/enum.Mode.html @@ -1,4 +1,4 @@ -Mode in actix_settings - Rust

Enum actix_settings::Mode

source ·
pub enum Mode {
+Mode in actix_settings - Rust

Enum actix_settings::Mode

source ·
pub enum Mode {
     Development,
     Production,
 }
Expand description

Marker of intended deployment environment.

diff --git a/actix_settings/enum.NumWorkers.html b/actix_settings/enum.NumWorkers.html index 0fea7d881..cd384ca6f 100644 --- a/actix_settings/enum.NumWorkers.html +++ b/actix_settings/enum.NumWorkers.html @@ -1,4 +1,4 @@ -NumWorkers in actix_settings - Rust
pub enum NumWorkers {
+NumWorkers in actix_settings - Rust
pub enum NumWorkers {
     Default,
     Manual(usize),
 }
Expand description

The number of workers that the server should start.

diff --git a/actix_settings/enum.Timeout.html b/actix_settings/enum.Timeout.html index a8d01c591..c2073cfe9 100644 --- a/actix_settings/enum.Timeout.html +++ b/actix_settings/enum.Timeout.html @@ -1,4 +1,4 @@ -Timeout in actix_settings - Rust
pub enum Timeout {
+Timeout in actix_settings - Rust
pub enum Timeout {
     Default,
     Milliseconds(usize),
     Seconds(usize),
diff --git a/actix_settings/index.html b/actix_settings/index.html
index b5bf91010..cea95cf65 100644
--- a/actix_settings/index.html
+++ b/actix_settings/index.html
@@ -1,5 +1,5 @@
-actix_settings - Rust

Crate actix_settings

source ·
Expand description

Easily manage Actix Web’s settings from a TOML file and environment variables.

+actix_settings - Rust

Crate actix_settings

source ·
Expand description

Easily manage Actix Web’s settings from a TOML file and environment variables.

To get started add a Settings::parse_toml("./Server.toml") call to the top of your main function. This will create a template file with descriptions of all the configurable settings. You can change or remove anything in that file and it will be picked up diff --git a/actix_settings/struct.ActixSettings.html b/actix_settings/struct.ActixSettings.html index 415a1962f..7061acd4b 100644 --- a/actix_settings/struct.ActixSettings.html +++ b/actix_settings/struct.ActixSettings.html @@ -1,4 +1,4 @@ -ActixSettings in actix_settings - Rust

pub struct ActixSettings {
Show 13 fields +ActixSettings in actix_settings - Rust
pub struct ActixSettings {
Show 13 fields pub hosts: Vec<Address>, pub mode: Mode, pub enable_compression: bool, @@ -26,7 +26,7 @@
§client_shutdown: Timeout

Timeout duration for connection shutdown.

§shutdown_timeout: Timeout

Timeout duration for graceful worker shutdown.

§tls: Tls

TLS (HTTPS) configuration.

-

Trait Implementations§

source§

impl<F, I, S, B> ApplySettings<ActixSettings> for HttpServer<F, I, S, B>where +

Trait Implementations§

source§

impl<F, I, S, B> ApplySettings<ActixSettings> for HttpServer<F, I, S, B>where F: Fn() -> I + Send + Clone + 'static, I: IntoServiceFactory<S, Request>, S: ServiceFactory<Request, Config = AppConfig> + 'static, @@ -34,7 +34,7 @@ S::InitError: Debug, S::Response: Into<Response<B>> + 'static, S::Future: 'static, - B: MessageBody + 'static,

source§

fn apply_settings(self, settings: &ActixSettings) -> Self

Apply some settings object value to self.
source§

impl Clone for ActixSettings

source§

fn clone(&self) -> ActixSettings

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ActixSettings

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ActixSettings

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + B: MessageBody + 'static,

source§

fn apply_settings(self, settings: &ActixSettings) -> Self

Apply some settings object value to self.
source§

impl Clone for ActixSettings

source§

fn clone(&self) -> ActixSettings

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ActixSettings

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ActixSettings

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for ActixSettings

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for ActixSettings

source§

fn eq(&self, other: &ActixSettings) -> bool

This method tests for self and other values to be equal, and is used diff --git a/actix_settings/struct.Address.html b/actix_settings/struct.Address.html index 2aa3a8f63..f516e7393 100644 --- a/actix_settings/struct.Address.html +++ b/actix_settings/struct.Address.html @@ -1,4 +1,4 @@ -Address in actix_settings - Rust

Struct actix_settings::Address

source ·
pub struct Address {
+Address in actix_settings - Rust

Struct actix_settings::Address

source ·
pub struct Address {
     pub host: String,
     pub port: u16,
 }
Expand description

A host/port pair for the server to bind to.

diff --git a/actix_settings/struct.BasicSettings.html b/actix_settings/struct.BasicSettings.html index 65d7700b0..193e294b5 100644 --- a/actix_settings/struct.BasicSettings.html +++ b/actix_settings/struct.BasicSettings.html @@ -1,22 +1,22 @@ -BasicSettings in actix_settings - Rust
pub struct BasicSettings<A> {
+BasicSettings in actix_settings - Rust
pub struct BasicSettings<A> {
     pub actix: ActixSettings,
     pub application: A,
 }
Expand description

Wrapper for server and application-specific settings.

Fields§

§actix: ActixSettings

Actix Web server settings.

§application: A

Application-specific settings.

-

Implementations§

source§

impl<A> BasicSettings<A>where +

Implementations§

source§

impl<A> BasicSettings<A>where A: DeserializeOwned,

source

pub fn parse_toml<P>(filepath: P) -> Result<Self, Error>where P: AsRef<Path>,

Parse an instance of Self from a TOML file located at filepath.

If the file doesn’t exist, it is generated from the default TOML template, after which the newly generated file is read in and parsed.

-
source

pub fn from_default_template() -> Result<Self, Error>

Parse an instance of Self straight from the default TOML template.

-
source

pub fn from_template(template: &str) -> Result<Self, Error>

Parse an instance of Self straight from the default TOML template.

-
source

pub fn write_toml_file<P>(filepath: P) -> Result<(), Error>where +

source

pub fn from_default_template() -> Self

Parse an instance of Self straight from the default TOML template.

+
source

pub fn from_template(template: &str) -> Result<Self, Error>

Parse an instance of Self straight from the default TOML template.

+
source

pub fn write_toml_file<P>(filepath: P) -> Result<(), Error>where P: AsRef<Path>,

Writes the default TOML template to a new file, located at filepath.

Errors

Returns a FileExists error if a file already exists at that location.

-
source

pub fn override_field<F, V>(field: &mut F, value: V) -> Result<(), Error>where +

source

pub fn override_field<F, V>(field: &mut F, value: V) -> Result<(), Error>where F: Parse, V: AsRef<str>,

Attempts to parse value and override the referenced field.

Examples
@@ -27,7 +27,7 @@ location.

Settings::override_field(&mut settings.actix.mode, "production")?; assert_eq!(settings.actix.mode, Mode::Production);
-
source

pub fn override_field_with_env_var<F, N>( +

source

pub fn override_field_with_env_var<F, N>( field: &mut F, var_name: N ) -> Result<(), Error>where @@ -43,7 +43,7 @@ std::env::set_var("OVERRIDE__MODE", &mut settings.actix.mode, "OVERRIDE__MODE")?; assert_eq!(settings.actix.mode, Mode::Production);

-

Trait Implementations§

source§

impl<F, I, S, B, A> ApplySettings<BasicSettings<A>> for HttpServer<F, I, S, B>where +

Trait Implementations§

source§

impl<F, I, S, B, A> ApplySettings<BasicSettings<A>> for HttpServer<F, I, S, B>where F: Fn() -> I + Send + Clone + 'static, I: IntoServiceFactory<S, Request>, S: ServiceFactory<Request, Config = AppConfig> + 'static, @@ -52,7 +52,7 @@ Settings::override_field_with_env_var(&mut setting S::Response: Into<Response<B>> + 'static, S::Future: 'static, B: MessageBody + 'static, - A: DeserializeOwned,

source§

fn apply_settings(self, settings: &BasicSettings<A>) -> Self

Apply some settings object value to self.
source§

impl<A: Clone> Clone for BasicSettings<A>

source§

fn clone(&self) -> BasicSettings<A>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<A: Debug> Debug for BasicSettings<A>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de, A> Deserialize<'de> for BasicSettings<A>where + A: DeserializeOwned,

source§

fn apply_settings(self, settings: &BasicSettings<A>) -> Self

Apply some settings object value to self.
source§

impl<A: Clone> Clone for BasicSettings<A>

source§

fn clone(&self) -> BasicSettings<A>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<A: Debug> Debug for BasicSettings<A>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de, A> Deserialize<'de> for BasicSettings<A>where A: Deserialize<'de>,

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<A: Hash> Hash for BasicSettings<A>

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, diff --git a/actix_settings/struct.NoSettings.html b/actix_settings/struct.NoSettings.html index 668018fe9..8b27990d3 100644 --- a/actix_settings/struct.NoSettings.html +++ b/actix_settings/struct.NoSettings.html @@ -1,4 +1,4 @@ -NoSettings in actix_settings - Rust
#[non_exhaustive]
pub struct NoSettings {}
Expand description

Marker type representing no defined application-specific settings.

+NoSettings in actix_settings - Rust
#[non_exhaustive]
pub struct NoSettings {}
Expand description

Marker type representing no defined application-specific settings.

Trait Implementations§

source§

impl Clone for NoSettings

source§

fn clone(&self) -> NoSettings

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NoSettings

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for NoSettings

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for NoSettings

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, diff --git a/actix_settings/struct.Tls.html b/actix_settings/struct.Tls.html index ea1400886..c334af9bc 100644 --- a/actix_settings/struct.Tls.html +++ b/actix_settings/struct.Tls.html @@ -1,4 +1,4 @@ -Tls in actix_settings - Rust

Struct actix_settings::Tls

source ·
pub struct Tls {
+Tls in actix_settings - Rust

Struct actix_settings::Tls

source ·
pub struct Tls {
     pub enabled: bool,
     pub certificate: PathBuf,
     pub private_key: PathBuf,
diff --git a/actix_settings/trait.ApplySettings.html b/actix_settings/trait.ApplySettings.html
index f314b5fb3..a8175c21b 100644
--- a/actix_settings/trait.ApplySettings.html
+++ b/actix_settings/trait.ApplySettings.html
@@ -1,9 +1,9 @@
-ApplySettings in actix_settings - Rust
pub trait ApplySettings<S> {
+ApplySettings in actix_settings - Rust
pub trait ApplySettings<S> {
     // Required method
     fn apply_settings(self, settings: &S) -> Self;
 }
Expand description

Extension trait for applying parsed settings to the server object.

-

Required Methods§

source

fn apply_settings(self, settings: &S) -> Self

Apply some settings object value to self.

-

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<F, I, S, B> ApplySettings<ActixSettings> for HttpServer<F, I, S, B>where +

Required Methods§

source

fn apply_settings(self, settings: &S) -> Self

Apply some settings object value to self.

+

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<F, I, S, B> ApplySettings<ActixSettings> for HttpServer<F, I, S, B>where F: Fn() -> I + Send + Clone + 'static, I: IntoServiceFactory<S, Request>, S: ServiceFactory<Request, Config = AppConfig> + 'static, @@ -11,7 +11,7 @@ S::InitError: Debug, S::Response: Into<Response<B>> + 'static, S::Future: 'static, - B: MessageBody + 'static,

source§

fn apply_settings(self, settings: &ActixSettings) -> Self

source§

impl<F, I, S, B, A> ApplySettings<BasicSettings<A>> for HttpServer<F, I, S, B>where + B: MessageBody + 'static,

source§

fn apply_settings(self, settings: &ActixSettings) -> Self

source§

impl<F, I, S, B, A> ApplySettings<BasicSettings<A>> for HttpServer<F, I, S, B>where F: Fn() -> I + Send + Clone + 'static, I: IntoServiceFactory<S, Request>, S: ServiceFactory<Request, Config = AppConfig> + 'static, @@ -20,4 +20,4 @@ S::Response: Into<Response<B>> + 'static, S::Future: 'static, B: MessageBody + 'static, - A: DeserializeOwned,

source§

fn apply_settings(self, settings: &BasicSettings<A>) -> Self

Implementors§

\ No newline at end of file + A: DeserializeOwned,

source§

fn apply_settings(self, settings: &BasicSettings<A>) -> Self

Implementors§

\ No newline at end of file diff --git a/actix_settings/trait.Parse.html b/actix_settings/trait.Parse.html index 08aedcede..1092f3a7d 100644 --- a/actix_settings/trait.Parse.html +++ b/actix_settings/trait.Parse.html @@ -1,4 +1,4 @@ -Parse in actix_settings - Rust

Trait actix_settings::Parse

source ·
pub trait Parse: Sized {
+Parse in actix_settings - Rust

Trait actix_settings::Parse

source ·
pub trait Parse: Sized {
     // Required method
     fn parse(string: &str) -> Result<Self, Error>;
 }
Expand description

A specialized FromStr trait that returns Error errors

diff --git a/actix_settings/type.Settings.html b/actix_settings/type.Settings.html index 88463ee7d..a3e97841f 100644 --- a/actix_settings/type.Settings.html +++ b/actix_settings/type.Settings.html @@ -1,4 +1,4 @@ -Settings in actix_settings - Rust

Type Alias actix_settings::Settings

source ·
pub type Settings = BasicSettings<NoSettings>;
Expand description

Convenience type alias for BasicSettings with no defined application-specific settings.

+Settings in actix_settings - Rust

Type Alias actix_settings::Settings

source ·
pub type Settings = BasicSettings<NoSettings>;
Expand description

Convenience type alias for BasicSettings with no defined application-specific settings.

Aliased Type§

struct Settings {
     pub actix: ActixSettings,
     pub application: NoSettings,
diff --git a/help.html b/help.html
index b6aa034ea..7e6d49454 100644
--- a/help.html
+++ b/help.html
@@ -1 +1 @@
-Help

Rustdoc help

Back
\ No newline at end of file +Help

Rustdoc help

Back
\ No newline at end of file diff --git a/search-index.js b/search-index.js index d3faa8eb5..bf2d4cf2a 100644 --- a/search-index.js +++ b/search-index.js @@ -5,7 +5,7 @@ var searchIndex = JSON.parse('{\ "actix_protobuf":{"doc":"Protobuf payload extractor for Actix Web.","t":"NNNNDDDEINLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLL","n":["ContentType","Deserialize","Overflow","Payload","ProtoBuf","ProtoBufConfig","ProtoBufMessage","ProtoBufPayloadError","ProtoBufResponseBuilder","Serialize","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","default","deref","deref_mut","error_response","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from_request","into","into","into","into","into_future","limit","limit","new","poll","protobuf","resource_path","respond_to","to_string","to_string","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_poll","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip"],"q":[[0,"actix_protobuf"],[64,"prost::message"],[65,"actix_web::response::response"],[66,"core::fmt"],[67,"core::fmt"],[68,"actix_http::error"],[69,"actix_web::request"],[70,"actix_http::payload"],[71,"core::default"],[72,"core::pin"],[73,"core::task::wake"],[74,"core::task::poll"],[75,"actix_web::error::error"],[76,"core::result"],[77,"actix_router::path"],[78,"alloc::string"],[79,"core::any"]],"d":["Content type error","Deserialize error","Payload size is bigger than 256k","Payload error","","","","","","Serialize error","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Change max size of payload. By default max size is 256Kb","Change max size of payload. By default max size is 256Kb","Create ProtoBufMessage for request.","","","","","","","","","","","","","","","","","","","","","","",""],"i":[4,4,4,4,0,0,0,0,0,4,2,1,15,4,2,1,15,4,1,2,2,4,2,2,4,4,2,1,15,4,4,4,2,2,1,15,4,15,1,15,15,15,25,2,2,2,4,2,1,15,4,2,1,15,4,15,2,1,15,4,2,1,15,4],"f":[0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[],1],[[[2,[-1]]],-1,3],[[[2,[-1]]],-1,3],[4,5],[[[2,[-1]],6],7,[8,3]],[[[2,[-1]],6],7,[9,3]],[[4,6],7],[[4,6],7],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[10,4],[11,4],[[12,13]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[],[]],[[1,14],1],[[[15,[-1]],14],[[15,[-1]]],[3,16]],[[12,13],[[15,[-1]]],[3,16]],[[[17,[[15,[-1]]]],18],19,[3,16]],[[-1,-2],[[21,[5,20]]],[],3],[-1,22,[]],[[[2,[-1]],12],5,[3,16]],[-1,23,[]],[-1,23,[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[[[17,[-1]],18],19,[]],[-1,24,[]],[-1,24,[]],[-1,24,[]],[-1,24,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]]],"c":[],"p":[[3,"ProtoBufConfig",0],[3,"ProtoBuf",0],[8,"Message",64],[4,"ProtoBufPayloadError",0],[3,"HttpResponse",65],[3,"Formatter",66],[6,"Result",66],[8,"Display",66],[8,"Debug",66],[3,"DecodeError",67],[4,"PayloadError",68],[3,"HttpRequest",69],[4,"Payload",70],[15,"usize"],[3,"ProtoBufMessage",0],[8,"Default",71],[3,"Pin",72],[3,"Context",73],[4,"Poll",74],[3,"Error",75],[4,"Result",76],[3,"Path",77],[3,"String",78],[3,"TypeId",79],[8,"ProtoBufResponseBuilder",0]],"b":[[22,"impl-Display-for-ProtoBuf%3CT%3E"],[23,"impl-Debug-for-ProtoBuf%3CT%3E"],[24,"impl-Display-for-ProtoBufPayloadError"],[25,"impl-Debug-for-ProtoBufPayloadError"],[30,"impl-From%3CDecodeError%3E-for-ProtoBufPayloadError"],[31,"impl-From%3CPayloadError%3E-for-ProtoBufPayloadError"]]},\ "actix_redis":{"doc":"Redis integration for actix.","t":"NNDNNENNNNNNNDNNEENNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLOLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["Array","BulkString","Command","Connection","Disconnected","Error","Error","IO","Integer","Internal","Nil","NotConnected","Redis","RedisActor","Remote","Resp","RespError","RespValue","SimpleString","Unexpected","append","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","eq","error","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_resp_int","handle","handle","into","into","into","into","into","push","resp_array","restarting","source","source","start","started","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip"],"q":[[0,"actix_redis"],[97,"core::iter::traits::collect"],[98,"std::io::error"],[99,"actix::actor"],[100,"core::fmt"],[101,"core::fmt"],[102,"alloc::string"],[103,"alloc::vec"],[104,"alloc::sync"],[105,"futures_channel::mpsc"],[106,"core::marker"],[107,"core::convert"],[108,"core::error"],[109,"core::option"],[110,"actix::address"],[111,"actix::context"],[112,"core::any"]],"d":["Zero, one or more other RespValues.","A bulk string. In Redis terminology a string is a …","Command for sending data to Redis.","Error creating a connection, or an error with a connection …","Cancel all waiters when connection is dropped.","General purpose actix-redis error.","An error from the Redis server","An IO error occurred","Redis documentation defines an integer as being a signed …","A non-specific internal error that prevented an operation …","","Receiving message during reconnecting.","","Redis communication actor.","A remote error","A RESP parsing/serialising error occurred","","A single RESP value, this owns the data that is read/to-be …","","An unexpected error. In this context “unexpected” …","Convenience function for building dynamic Redis commands …","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Push item to Resp array","Macro to create a RESP array, useful for preparing …","","","","Start new Supervisor with RedisActor.","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[1,1,0,3,12,0,1,3,1,3,1,12,12,0,3,3,0,0,1,3,1,6,9,12,1,3,6,9,12,1,3,1,3,1,3,1,6,9,12,12,1,3,3,6,9,12,12,1,1,1,1,1,1,1,1,3,3,3,1,6,6,6,9,12,1,3,1,0,6,12,3,6,6,1,3,12,3,6,9,12,1,3,6,9,12,1,3,6,9,12,1,3,6,9,12,1,3],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[1,-1],1,2],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[1,1],[3,3],[[-1,-2],4,[],[]],[[-1,-2],4,[],[]],[[1,1],5],[[6,7],8],[[9,10],11],[[12,10],11],[[12,10],11],[[1,10],[[14,[4,13]]]],[[3,10],[[14,[4,13]]]],[[3,10],[[14,[4,13]]]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[3,12],[15,1],[16,1],[[[18,[17]]],1],[19,1],[16,1],[[[20,[17]]],1],[[[21,[19]]],1],[-1,-1,[]],[7,3],[[[22,[-1]]],3,23],[-1,-1,[]],[1,[[14,[1,3]]]],[[6,9]],[[6,[14,[1,3]]],4],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[1,-1],4,[[24,[1]]]],0,[6,4],[12,[[26,[25]]]],[3,[[26,[25]]]],[-1,[[27,[6]]],[[24,[16]]]],[[6,[28,[6]]],4],[-1,-2,[],[]],[-1,-2,[],[]],[-1,16,[]],[-1,16,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,29,[]],[-1,29,[]],[-1,29,[]],[-1,29,[]],[-1,29,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]]],"c":[],"p":[[4,"RespValue",0],[8,"IntoIterator",97],[4,"RespError",0],[15,"tuple"],[15,"bool"],[3,"RedisActor",0],[3,"Error",98],[4,"Running",99],[3,"Command",0],[3,"Formatter",100],[6,"Result",100],[4,"Error",0],[3,"Error",100],[4,"Result",101],[15,"usize"],[3,"String",102],[15,"u8"],[3,"Vec",103],[15,"str"],[15,"slice"],[3,"Arc",104],[3,"TrySendError",105],[8,"Send",106],[8,"Into",107],[8,"Error",108],[4,"Option",109],[3,"Addr",110],[3,"Context",111],[3,"TypeId",112]],"b":[[38,"impl-Debug-for-Error"],[39,"impl-Display-for-Error"],[41,"impl-Debug-for-Error"],[42,"impl-Display-for-Error"],[47,"impl-From%3Cusize%3E-for-RespValue"],[48,"impl-From%3C%26String%3E-for-RespValue"],[49,"impl-From%3CVec%3Cu8%3E%3E-for-RespValue"],[50,"impl-From%3C%26str%3E-for-RespValue"],[51,"impl-From%3CString%3E-for-RespValue"],[52,"impl-From%3C%26%5Bu8%5D%3E-for-RespValue"],[53,"impl-From%3CArc%3Cstr%3E%3E-for-RespValue"],[55,"impl-From%3CError%3E-for-Error"],[56,"impl-From%3CTrySendError%3CT%3E%3E-for-Error"],[59,"impl-Handler%3CCommand%3E-for-RedisActor"],[60,"impl-StreamHandler%3CResult%3CRespValue,+Error%3E%3E-for-RedisActor"]]},\ "actix_session":{"doc":"Session management for Actix Web.","t":"NNNDIDDDENLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLDNENNDNNEDNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDNENNNDDDDENNDIELLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLKLLLLLLLLLLLL","n":["Changed","Purged","Renewed","Session","SessionExt","SessionGetError","SessionInsertError","SessionMiddleware","SessionStatus","Unchanged","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","builder","clear","clone","clone","clone","clone_into","clone_into","clone_into","config","default","entries","eq","error_response","error_response","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from_request","get","get_session","insert","into","into","into","into","into","new","new_transform","purge","remove","remove_as","renew","source","source","status","storage","to_owned","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","BrowserSession","BrowserSession","CookieContentSecurity","OnEveryRequest","OnStateChanges","PersistentSession","PersistentSession","Private","SessionLifecycle","SessionMiddlewareBuilder","Signed","TtlExtensionPolicy","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cookie_content_security","cookie_domain","cookie_http_only","cookie_name","cookie_path","cookie_same_site","cookie_secure","default","default","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","into","into","into","into","into","into","session_lifecycle","session_ttl","session_ttl_extension_policy","state_ttl","state_ttl_extension_policy","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","CookieSessionStore","Deserialization","LoadError","Other","Other","Other","RedisActorSessionStore","RedisActorSessionStoreBuilder","RedisSessionStore","RedisSessionStoreBuilder","SaveError","Serialization","Serialization","SessionKey","SessionStore","UpdateError","as_ref","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build","builder","builder","cache_keygen","cache_keygen","clone","clone_into","default","delete","delete","delete","delete","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","into","into","into","into","into","into","into","into","into","load","load","load","load","new","new","save","save","save","save","source","source","source","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","update","update","update","update","update_ttl","update_ttl","update_ttl","update_ttl","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip"],"q":[[0,"actix_session"],[90,"actix_session::config"],[187,"actix_session::storage"],[323,"cookie::secure::key"],[324,"core::clone"],[325,"alloc::string"],[326,"std::collections::hash::map"],[327,"core::cell"],[328,"actix_http::body::boxed"],[329,"actix_web::response::response"],[330,"core::fmt"],[331,"core::fmt"],[332,"actix_web::request"],[333,"actix_http::payload"],[334,"core::option"],[335,"core::result"],[336,"serde::de"],[337,"core::convert"],[338,"serde::ser"],[339,"actix_web::service"],[340,"actix_service"],[341,"core::error"],[342,"core::any"],[343,"cookie::draft"],[344,"time::duration"],[345,"core::ops::function"],[346,"core::marker"],[347,"core::marker"],[348,"alloc::boxed"],[349,"core::pin"]],"d":["Session state has been updated - the changes will have to …","The session has been flagged for deletion - the session …","The session has been flagged for renewal.","The primary interface to access and modify session state.","Extract a Session object from various actix-web types …","Error returned by Session::get.","Error returned by Session::insert.","A middleware for session management in Actix Web …","Status of a Session.","The session state has not been modified since its …","","","","","","","","","","","A fluent API to configure SessionMiddleware.","Clear the session.","","","","","","","Configuration options to tune the behaviour of …","","Get all raw key-value data from the session.","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","","Get a value from the session.","Extract a Session object.","Inserts a key-value pair into the session.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Use SessionMiddleware::new to initialize the session …","","Removes session both client and server side.","Remove value from the session.","Remove value from the session and deserialize.","Renews the session key, assigning existing session state …","","","Returns session status.","Pluggable storage backends for session state.","","","","","","","","","","","","","","","","","","","","","","","","","","A session lifecycle strategy where the session cookie …","The session cookie will expire when the current browser …","Determines how to secure the content of the session cookie.","The TTL is refreshed every time the server receives a …","The TTL is refreshed every time the session state changes …","A session lifecycle strategy where the session cookie will …","The session cookie will be a persistent cookie.","The cookie content is encrypted when using …","Determines what type of session cookie should be used and …","A fluent, customized SessionMiddleware builder.","The cookie content is signed when using …","Configuration for which events should trigger an extension …","","","","","","","","","","","","","Finalise the builder and return a SessionMiddleware …","","","","","","","","","","","Choose how the session cookie content should be secured.","Set the Domain attribute for the cookie used to store the …","Set the HttpOnly attribute for the cookie used to store …","Set the name of the cookie used to store the session ID.","Set the Path attribute for the cookie used to store the …","Set the SameSite attribute for the cookie used to store …","Set the Secure attribute for the cookie used to store the …","","","","","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Determines what type of session cookie should be used and …","Specifies how long the session cookie should live.","Determines under what circumstances the TTL of your …","Sets a time-to-live (TTL) when storing the session state …","Determine under what circumstances the TTL of your session …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Use the session key, stored in the session cookie, as …","Failed to deserialize session state.","Possible failures modes for SessionStore::load.","Something went wrong when retrieving the session state.","Something went wrong when persisting the session state.","Something went wrong when updating the session state.","Use Redis as session storage backend.","A fluent builder to construct a RedisActorSessionStore …","Use Redis as session storage backend.","A fluent builder to construct a RedisSessionStore instance …","Possible failures modes for SessionStore::save.","Failed to serialize session state.","Failed to serialize session state.","A session key, the string stored in a client-side cookie …","The interface to retrieve and save the current session …","Possible failures modes for SessionStore::update.","","","","","","","","","","","","","","","","","","","","Finalise the builder and return a RedisActorSessionStore …","Finalise the builder and return a RedisActorSessionStore …","A fluent API to configure RedisActorSessionStore.","A fluent API to configure RedisSessionStore. It takes as …","Set a custom cache key generation strategy, expecting a …","Set a custom cache key generation strategy, expecting a …","","","","Deletes a session from the store.","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Loads the session state associated to a session key.","","","","Create a new instance of RedisActorSessionStore using the …","Create a new instance of RedisSessionStore using the …","Persist the session state for a newly created session.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Updates the session state associated to a pre-existing …","","","","Updates the TTL of the session state associated to a …","","","","","","","","","","","",""],"i":[8,8,8,0,0,0,0,0,0,8,6,4,8,13,16,6,4,8,13,16,6,4,6,4,8,6,4,8,0,8,4,8,13,16,8,13,13,16,16,6,4,8,13,13,16,16,4,4,54,4,6,4,8,13,16,6,6,4,4,4,4,13,16,4,0,6,4,8,13,16,6,4,8,13,16,6,4,8,13,16,6,4,8,13,16,6,4,8,13,16,0,32,0,35,35,0,32,36,0,0,36,0,2,32,33,34,35,36,2,32,33,34,35,36,2,32,33,34,35,36,32,33,34,35,36,2,2,2,2,2,2,2,33,34,32,33,34,35,36,2,32,32,32,33,34,35,36,2,32,33,34,35,36,2,34,34,33,33,32,33,34,35,36,2,32,33,34,35,36,2,32,33,34,35,36,2,32,33,34,35,36,2,32,33,34,35,36,0,51,0,51,52,53,0,0,0,0,0,52,53,0,0,0,39,41,40,42,51,52,53,39,47,43,41,40,42,51,52,53,39,47,43,40,42,41,43,40,42,43,43,47,3,41,47,43,39,51,51,52,52,53,53,39,41,40,42,51,52,53,39,47,43,41,40,42,51,52,53,39,47,43,3,41,47,43,41,43,3,41,47,43,51,52,53,43,51,52,53,41,40,42,51,52,53,39,39,47,43,41,40,42,51,52,53,39,47,43,41,40,42,51,52,53,39,47,43,3,41,47,43,3,41,47,43,41,40,42,51,52,53,39,47,43],"f":[0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,1],[[2,[-1]]],3],[4,5],[[[6,[-1]]],[[6,[-1]]],[7,3]],[4,4],[8,8],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[],8],[4,[[11,[[10,[9,9]]]]]],[[8,8],12],[13,[[15,[14]]]],[16,[[15,[14]]]],[[8,17],18],[[13,17],18],[[13,17],18],[[16,17],18],[[16,17],18],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[19,13],[-1,-1,[]],[19,16],[[20,21]],[[4,22],[[24,[[23,[-1]],13]]],25],[-1,4,[]],[[4,-1,-2],[[24,[5,16]]],[[26,[9]]],27],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,1],[[6,[-1]]],3],[[[6,[-1]],-2],[],3,[[29,[28]]]],[4,5],[[4,22],[[23,[9]]]],[[4,22],[[23,[[24,[-1,9]]]]],25],[4,5],[13,[[23,[30]]]],[16,[[23,[30]]]],[4,8],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,9,[]],[-1,9,[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[2,[-1]]],[[6,[-1]]],3],[32,32],[33,33],[34,34],[35,35],[36,36],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[[2,[-1]],36],[[2,[-1]]],3],[[[2,[-1]],[23,[9]]],[[2,[-1]]],3],[[[2,[-1]],12],[[2,[-1]]],3],[[[2,[-1]],9],[[2,[-1]]],3],[[[2,[-1]],9],[[2,[-1]]],3],[[[2,[-1]],37],[[2,[-1]]],3],[[[2,[-1]],12],[[2,[-1]]],3],[[],33],[[],34],[[32,17],18],[[33,17],18],[[34,17],18],[[35,17],18],[[36,17],18],[-1,-1,[]],[34,32],[33,32],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[2,[-1]],-2],[[2,[-1]]],3,[[26,[32]]]],[[34,38],34],[[34,35],34],[[33,38],33],[[33,35],33],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[39,22],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[40,41],[42,[[24,[43,19]]]],[-1,40,[[26,[9]]]],[-1,42,[[26,[9]]]],[[40,-1],40,44],[[42,-1],42,[44,45,46]],[43,43],[[-1,-2],5,[],[]],[[],47],[[-1,39],[[50,[[49,[48]]]]],[]],[[41,39],[[50,[[49,[48]]]]]],[[47,39],[[50,[[49,[48]]]]]],[[43,39],[[50,[[49,[48]]]]]],[[39,39],12],[[51,17],18],[[51,17],18],[[52,17],18],[[52,17],18],[[53,17],18],[[53,17],18],[[39,17],18],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,39],[[50,[[49,[48]]]]],[]],[[41,39],[[50,[[49,[48]]]]]],[[47,39],[[50,[[49,[48]]]]]],[[43,39],[[50,[[49,[48]]]]]],[-1,41,[[26,[9]]]],[-1,[[24,[43,19]]],[[26,[9]]]],[[-1,[10,[9,9]],38],[[50,[[49,[48]]]]],[]],[[41,[10,[9,9]],38],[[50,[[49,[48]]]]]],[[47,[10,[9,9]],38],[[50,[[49,[48]]]]]],[[43,[10,[9,9]],38],[[50,[[49,[48]]]]]],[51,[[23,[30]]]],[52,[[23,[30]]]],[53,[[23,[30]]]],[-1,-2,[],[]],[-1,9,[]],[-1,9,[]],[-1,9,[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[9,[[24,[39]]]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[[-1,39,[10,[9,9]],38],[[50,[[49,[48]]]]],[]],[[41,39,[10,[9,9]],38],[[50,[[49,[48]]]]]],[[47,39,[10,[9,9]],38],[[50,[[49,[48]]]]]],[[43,39,[10,[9,9]],38],[[50,[[49,[48]]]]]],[[-1,39,38],[[50,[[49,[48]]]]],[]],[[41,39,38],[[50,[[49,[48]]]]]],[[47,39,38],[[50,[[49,[48]]]]]],[[43,39,38],[[50,[[49,[48]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]]],"c":[],"p":[[3,"Key",323],[3,"SessionMiddlewareBuilder",90],[8,"SessionStore",187],[3,"Session",0],[15,"tuple"],[3,"SessionMiddleware",0],[8,"Clone",324],[4,"SessionStatus",0],[3,"String",325],[3,"HashMap",326],[3,"Ref",327],[15,"bool"],[3,"SessionGetError",0],[3,"BoxBody",328],[3,"HttpResponse",329],[3,"SessionInsertError",0],[3,"Formatter",330],[6,"Result",330],[3,"Error",331],[3,"HttpRequest",332],[4,"Payload",333],[15,"str"],[4,"Option",334],[4,"Result",335],[8,"DeserializeOwned",336],[8,"Into",337],[8,"Serialize",338],[3,"ServiceRequest",339],[8,"Service",340],[8,"Error",341],[3,"TypeId",342],[4,"SessionLifecycle",90],[3,"BrowserSession",90],[3,"PersistentSession",90],[4,"TtlExtensionPolicy",90],[4,"CookieContentSecurity",90],[4,"SameSite",343],[3,"Duration",344],[3,"SessionKey",187],[3,"RedisActorSessionStoreBuilder",187],[3,"RedisActorSessionStore",187],[3,"RedisSessionStoreBuilder",187],[3,"RedisSessionStore",187],[8,"Fn",345],[8,"Send",346],[8,"Sync",346],[3,"CookieSessionStore",187],[8,"Future",347],[3,"Box",348],[3,"Pin",349],[4,"LoadError",187],[4,"SaveError",187],[4,"UpdateError",187],[8,"SessionExt",0]],"b":[[35,"impl-Display-for-SessionGetError"],[36,"impl-Debug-for-SessionGetError"],[37,"impl-Display-for-SessionInsertError"],[38,"impl-Debug-for-SessionInsertError"],[140,"impl-From%3CPersistentSession%3E-for-SessionLifecycle"],[141,"impl-From%3CBrowserSession%3E-for-SessionLifecycle"],[236,"impl-Display-for-LoadError"],[237,"impl-Debug-for-LoadError"],[238,"impl-Display-for-SaveError"],[239,"impl-Debug-for-SaveError"],[240,"impl-Debug-for-UpdateError"],[241,"impl-Display-for-UpdateError"]]},\ -"actix_settings":{"doc":"Easily manage Actix Web’s settings from a TOML file and …","t":"DDIEDNNNNNNNNNENNNENNNNEENEDENINNNNNNGEDNMMMMKMLLLLLLLLLLLLLLLLLLLLLLLLLLMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLMMMMMLLKLLLLLLLLLMMMLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMM","n":["ActixSettings","Address","ApplySettings","Backlog","BasicSettings","Default","Default","Default","Default","Default","Default","Development","Disabled","EnvVarError","Error","FileExists","InvalidValue","IoError","KeepAlive","Manual","Manual","Manual","Manual","MaxConnectionRate","MaxConnections","Milliseconds","Mode","NoSettings","NumWorkers","Os","Parse","ParseAddressError","ParseBoolError","ParseIntError","Production","Seconds","Seconds","Settings","Timeout","Tls","TomlError","actix","actix","application","application","apply_settings","backlog","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","certificate","client_shutdown","client_timeout","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","enable_compression","enable_log","enabled","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_default_template","from_template","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","host","hosts","into","into","into","into","into","into","into","into","into","into","into","into","into","keep_alive","max_connection_rate","max_connections","mode","num_workers","override_field","override_field_with_env_var","parse","parse","parse","parse","parse","parse","parse","parse","parse","parse_toml","port","private_key","shutdown_timeout","source","tls","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","write_toml_file","column","expected","file","got","line"],"q":[[0,"actix_settings"],[312,"actix_settings::Error"],[317,"core::clone"],[318,"core::result"],[319,"serde::de"],[320,"serde::de"],[321,"core::fmt"],[322,"core::fmt"],[323,"core::num::error"],[324,"core::str::error"],[325,"std::env"],[326,"std::io::error"],[327,"serde::de"],[328,"core::hash"],[329,"std::path"],[330,"core::error"],[331,"core::option"],[332,"alloc::string"],[333,"core::any"]],"d":["Settings types for Actix Web.","A host/port pair for the server to bind to.","Extension trait for applying parsed settings to the server …","The maximum number of pending connections.","Wrapper for server and application-specific settings.","The default number of connections. See struct docs.","The default keep-alive as defined by Actix Web.","The default connection limit. See struct docs.","The default number of connections. See struct docs.","The default number of workers. See struct docs.","The default timeout. Depends on context.","Marks development environment.","Disable keep-alive.","Environment variable does not exists or is invalid.","Errors that can be returned from methods in this crate.","File already exists on disk.","Invalid value.","I/O error.","The server keep-alive preference.","A specific number of connections.","A specific connection limit.","A specific number of connections.","A specific number of workers.","The maximum per-worker concurrent TLS connection limit.","The maximum per-worker number of concurrent connections.","Timeout in milliseconds.","Marker of intended deployment environment.","Marker type representing no defined application-specific …","The number of workers that the server should start.","Let the OS determine keep-alive duration.","A specialized FromStr trait that returns Error errors","Value is not an address.","Value is not a boolean.","Value is not an integer.","Marks production environment.","A specific keep-alive duration (in seconds).","Timeout in seconds.","Convenience type alias for BasicSettings with no defined …","A timeout duration in milliseconds or seconds.","TLS (HTTPS) configuration.","Error deserializing as TOML.","Actix Web server settings.","Actix Web server settings.","Application-specific settings.","Application-specific settings.","Apply some settings object value to self.","The maximum number of pending connections.","","","","","","","","","","","","","","","","","","","","","","","","","","","Path to certificate .pem file.","Timeout duration for connection shutdown.","Timeout duration for reading client request header.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","True if the Compress middleware should be enabled.","True if the Logger middleware should be enabled.","Tru if accepting TLS connections should be enabled.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Parse an instance of Self straight from the default TOML …","Parse an instance of Self straight from the default TOML …","","","","","","","","","","","","","Host part of address.","List of addresses for the server to bind to.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Server keep-alive preference.","The per-worker maximum concurrent TLS connection limit.","The per-worker maximum number of concurrent connections.","Marker of intended deployment environment.","The number of workers that the server should start.","Attempts to parse value and override the referenced field.","Attempts to read an environment variable, parse it, and …","Parse Self from string.","","","","","","","","","Parse an instance of Self from a TOML file located at …","Port part of address.","Path to private key .pem file.","Timeout duration for graceful worker shutdown.","","TLS (HTTPS) configuration.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Writes the default TOML template to a new file, located at …","","","","",""],"i":[0,0,0,0,0,2,3,4,5,7,8,6,3,20,0,20,20,20,0,2,4,5,7,0,0,8,0,0,0,3,0,20,20,20,6,3,8,0,0,0,20,40,11,40,11,41,10,20,1,2,3,4,5,6,7,8,9,10,11,13,20,1,2,3,4,5,6,7,8,9,10,11,13,9,10,10,1,2,3,4,5,6,7,8,9,10,11,13,1,2,3,4,5,6,7,8,9,10,11,13,1,2,3,4,5,6,7,8,9,10,11,13,10,10,9,1,2,3,4,5,6,7,8,9,10,11,13,1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,13,13,13,20,20,1,2,3,4,5,6,7,8,9,10,11,13,20,20,20,20,20,20,1,2,3,4,5,6,7,8,9,10,11,13,11,11,1,2,3,4,5,6,7,8,9,10,11,13,1,10,20,1,2,3,4,5,6,7,8,9,10,11,13,10,10,10,10,10,11,11,33,1,2,3,4,5,6,7,8,11,1,9,10,20,10,1,2,3,4,5,6,7,8,9,10,11,13,20,20,1,2,3,4,5,6,7,8,9,10,11,13,20,1,2,3,4,5,6,7,8,9,10,11,13,20,1,2,3,4,5,6,7,8,9,10,11,13,20,1,2,3,4,5,6,7,8,9,10,11,13,11,42,42,42,42,42],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,-2],-1,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[1,1],[2,2],[3,3],[4,4],[5,5],[6,6],[7,7],[8,8],[9,9],[10,10],[[[11,[-1]]],[[11,[-1]]],12],[13,13],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[-1,[[15,[1]]],16],[-1,[[15,[2]]],16],[-1,[[15,[3]]],16],[-1,[[15,[4]]],16],[-1,[[15,[5]]],16],[-1,[[15,[6]]],16],[-1,[[15,[7]]],16],[-1,[[15,[8]]],16],[-1,[[15,[9]]],16],[-1,[[15,[10]]],16],[-1,[[15,[[11,[-2]]]]],16,17],[-1,[[15,[13]]],16],0,0,0,[[1,1],18],[[2,2],18],[[3,3],18],[[4,4],18],[[5,5],18],[[6,6],18],[[7,7],18],[[8,8],18],[[9,9],18],[[10,10],18],[[[11,[-1]],[11,[-1]]],18,19],[[13,13],18],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[20,21],22],[[20,21],22],[[1,21],22],[[2,21],22],[[3,21],22],[[4,21],22],[[5,21],22],[[6,21],22],[[7,21],22],[[8,21],22],[[9,21],22],[[10,21],22],[[[11,[-1]],21],22,23],[[13,21],22],[24,20],[25,20],[-1,-1,[]],[26,20],[27,20],[28,20],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[],[[15,[[11,[-1]],20]]],29],[30,[[15,[[11,[-1]],20]]],29],[[1,-1],14,31],[[2,-1],14,31],[[3,-1],14,31],[[4,-1],14,31],[[5,-1],14,31],[[6,-1],14,31],[[7,-1],14,31],[[8,-1],14,31],[[9,-1],14,31],[[10,-1],14,31],[[[11,[-1]],-2],14,32,31],[[13,-1],14,31],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,[[-1,-2],[[15,[14,20]]],33,[[34,[30]]]],[[-1,-2],[[15,[14,20]]],33,[[34,[30]]]],[30,[[15,[-1,20]]],[]],[30,[[15,[1,20]]]],[30,[[15,[2,20]]]],[30,[[15,[3,20]]]],[30,[[15,[4,20]]]],[30,[[15,[5,20]]]],[30,[[15,[6,20]]]],[30,[[15,[7,20]]]],[30,[[15,[8,20]]]],[-1,[[15,[[11,[-2]],20]]],[[34,[35]]],29],0,0,0,[20,[[37,[36]]]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,38,[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[15,[14,20]]],[[34,[35]]]],0,0,0,0,0],"c":[],"p":[[3,"Address",0],[4,"Backlog",0],[4,"KeepAlive",0],[4,"MaxConnectionRate",0],[4,"MaxConnections",0],[4,"Mode",0],[4,"NumWorkers",0],[4,"Timeout",0],[3,"Tls",0],[3,"ActixSettings",0],[3,"BasicSettings",0],[8,"Clone",317],[3,"NoSettings",0],[15,"tuple"],[4,"Result",318],[8,"Deserializer",319],[8,"Deserialize",319],[15,"bool"],[8,"PartialEq",320],[4,"Error",0],[3,"Formatter",321],[6,"Result",321],[8,"Debug",321],[3,"Error",322],[3,"ParseIntError",323],[3,"ParseBoolError",324],[4,"VarError",325],[3,"Error",326],[8,"DeserializeOwned",319],[15,"str"],[8,"Hasher",327],[8,"Hash",327],[8,"Parse",0],[8,"AsRef",328],[3,"Path",329],[8,"Error",330],[4,"Option",331],[3,"String",332],[3,"TypeId",333],[6,"Settings",0],[8,"ApplySettings",0],[13,"InvalidValue",312]],"b":[[163,"impl-Display-for-Error"],[164,"impl-Debug-for-Error"],[177,"impl-From%3CError%3E-for-Error"],[178,"impl-From%3CParseIntError%3E-for-Error"],[180,"impl-From%3CParseBoolError%3E-for-Error"],[181,"impl-From%3CVarError%3E-for-Error"],[182,"impl-From%3CError%3E-for-Error"]],"a":{"https":[39],"ssl":[39]}},\ +"actix_settings":{"doc":"Easily manage Actix Web’s settings from a TOML file and …","t":"DDIEDNNNNNNNNNENNNENNNNEENEDENINNNNNNGEDNMMMMKMLLLLLLLLLLLLLLLLLLLLLLLLLLMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLMMMMMLLKLLLLLLLLLMMMLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMM","n":["ActixSettings","Address","ApplySettings","Backlog","BasicSettings","Default","Default","Default","Default","Default","Default","Development","Disabled","EnvVarError","Error","FileExists","InvalidValue","IoError","KeepAlive","Manual","Manual","Manual","Manual","MaxConnectionRate","MaxConnections","Milliseconds","Mode","NoSettings","NumWorkers","Os","Parse","ParseAddressError","ParseBoolError","ParseIntError","Production","Seconds","Seconds","Settings","Timeout","Tls","TomlError","actix","actix","application","application","apply_settings","backlog","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","certificate","client_shutdown","client_timeout","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","enable_compression","enable_log","enabled","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_default_template","from_template","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","host","hosts","into","into","into","into","into","into","into","into","into","into","into","into","into","keep_alive","max_connection_rate","max_connections","mode","num_workers","override_field","override_field_with_env_var","parse","parse","parse","parse","parse","parse","parse","parse","parse","parse_toml","port","private_key","shutdown_timeout","source","tls","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","write_toml_file","column","expected","file","got","line"],"q":[[0,"actix_settings"],[312,"actix_settings::Error"],[317,"core::clone"],[318,"core::result"],[319,"serde::de"],[320,"serde::de"],[321,"core::fmt"],[322,"core::fmt"],[323,"core::str::error"],[324,"std::env"],[325,"core::num::error"],[326,"toml::de"],[327,"serde::de"],[328,"core::hash"],[329,"std::path"],[330,"core::error"],[331,"core::option"],[332,"alloc::string"],[333,"core::any"]],"d":["Settings types for Actix Web.","A host/port pair for the server to bind to.","Extension trait for applying parsed settings to the server …","The maximum number of pending connections.","Wrapper for server and application-specific settings.","The default number of connections. See struct docs.","The default keep-alive as defined by Actix Web.","The default connection limit. See struct docs.","The default number of connections. See struct docs.","The default number of workers. See struct docs.","The default timeout. Depends on context.","Marks development environment.","Disable keep-alive.","Environment variable does not exists or is invalid.","Errors that can be returned from methods in this crate.","File already exists on disk.","Invalid value.","I/O error.","The server keep-alive preference.","A specific number of connections.","A specific connection limit.","A specific number of connections.","A specific number of workers.","The maximum per-worker concurrent TLS connection limit.","The maximum per-worker number of concurrent connections.","Timeout in milliseconds.","Marker of intended deployment environment.","Marker type representing no defined application-specific …","The number of workers that the server should start.","Let the OS determine keep-alive duration.","A specialized FromStr trait that returns Error errors","Value is not an address.","Value is not a boolean.","Value is not an integer.","Marks production environment.","A specific keep-alive duration (in seconds).","Timeout in seconds.","Convenience type alias for BasicSettings with no defined …","A timeout duration in milliseconds or seconds.","TLS (HTTPS) configuration.","Error deserializing as TOML.","Actix Web server settings.","Actix Web server settings.","Application-specific settings.","Application-specific settings.","Apply some settings object value to self.","The maximum number of pending connections.","","","","","","","","","","","","","","","","","","","","","","","","","","","Path to certificate .pem file.","Timeout duration for connection shutdown.","Timeout duration for reading client request header.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","True if the Compress middleware should be enabled.","True if the Logger middleware should be enabled.","Tru if accepting TLS connections should be enabled.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Parse an instance of Self straight from the default TOML …","Parse an instance of Self straight from the default TOML …","","","","","","","","","","","","","Host part of address.","List of addresses for the server to bind to.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Server keep-alive preference.","The per-worker maximum concurrent TLS connection limit.","The per-worker maximum number of concurrent connections.","Marker of intended deployment environment.","The number of workers that the server should start.","Attempts to parse value and override the referenced field.","Attempts to read an environment variable, parse it, and …","Parse Self from string.","","","","","","","","","Parse an instance of Self from a TOML file located at …","Port part of address.","Path to private key .pem file.","Timeout duration for graceful worker shutdown.","","TLS (HTTPS) configuration.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Writes the default TOML template to a new file, located at …","","","","",""],"i":[0,0,0,0,0,2,3,4,5,7,8,6,3,20,0,20,20,20,0,2,4,5,7,0,0,8,0,0,0,3,0,20,20,20,6,3,8,0,0,0,20,40,11,40,11,41,10,20,1,2,3,4,5,6,7,8,9,10,11,13,20,1,2,3,4,5,6,7,8,9,10,11,13,9,10,10,1,2,3,4,5,6,7,8,9,10,11,13,1,2,3,4,5,6,7,8,9,10,11,13,1,2,3,4,5,6,7,8,9,10,11,13,10,10,9,1,2,3,4,5,6,7,8,9,10,11,13,1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,13,13,13,20,20,1,2,3,4,5,6,7,8,9,10,11,13,20,20,20,20,20,20,1,2,3,4,5,6,7,8,9,10,11,13,11,11,1,2,3,4,5,6,7,8,9,10,11,13,1,10,20,1,2,3,4,5,6,7,8,9,10,11,13,10,10,10,10,10,11,11,33,1,2,3,4,5,6,7,8,11,1,9,10,20,10,1,2,3,4,5,6,7,8,9,10,11,13,20,20,1,2,3,4,5,6,7,8,9,10,11,13,20,1,2,3,4,5,6,7,8,9,10,11,13,20,1,2,3,4,5,6,7,8,9,10,11,13,20,1,2,3,4,5,6,7,8,9,10,11,13,11,42,42,42,42,42],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,-2],-1,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[1,1],[2,2],[3,3],[4,4],[5,5],[6,6],[7,7],[8,8],[9,9],[10,10],[[[11,[-1]]],[[11,[-1]]],12],[13,13],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[[-1,-2],14,[],[]],[-1,[[15,[1]]],16],[-1,[[15,[2]]],16],[-1,[[15,[3]]],16],[-1,[[15,[4]]],16],[-1,[[15,[5]]],16],[-1,[[15,[6]]],16],[-1,[[15,[7]]],16],[-1,[[15,[8]]],16],[-1,[[15,[9]]],16],[-1,[[15,[10]]],16],[-1,[[15,[[11,[-2]]]]],16,17],[-1,[[15,[13]]],16],0,0,0,[[1,1],18],[[2,2],18],[[3,3],18],[[4,4],18],[[5,5],18],[[6,6],18],[[7,7],18],[[8,8],18],[[9,9],18],[[10,10],18],[[[11,[-1]],[11,[-1]]],18,19],[[13,13],18],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[-1,-2],18,[],[]],[[20,21],22],[[20,21],22],[[1,21],22],[[2,21],22],[[3,21],22],[[4,21],22],[[5,21],22],[[6,21],22],[[7,21],22],[[8,21],22],[[9,21],22],[[10,21],22],[[[11,[-1]],21],22,23],[[13,21],22],[-1,-1,[]],[24,20],[25,20],[26,20],[27,20],[28,20],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[],[[11,[-1]]],29],[30,[[15,[[11,[-1]],20]]],29],[[1,-1],14,31],[[2,-1],14,31],[[3,-1],14,31],[[4,-1],14,31],[[5,-1],14,31],[[6,-1],14,31],[[7,-1],14,31],[[8,-1],14,31],[[9,-1],14,31],[[10,-1],14,31],[[[11,[-1]],-2],14,32,31],[[13,-1],14,31],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,[[-1,-2],[[15,[14,20]]],33,[[34,[30]]]],[[-1,-2],[[15,[14,20]]],33,[[34,[30]]]],[30,[[15,[-1,20]]],[]],[30,[[15,[1,20]]]],[30,[[15,[2,20]]]],[30,[[15,[3,20]]]],[30,[[15,[4,20]]]],[30,[[15,[5,20]]]],[30,[[15,[6,20]]]],[30,[[15,[7,20]]]],[30,[[15,[8,20]]]],[-1,[[15,[[11,[-2]],20]]],[[34,[35]]],29],0,0,0,[20,[[37,[36]]]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,38,[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,[[15,[-2]]],[],[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,39,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[15,[14,20]]],[[34,[35]]]],0,0,0,0,0],"c":[],"p":[[3,"Address",0],[4,"Backlog",0],[4,"KeepAlive",0],[4,"MaxConnectionRate",0],[4,"MaxConnections",0],[4,"Mode",0],[4,"NumWorkers",0],[4,"Timeout",0],[3,"Tls",0],[3,"ActixSettings",0],[3,"BasicSettings",0],[8,"Clone",317],[3,"NoSettings",0],[15,"tuple"],[4,"Result",318],[8,"Deserializer",319],[8,"Deserialize",319],[15,"bool"],[8,"PartialEq",320],[4,"Error",0],[3,"Formatter",321],[6,"Result",321],[8,"Debug",321],[3,"Error",322],[3,"ParseBoolError",323],[4,"VarError",324],[3,"ParseIntError",325],[3,"Error",326],[8,"DeserializeOwned",319],[15,"str"],[8,"Hasher",327],[8,"Hash",327],[8,"Parse",0],[8,"AsRef",328],[3,"Path",329],[8,"Error",330],[4,"Option",331],[3,"String",332],[3,"TypeId",333],[6,"Settings",0],[8,"ApplySettings",0],[13,"InvalidValue",312]],"b":[[163,"impl-Debug-for-Error"],[164,"impl-Display-for-Error"],[178,"impl-From%3CError%3E-for-Error"],[179,"impl-From%3CParseBoolError%3E-for-Error"],[180,"impl-From%3CVarError%3E-for-Error"],[181,"impl-From%3CParseIntError%3E-for-Error"],[182,"impl-From%3CError%3E-for-Error"]],"a":{"https":[39],"ssl":[39]}},\ "actix_web_httpauth":{"doc":"HTTP authentication schemes for Actix Web.","t":"AAAIDQAALLLLLLLLLKLLLLLLLLLLLDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDENNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAADNDDNNNEINNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLIDAALLLLLLLLLLLLLLKLLLLLLLDLLLLLLLLLLLLLLLLLLLLLLDDENNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLL","n":["extractors","headers","middleware","AuthExtractorConfig","AuthenticationError","Inner","basic","bearer","borrow","borrow_mut","challenge_mut","error_response","fmt","fmt","from","from","into","into_inner","new","status_code","status_code_mut","to_string","try_from","try_into","type_id","vzip","with_error","with_error_description","with_error_uri","BasicAuth","Config","as_ref","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","default","fmt","fmt","from","from","from","from_request","into","into","into_inner","password","realm","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","user_id","vzip","vzip","BearerAuth","Config","Error","InsufficientScope","InvalidRequest","InvalidToken","as_ref","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","default","eq","fmt","fmt","fmt","fmt","from","from","from","from_request","hash","into","into","into","into_inner","partial_cmp","realm","scope","status_code","to_owned","to_owned","to_owned","to_string","token","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","authorization","www_authenticate","Authorization","Base64DecodeError","Basic","Bearer","Invalid","MissingField","MissingScheme","ParseError","Scheme","ToStrError","Utf8Error","as_mut","as_ref","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","cmp","cmp","default","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","hash","into","into","into","into","into_scheme","name","new","new","parse","parse","parse","parse","partial_cmp","partial_cmp","partial_cmp","password","source","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","token","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into_pair","try_into_value","try_into_value","try_into_value","type_id","type_id","type_id","type_id","user_id","vzip","vzip","vzip","vzip","Challenge","WwwAuthenticate","basic","bearer","borrow","borrow_mut","clone","clone_into","cmp","default","eq","fmt","from","hash","into","name","parse","partial_cmp","to_bytes","to_owned","try_from","try_into","try_into_pair","try_into_value","type_id","vzip","Basic","borrow","borrow_mut","clone","clone_into","cmp","default","eq","fmt","fmt","from","hash","into","new","partial_cmp","to_owned","to_string","try_from","try_into","try_into_value","type_id","vzip","with_realm","Bearer","BearerBuilder","Error","InsufficientScope","InvalidRequest","InvalidToken","borrow","borrow","borrow_mut","borrow_mut","build","clone","clone_into","cmp","default","default","eq","error","error_description","error_uri","finish","fmt","fmt","fmt","from","from","hash","into","into","partial_cmp","realm","scope","to_owned","to_string","try_from","try_from","try_into","try_into","try_into_value","type_id","type_id","vzip","vzip","HttpAuthentication","basic","bearer","borrow","borrow_mut","clone","clone_into","fmt","from","into","new_transform","to_owned","try_from","try_into","type_id","vzip","with_fn"],"q":[[0,"actix_web_httpauth"],[3,"actix_web_httpauth::extractors"],[29,"actix_web_httpauth::extractors::basic"],[63,"actix_web_httpauth::extractors::bearer"],[119,"actix_web_httpauth::headers"],[121,"actix_web_httpauth::headers::authorization"],[219,"actix_web_httpauth::headers::www_authenticate"],[245,"actix_web_httpauth::headers::www_authenticate::basic"],[268,"actix_web_httpauth::headers::www_authenticate::bearer"],[311,"actix_web_httpauth::middleware"],[328,"actix_web::response::response"],[329,"core::fmt"],[330,"core::fmt"],[331,"alloc::string"],[332,"core::result"],[333,"core::any"],[334,"alloc::borrow"],[335,"core::convert"],[336,"actix_web::request"],[337,"actix_http::payload"],[338,"core::option"],[339,"core::cmp"],[340,"core::hash"],[341,"core::clone"],[342,"core::cmp"],[343,"core::cmp"],[344,"base64::decode"],[345,"http::header::value"],[346,"core::hash"],[347,"http::header::value"],[348,"actix_http::http_message"],[349,"core::cmp"],[350,"bytes::bytes"],[351,"core::fmt"],[352,"actix_web::extract"],[353,"actix_web::service"],[354,"actix_service"]],"d":["Type-safe authentication information extractors.","Typed HTTP headers.","HTTP Authentication middleware.","Trait implemented for types that provides configuration …","Authentication error returned by authentication extractors.","Associated challenge type.","Extractor for the “Basic” HTTP Authentication Scheme.","Extractor for the “Bearer” HTTP Authentication Scheme.","","","Returns mutable reference to the inner challenge instance.","","","","Returns the argument unchanged.","","Calls U::from(self).","Convert the config instance into a HTTP challenge.","Creates new authentication error from the provided …","","Returns mutable reference to the inner status code.","","","","","","Attach Error to the current Authentication error.","Attach error description to the current Authentication …","Attach error URI to the current Authentication error.","Extractor for HTTP Basic auth.","BasicAuth extractor configuration used for WWW-Authenticate…","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","Returns client’s password.","Set challenge realm attribute.","","","","","","","","","Returns client’s user-ID.","","","Extractor for HTTP Bearer auth","BearerAuth extractor configuration.","Bearer authorization error types, described in RFC 6750.","The request requires higher privileges than provided by …","The request is missing a required parameter, includes an …","The access token provided is expired, revoked, malformed, …","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","Set challenge realm attribute.","Set challenge scope attribute.","Returns HTTP status code suitable for current error type.","","","","","Returns bearer token provided by client.","","","","","","","","","","","","","Authorization header and various auth schemes.","WWW-Authenticate header and various auth challenges.","Authorization header, defined in RFC 7235","Malformed base64 string.","Credentials for Basic authentication scheme, defined in …","Credentials for Bearer authentication scheme, defined in …","Header value is malformed.","Required authentication field is missing.","Authentication scheme is missing.","Possible errors while parsing Authorization header.","Authentication scheme for Authorization header.","Unable to convert header into the str.","Malformed UTF-8 string.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Consumes Authorization header and returns inner Scheme …","","Creates Basic credentials with provided user_id and …","Creates new Bearer credentials with the token provided.","Try to parse an authentication scheme from the …","","","","","","","Returns client’s password if provided.","","","","","","","","","Gets reference to the credentials token.","","","","","","","","","","","","","","","","","Returns client’s user-ID.","","","","","Authentication challenge for WWW-Authenticate header.","WWW-Authenticate header, described in RFC 7235.","Challenge for the “Basic” HTTP Authentication Scheme.","Challenge for the “Bearer” HTTP Authentication Scheme.","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","Converts the challenge into a bytes suitable for HTTP …","","","","","","","","Challenge for WWW-Authenticate header with HTTP Basic auth …","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","Creates new Basic challenge with an empty realm field.","","","","","","","","","Creates new Basic challenge from the provided realm field …","Challenge for WWW-Authenticate header with HTTP Bearer …","Builder for the Bearer challenge.","Bearer authorization error types, described in RFC 6750.","The request requires higher privileges than provided by …","The request is missing a required parameter, includes an …","The access token provided is expired, revoked, malformed, …","","","","","Creates the builder for Bearer challenge.","","","","","","","Provides the error attribute, as defined in [RFC 6750, …","Provides the error_description attribute, as defined in […","Provides the error_uri attribute, as defined in [RFC 6750 …","Consumes the builder and returns built Bearer instance.","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","Provides the realm attribute, as defined in RFC 2617.","Provides the scope attribute, as defined in RFC 6749 §3.3.","","","","","","","","","","","","Middleware for checking HTTP authentication.","Construct HttpAuthentication middleware for the HTTP “…","Construct HttpAuthentication middleware for the HTTP “…","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","Construct HttpAuthentication middleware with the provided …"],"i":[0,0,0,0,0,7,0,0,1,1,1,1,1,1,1,1,1,7,1,1,1,1,1,1,1,1,1,1,1,0,0,17,17,19,17,19,17,19,17,19,17,17,19,17,19,19,19,17,19,17,19,17,17,19,17,19,17,19,17,19,19,17,19,0,0,0,13,13,13,25,25,26,13,25,26,13,25,26,13,25,26,13,13,25,13,25,26,13,13,25,26,13,26,13,25,26,13,25,13,25,25,13,25,26,13,13,26,25,26,13,25,26,13,25,26,13,25,26,13,0,0,0,37,0,0,37,37,37,0,0,37,37,30,30,37,30,21,33,37,30,21,33,30,21,33,30,21,33,30,21,33,30,30,21,33,37,37,30,30,21,21,33,33,37,37,37,37,30,30,30,21,33,30,37,30,21,33,30,30,21,33,31,30,21,33,30,21,33,21,37,30,21,33,37,30,21,33,33,37,30,21,33,37,30,21,33,30,30,21,33,37,30,21,33,21,37,30,21,33,0,0,0,0,49,49,49,49,49,49,49,49,49,49,49,49,49,49,2,49,49,49,49,49,49,49,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,13,13,13,52,12,52,12,12,12,12,12,52,12,12,52,52,52,52,52,12,12,52,12,12,52,12,12,52,52,12,12,52,12,52,12,12,52,12,52,12,0,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53],"f":[0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[[1,[-1]]],-1,2],[[[1,[-1]]],3,2],[[[1,[-1]],4],5,[6,2]],[[[1,[-1]],4],5,2],[-1,-1,[]],[-1,1,7],[-1,-2,[],[]],[-1,[],[]],[-1,[[1,[-1]]],2],[[[1,[-1]]],8,2],[[[1,[-1]]],8,2],[-1,9,[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,11,[]],[-1,-2,[],[]],[[[1,[12]],13],[[1,[12]]]],[[[1,[12]],-1],[[1,[12]]],[[16,[[15,[14]]]]]],[[[1,[12]],-1],[[1,[12]]],[[16,[[15,[14]]]]]],0,0,[17,18],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[17,17],[19,19],[[-1,-2],20,[],[]],[[-1,-2],20,[],[]],[[],17],[[17,4],5],[[19,4],5],[-1,-1,[]],[21,19],[-1,-1,[]],[[22,23]],[-1,-2,[],[]],[-1,-2,[],[]],[17],[19,[[24,[14]]]],[[17,-1],17,[[16,[[15,[14]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,11,[]],[-1,11,[]],[19,14],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,[25,12],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[25,25],[26,26],[13,13],[[-1,-2],20,[],[]],[[-1,-2],20,[],[]],[[-1,-2],20,[],[]],[[13,13],27],[[],25],[[13,13],28],[[25,4],5],[[26,4],5],[[13,4],5],[[13,4],5],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[22,23]],[[13,-1],20,29],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[25],[[13,13],[[24,[27]]]],[[25,-1],25,[[16,[[15,[14]]]]]],[[25,-1],25,[[16,[[15,[14]]]]]],[13,8],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,9,[]],[26,14],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,11,[]],[-1,11,[]],[-1,11,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,[[[30,[-1]]],-1,31],[[[30,[-1]]],-1,31],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[30,[-1]]],[[30,[-1]]],[32,31]],[21,21],[33,33],[[-1,-2],20,[],[]],[[-1,-2],20,[],[]],[[-1,-2],20,[],[]],[[[30,[-1]],[30,[-1]]],27,[34,31]],[[21,21],27],[[33,33],27],[[],[[30,[-1]]],[35,31]],[[[30,[-1]],[30,[-1]]],28,[36,31]],[[21,21],28],[[33,33],28],[[37,4],5],[[37,4],5],[[[30,[-1]],4],5,[6,31]],[[[30,[-1]],4],5,31],[[21,4],5],[[21,4],5],[[33,4],5],[[33,4],5],[38,37],[-1,-1,[]],[39,37],[40,37],[-1,[[30,[-1]]],31],[-1,-1,[]],[41,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[30,[-1]],-2],20,[42,31],29],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[30,[-1]]],-1,31],[[],43],[[-1,[24,[-2]]],21,[[16,[[15,[14]]]]],[[16,[[15,[14]]]]]],[-1,33,[[16,[[15,[14]]]]]],[44,[[10,[-1,37]]],[]],[-1,[[10,[[30,[-2]],45]]],46,31],[44,[[10,[21,37]]]],[44,[[10,[33,37]]]],[[[30,[-1]],[30,[-1]]],[[24,[27]]],[47,31]],[[21,21],[[24,[27]]]],[[33,33],[[24,[27]]]],[21,[[24,[14]]]],[37,[[24,[48]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,9,[]],[-1,9,[]],[-1,9,[]],[-1,9,[]],[33,14],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[[20,[43,44]]]]],[]],[[[30,[-1]]],[[10,[44]]],31],[21,[[10,[44]]]],[33,[[10,[44]]]],[-1,11,[]],[-1,11,[]],[-1,11,[]],[-1,11,[]],[21,14],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[[49,[-1]]],[[49,[-1]]],[32,2]],[[-1,-2],20,[],[]],[[[49,[-1]],[49,[-1]]],27,[34,2]],[[],[[49,[-1]]],[35,2]],[[[49,[-1]],[49,[-1]]],28,[36,2]],[[[49,[-1]],4],5,[6,2]],[-1,-1,[]],[[[49,[-1]],-2],20,[42,2],29],[-1,-2,[],[]],[[],43],[-1,[[10,[[49,[-2]],45]]],46,2],[[[49,[-1]],[49,[-1]]],[[24,[27]]],[47,2]],[-1,50,[]],[-1,-2,[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[[20,[43,44]]]]],[]],[[[49,[-1]]],[[10,[44]]],2],[-1,11,[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[18,18],[[-1,-2],20,[],[]],[[18,18],27],[[],18],[[18,18],28],[[18,4],[[10,[20,51]]]],[[18,4],5],[-1,-1,[]],[[18,-1],20,29],[-1,-2,[],[]],[[],18],[[18,18],[[24,[27]]]],[-1,-2,[],[]],[-1,9,[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[18,[[10,[44]]]],[-1,11,[]],[-1,-2,[],[]],[-1,18,[[16,[[15,[14]]]]]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[],52],[12,12],[[-1,-2],20,[],[]],[[12,12],27],[[],52],[[],12],[[12,12],28],[[52,13],52],[[52,-1],52,[[16,[[15,[14]]]]]],[[52,-1],52,[[16,[[15,[14]]]]]],[52,12],[[52,4],5],[[12,4],[[10,[20,51]]]],[[12,4],5],[-1,-1,[]],[-1,-1,[]],[[12,-1],20,29],[-1,-2,[],[]],[-1,-2,[],[]],[[12,12],[[24,[27]]]],[[52,-1],52,[[16,[[15,[14]]]]]],[[52,-1],52,[[16,[[15,[14]]]]]],[-1,-2,[],[]],[-1,9,[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[12,[[10,[44]]]],[-1,11,[]],[-1,11,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,[[53,[19,-1]]],54],[-1,[[53,[26,-1]]],54],[-1,-2,[],[]],[-1,-2,[],[]],[[[53,[-1,-2]]],[[53,[-1,-2]]],[55,32],32],[[-1,-2],20,[],[]],[[[53,[-1,-2]],4],5,[55,6],6],[-1,-1,[]],[-1,-2,[],[]],[[[53,[-1,-2]],-3],[],55,54,[[57,[56]]]],[-1,-2,[],[]],[-1,[[10,[-2]]],[],[]],[-1,[[10,[-2]]],[],[]],[-1,11,[]],[-1,-2,[],[]],[-1,[[53,[-2,-1]]],54,55]],"c":[],"p":[[3,"AuthenticationError",3],[8,"Challenge",219],[3,"HttpResponse",328],[3,"Formatter",329],[6,"Result",329],[8,"Debug",329],[8,"AuthExtractorConfig",3],[3,"StatusCode",330],[3,"String",331],[4,"Result",332],[3,"TypeId",333],[3,"Bearer",268],[4,"Error",63],[15,"str"],[4,"Cow",334],[8,"Into",335],[3,"Config",29],[3,"Basic",245],[3,"BasicAuth",29],[15,"tuple"],[3,"Basic",121],[3,"HttpRequest",336],[4,"Payload",337],[4,"Option",338],[3,"Config",63],[3,"BearerAuth",63],[4,"Ordering",339],[15,"bool"],[8,"Hasher",340],[3,"Authorization",121],[8,"Scheme",121],[8,"Clone",341],[3,"Bearer",121],[8,"Ord",339],[8,"Default",342],[8,"PartialEq",339],[4,"ParseError",121],[3,"Utf8Error",343],[4,"DecodeError",344],[3,"ToStrError",345],[15,"never"],[8,"Hash",340],[3,"HeaderName",346],[3,"HeaderValue",345],[4,"ParseError",347],[8,"HttpMessage",348],[8,"PartialOrd",339],[8,"Error",349],[3,"WwwAuthenticate",219],[3,"Bytes",350],[3,"Error",329],[3,"BearerBuilder",268],[3,"HttpAuthentication",311],[8,"Fn",351],[8,"FromRequest",352],[3,"ServiceRequest",353],[8,"Service",354]],"b":[[12,"impl-Debug-for-AuthenticationError%3CC%3E"],[13,"impl-Display-for-AuthenticationError%3CC%3E"],[87,"impl-Debug-for-Error"],[88,"impl-Display-for-Error"],[155,"impl-Display-for-ParseError"],[156,"impl-Debug-for-ParseError"],[157,"impl-Debug-for-Authorization%3CS%3E"],[158,"impl-Display-for-Authorization%3CS%3E"],[159,"impl-Display-for-Basic"],[160,"impl-Debug-for-Basic"],[161,"impl-Display-for-Bearer"],[162,"impl-Debug-for-Bearer"],[163,"impl-From%3CUtf8Error%3E-for-ParseError"],[165,"impl-From%3CDecodeError%3E-for-ParseError"],[166,"impl-From%3CToStrError%3E-for-ParseError"],[253,"impl-Display-for-Basic"],[254,"impl-Debug-for-Basic"],[290,"impl-Display-for-Bearer"],[291,"impl-Debug-for-Bearer"]]}\ }'); if (typeof window !== 'undefined' && window.initSearch) {window.initSearch(searchIndex)}; diff --git a/settings.html b/settings.html index f113c94d2..3b4c261f1 100644 --- a/settings.html +++ b/settings.html @@ -1 +1 @@ -Settings

Rustdoc settings

Back
\ No newline at end of file +Settings

Rustdoc settings

Back
\ No newline at end of file diff --git a/src/actix_settings/lib.rs.html b/src/actix_settings/lib.rs.html index f012ded59..16e20b64a 100644 --- a/src/actix_settings/lib.rs.html +++ b/src/actix_settings/lib.rs.html @@ -818,9 +818,6 @@ 818 819 820 -821 -822 -823
//! Easily manage Actix Web's settings from a TOML file and environment variables.
 //!
 //! To get started add a [`Settings::parse_toml("./Server.toml")`](Settings::parse_toml) call to the
@@ -978,14 +975,11 @@
     }
 
     /// Parse an instance of `Self` straight from the default TOML template.
-    // TODO: make infallible
-    // TODO: consider "template" rename
-    pub fn from_default_template() -> AsResult<Self> {
-        Self::from_template(Self::DEFAULT_TOML_TEMPLATE)
+    pub fn from_default_template() -> Self {
+        Self::from_template(Self::DEFAULT_TOML_TEMPLATE).unwrap()
     }
 
     /// Parse an instance of `Self` straight from the default TOML template.
-    // TODO: consider "template" rename
     pub fn from_template(template: &str) -> AsResult<Self> {
         Ok(toml::from_str(template)?)
     }
@@ -1089,7 +1083,7 @@
             //     self = self.bind(format!("{}:{}", host, port))
             //         .unwrap(/*TODO*/);
             // }
-            todo!("[ApplySettings] TLS support has not been implemented yet.");
+            unimplemented!("[ApplySettings] TLS support has not been implemented yet.");
         } else {
             for Address { host, port } in &settings.hosts {
                 self = self.bind(format!("{host}:{port}"))
@@ -1181,7 +1175,7 @@
 
     #[test]
     fn override_field_hosts() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
 
         assert_eq!(
             settings.actix.hosts,
@@ -1217,7 +1211,7 @@
 
     #[test]
     fn override_field_with_env_var_hosts() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
 
         assert_eq!(
             settings.actix.hosts,
@@ -1255,7 +1249,7 @@
 
     #[test]
     fn override_field_mode() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(settings.actix.mode, Mode::Development);
         Settings::override_field(&mut settings.actix.mode, "production").unwrap();
         assert_eq!(settings.actix.mode, Mode::Production);
@@ -1263,7 +1257,7 @@
 
     #[test]
     fn override_field_with_env_var_mode() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(settings.actix.mode, Mode::Development);
         std::env::set_var("OVERRIDE__MODE", "production");
         Settings::override_field_with_env_var(&mut settings.actix.mode, "OVERRIDE__MODE").unwrap();
@@ -1272,7 +1266,7 @@
 
     #[test]
     fn override_field_enable_compression() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert!(settings.actix.enable_compression);
         Settings::override_field(&mut settings.actix.enable_compression, "false").unwrap();
         assert!(!settings.actix.enable_compression);
@@ -1280,7 +1274,7 @@
 
     #[test]
     fn override_field_with_env_var_enable_compression() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert!(settings.actix.enable_compression);
         std::env::set_var("OVERRIDE__ENABLE_COMPRESSION", "false");
         Settings::override_field_with_env_var(
@@ -1293,7 +1287,7 @@
 
     #[test]
     fn override_field_enable_log() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert!(settings.actix.enable_log);
         Settings::override_field(&mut settings.actix.enable_log, "false").unwrap();
         assert!(!settings.actix.enable_log);
@@ -1301,7 +1295,7 @@
 
     #[test]
     fn override_field_with_env_var_enable_log() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert!(settings.actix.enable_log);
         std::env::set_var("OVERRIDE__ENABLE_LOG", "false");
         Settings::override_field_with_env_var(
@@ -1314,7 +1308,7 @@
 
     #[test]
     fn override_field_num_workers() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(settings.actix.num_workers, NumWorkers::Default);
         Settings::override_field(&mut settings.actix.num_workers, "42").unwrap();
         assert_eq!(settings.actix.num_workers, NumWorkers::Manual(42));
@@ -1322,7 +1316,7 @@
 
     #[test]
     fn override_field_with_env_var_num_workers() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(settings.actix.num_workers, NumWorkers::Default);
         std::env::set_var("OVERRIDE__NUM_WORKERS", "42");
         Settings::override_field_with_env_var(
@@ -1335,7 +1329,7 @@
 
     #[test]
     fn override_field_backlog() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(settings.actix.backlog, Backlog::Default);
         Settings::override_field(&mut settings.actix.backlog, "42").unwrap();
         assert_eq!(settings.actix.backlog, Backlog::Manual(42));
@@ -1343,7 +1337,7 @@
 
     #[test]
     fn override_field_with_env_var_backlog() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(settings.actix.backlog, Backlog::Default);
         std::env::set_var("OVERRIDE__BACKLOG", "42");
         Settings::override_field_with_env_var(&mut settings.actix.backlog, "OVERRIDE__BACKLOG")
@@ -1353,7 +1347,7 @@
 
     #[test]
     fn override_field_max_connections() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(settings.actix.max_connections, MaxConnections::Default);
         Settings::override_field(&mut settings.actix.max_connections, "42").unwrap();
         assert_eq!(settings.actix.max_connections, MaxConnections::Manual(42));
@@ -1361,7 +1355,7 @@
 
     #[test]
     fn override_field_with_env_var_max_connections() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(settings.actix.max_connections, MaxConnections::Default);
         std::env::set_var("OVERRIDE__MAX_CONNECTIONS", "42");
         Settings::override_field_with_env_var(
@@ -1374,7 +1368,7 @@
 
     #[test]
     fn override_field_max_connection_rate() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(
             settings.actix.max_connection_rate,
             MaxConnectionRate::Default
@@ -1388,7 +1382,7 @@
 
     #[test]
     fn override_field_with_env_var_max_connection_rate() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(
             settings.actix.max_connection_rate,
             MaxConnectionRate::Default
@@ -1407,7 +1401,7 @@
 
     #[test]
     fn override_field_keep_alive() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(settings.actix.keep_alive, KeepAlive::Default);
         Settings::override_field(&mut settings.actix.keep_alive, "42 seconds").unwrap();
         assert_eq!(settings.actix.keep_alive, KeepAlive::Seconds(42));
@@ -1415,7 +1409,7 @@
 
     #[test]
     fn override_field_with_env_var_keep_alive() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(settings.actix.keep_alive, KeepAlive::Default);
         std::env::set_var("OVERRIDE__KEEP_ALIVE", "42 seconds");
         Settings::override_field_with_env_var(
@@ -1428,7 +1422,7 @@
 
     #[test]
     fn override_field_client_timeout() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(settings.actix.client_timeout, Timeout::Default);
         Settings::override_field(&mut settings.actix.client_timeout, "42 seconds").unwrap();
         assert_eq!(settings.actix.client_timeout, Timeout::Seconds(42));
@@ -1436,7 +1430,7 @@
 
     #[test]
     fn override_field_with_env_var_client_timeout() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(settings.actix.client_timeout, Timeout::Default);
         std::env::set_var("OVERRIDE__CLIENT_TIMEOUT", "42 seconds");
         Settings::override_field_with_env_var(
@@ -1449,7 +1443,7 @@
 
     #[test]
     fn override_field_client_shutdown() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(settings.actix.client_shutdown, Timeout::Default);
         Settings::override_field(&mut settings.actix.client_shutdown, "42 seconds").unwrap();
         assert_eq!(settings.actix.client_shutdown, Timeout::Seconds(42));
@@ -1457,7 +1451,7 @@
 
     #[test]
     fn override_field_with_env_var_client_shutdown() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(settings.actix.client_shutdown, Timeout::Default);
         std::env::set_var("OVERRIDE__CLIENT_SHUTDOWN", "42 seconds");
         Settings::override_field_with_env_var(
@@ -1470,7 +1464,7 @@
 
     #[test]
     fn override_field_shutdown_timeout() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(settings.actix.shutdown_timeout, Timeout::Default);
         Settings::override_field(&mut settings.actix.shutdown_timeout, "42 seconds").unwrap();
         assert_eq!(settings.actix.shutdown_timeout, Timeout::Seconds(42));
@@ -1478,7 +1472,7 @@
 
     #[test]
     fn override_field_with_env_var_shutdown_timeout() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(settings.actix.shutdown_timeout, Timeout::Default);
         std::env::set_var("OVERRIDE__SHUTDOWN_TIMEOUT", "42 seconds");
         Settings::override_field_with_env_var(
@@ -1491,7 +1485,7 @@
 
     #[test]
     fn override_field_tls_enabled() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert!(!settings.actix.tls.enabled);
         Settings::override_field(&mut settings.actix.tls.enabled, "true").unwrap();
         assert!(settings.actix.tls.enabled);
@@ -1499,7 +1493,7 @@
 
     #[test]
     fn override_field_with_env_var_tls_enabled() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert!(!settings.actix.tls.enabled);
         std::env::set_var("OVERRIDE__TLS_ENABLED", "true");
         Settings::override_field_with_env_var(
@@ -1512,7 +1506,7 @@
 
     #[test]
     fn override_field_tls_certificate() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(
             settings.actix.tls.certificate,
             Path::new("path/to/cert/cert.pem")
@@ -1530,7 +1524,7 @@
 
     #[test]
     fn override_field_with_env_var_tls_certificate() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(
             settings.actix.tls.certificate,
             Path::new("path/to/cert/cert.pem")
@@ -1552,7 +1546,7 @@
 
     #[test]
     fn override_field_tls_private_key() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(
             settings.actix.tls.private_key,
             Path::new("path/to/cert/key.pem")
@@ -1570,7 +1564,7 @@
 
     #[test]
     fn override_field_with_env_var_tls_private_key() {
-        let mut settings = Settings::from_default_template().unwrap();
+        let mut settings = Settings::from_default_template();
         assert_eq!(
             settings.actix.tls.private_key,
             Path::new("path/to/cert/key.pem")
diff --git a/trait.impl/core/clone/trait.Clone.js b/trait.impl/core/clone/trait.Clone.js
index 71a8fbbff..620c5cc44 100644
--- a/trait.impl/core/clone/trait.Clone.js
+++ b/trait.impl/core/clone/trait.Clone.js
@@ -3,6 +3,6 @@
 "actix_identity":[["impl Clone for IdentityMiddleware"],["impl Clone for LogoutBehaviour"],["impl Clone for IdentityMiddlewareBuilder"]],
 "actix_limitation":[["impl Clone for Limiter"],["impl Clone for Status"]],
 "actix_session":[["impl Clone for PersistentSession"],["impl Clone for TtlExtensionPolicy"],["impl Clone for CookieContentSecurity"],["impl Clone for SessionStatus"],["impl Clone for Session"],["impl Clone for SessionLifecycle"],["impl Clone for RedisSessionStore"],["impl Clone for BrowserSession"],["impl<Store: Clone + SessionStore> Clone for SessionMiddleware<Store>"]],
-"actix_settings":[["impl Clone for ActixSettings"],["impl<A: Clone> Clone for BasicSettings<A>"],["impl Clone for Timeout"],["impl Clone for Mode"],["impl Clone for MaxConnectionRate"],["impl Clone for Tls"],["impl Clone for NumWorkers"],["impl Clone for Backlog"],["impl Clone for NoSettings"],["impl Clone for MaxConnections"],["impl Clone for Address"],["impl Clone for KeepAlive"]],
+"actix_settings":[["impl Clone for Timeout"],["impl Clone for NumWorkers"],["impl Clone for NoSettings"],["impl<A: Clone> Clone for BasicSettings<A>"],["impl Clone for Mode"],["impl Clone for ActixSettings"],["impl Clone for Backlog"],["impl Clone for Address"],["impl Clone for Tls"],["impl Clone for KeepAlive"],["impl Clone for MaxConnections"],["impl Clone for MaxConnectionRate"]],
 "actix_web_httpauth":[["impl Clone for Config"],["impl Clone for BearerAuth"],["impl<C: Clone + Challenge> Clone for WwwAuthenticate<C>"],["impl Clone for Bearer"],["impl Clone for Error"],["impl Clone for Config"],["impl Clone for BasicAuth"],["impl<T, F: Clone> Clone for HttpAuthentication<T, F>where\n    T: FromRequest + Clone,"],["impl Clone for Basic"],["impl Clone for Basic"],["impl<S: Clone + Scheme> Clone for Authorization<S>"],["impl Clone for Bearer"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/cmp/trait.Eq.js b/trait.impl/core/cmp/trait.Eq.js
index b0d16d5c9..fd40ad8b9 100644
--- a/trait.impl/core/cmp/trait.Eq.js
+++ b/trait.impl/core/cmp/trait.Eq.js
@@ -1,5 +1,5 @@
 (function() {var implementors = {
 "actix_session":[["impl Eq for SessionKey"],["impl Eq for SessionStatus"]],
-"actix_settings":[["impl Eq for NoSettings"],["impl Eq for MaxConnectionRate"],["impl Eq for Address"],["impl Eq for NumWorkers"],["impl Eq for KeepAlive"],["impl Eq for MaxConnections"],["impl Eq for Tls"],["impl Eq for Timeout"],["impl Eq for ActixSettings"],["impl<A: Eq> Eq for BasicSettings<A>"],["impl Eq for Mode"],["impl Eq for Backlog"]],
+"actix_settings":[["impl Eq for ActixSettings"],["impl Eq for Timeout"],["impl<A: Eq> Eq for BasicSettings<A>"],["impl Eq for KeepAlive"],["impl Eq for Mode"],["impl Eq for Address"],["impl Eq for MaxConnections"],["impl Eq for Backlog"],["impl Eq for MaxConnectionRate"],["impl Eq for NoSettings"],["impl Eq for Tls"],["impl Eq for NumWorkers"]],
 "actix_web_httpauth":[["impl<C: Eq + Challenge> Eq for WwwAuthenticate<C>"],["impl Eq for Bearer"],["impl Eq for Basic"],["impl Eq for Bearer"],["impl<S: Eq + Scheme> Eq for Authorization<S>"],["impl Eq for Error"],["impl Eq for Basic"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/cmp/trait.PartialEq.js b/trait.impl/core/cmp/trait.PartialEq.js
index 1d2f184ba..ba3ec3783 100644
--- a/trait.impl/core/cmp/trait.PartialEq.js
+++ b/trait.impl/core/cmp/trait.PartialEq.js
@@ -1,5 +1,5 @@
 (function() {var implementors = {
 "actix_session":[["impl PartialEq for SessionKey"],["impl PartialEq for SessionStatus"]],
-"actix_settings":[["impl PartialEq for KeepAlive"],["impl PartialEq for Backlog"],["impl PartialEq for NoSettings"],["impl PartialEq for NumWorkers"],["impl<A: PartialEq> PartialEq for BasicSettings<A>"],["impl PartialEq for Mode"],["impl PartialEq for Tls"],["impl PartialEq for Timeout"],["impl PartialEq for MaxConnections"],["impl PartialEq for Address"],["impl PartialEq for MaxConnectionRate"],["impl PartialEq for ActixSettings"]],
+"actix_settings":[["impl PartialEq for NumWorkers"],["impl PartialEq for Address"],["impl PartialEq for ActixSettings"],["impl PartialEq for KeepAlive"],["impl PartialEq for MaxConnections"],["impl PartialEq for MaxConnectionRate"],["impl PartialEq for Mode"],["impl PartialEq for Tls"],["impl PartialEq for Backlog"],["impl PartialEq for NoSettings"],["impl PartialEq for Timeout"],["impl<A: PartialEq> PartialEq for BasicSettings<A>"]],
 "actix_web_httpauth":[["impl PartialEq for Bearer"],["impl PartialEq for Basic"],["impl<S: PartialEq + Scheme> PartialEq for Authorization<S>"],["impl PartialEq for Error"],["impl PartialEq for Bearer"],["impl PartialEq for Basic"],["impl<C: PartialEq + Challenge> PartialEq for WwwAuthenticate<C>"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/convert/trait.From.js b/trait.impl/core/convert/trait.From.js
index 98dd69cf4..66ec124a0 100644
--- a/trait.impl/core/convert/trait.From.js
+++ b/trait.impl/core/convert/trait.From.js
@@ -4,6 +4,6 @@
 "actix_protobuf":[["impl From<PayloadError> for ProtoBufPayloadError"],["impl From<DecodeError> for ProtoBufPayloadError"]],
 "actix_redis":[["impl From<Error> for Error"]],
 "actix_session":[["impl From<Error> for SessionInsertError"],["impl From<SessionKey> for String"],["impl From<PersistentSession> for SessionLifecycle"],["impl From<BrowserSession> for SessionLifecycle"],["impl From<Error> for SessionGetError"]],
-"actix_settings":[["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<VarError> for Error"],["impl From<Error> for Error"],["impl From<ParseIntError> for Error"],["impl From<ParseBoolError> for Error"]],
+"actix_settings":[["impl From<Error> for Error"],["impl From<ParseBoolError> for Error"],["impl From<Error> for Error"],["impl From<VarError> for Error"],["impl From<ParseIntError> for Error"],["impl From<Error> for Error"]],
 "actix_web_httpauth":[["impl From<Basic> for BasicAuth"],["impl From<DecodeError> for ParseError"],["impl From<ToStrError> for ParseError"],["impl From<Utf8Error> for ParseError"],["impl<S: Scheme> From<S> for Authorization<S>"],["impl<T> From<T> for AuthenticationError<<T as AuthExtractorConfig>::Inner>where\n    T: AuthExtractorConfig,"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/fmt/trait.Debug.js b/trait.impl/core/fmt/trait.Debug.js
index 884c5fac8..0a3954cc0 100644
--- a/trait.impl/core/fmt/trait.Debug.js
+++ b/trait.impl/core/fmt/trait.Debug.js
@@ -5,6 +5,6 @@
 "actix_protobuf":[["impl<T> Debug for ProtoBuf<T>where\n    T: Debug + Message,"],["impl Debug for ProtoBufPayloadError"]],
 "actix_redis":[["impl Debug for Error"],["impl Debug for Command"]],
 "actix_session":[["impl Debug for SessionKey"],["impl Debug for SessionInsertError"],["impl Debug for PersistentSession"],["impl Debug for SessionGetError"],["impl Debug for CookieContentSecurity"],["impl Debug for SaveError"],["impl Debug for TtlExtensionPolicy"],["impl Debug for SessionStatus"],["impl Debug for UpdateError"],["impl Debug for SessionLifecycle"],["impl Debug for LoadError"],["impl Debug for BrowserSession"]],
-"actix_settings":[["impl Debug for KeepAlive"],["impl Debug for MaxConnectionRate"],["impl Debug for NoSettings"],["impl Debug for ActixSettings"],["impl Debug for Error"],["impl Debug for Backlog"],["impl Debug for NumWorkers"],["impl<A: Debug> Debug for BasicSettings<A>"],["impl Debug for Address"],["impl Debug for Mode"],["impl Debug for Timeout"],["impl Debug for MaxConnections"],["impl Debug for Tls"]],
+"actix_settings":[["impl Debug for Address"],["impl<A: Debug> Debug for BasicSettings<A>"],["impl Debug for MaxConnections"],["impl Debug for KeepAlive"],["impl Debug for MaxConnectionRate"],["impl Debug for NoSettings"],["impl Debug for Tls"],["impl Debug for Error"],["impl Debug for Backlog"],["impl Debug for NumWorkers"],["impl Debug for Timeout"],["impl Debug for ActixSettings"],["impl Debug for Mode"]],
 "actix_web_httpauth":[["impl Debug for BasicAuth"],["impl Debug for Basic"],["impl Debug for ParseError"],["impl Debug for BearerBuilder"],["impl Debug for BearerAuth"],["impl<S: Debug + Scheme> Debug for Authorization<S>"],["impl Debug for Basic"],["impl<T, F: Debug> Debug for HttpAuthentication<T, F>where\n    T: FromRequest + Debug,"],["impl Debug for Error"],["impl Debug for Bearer"],["impl<C: Debug + Challenge> Debug for AuthenticationError<C>"],["impl<C: Debug + Challenge> Debug for WwwAuthenticate<C>"],["impl Debug for Config"],["impl Debug for Bearer"],["impl Debug for Config"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/hash/trait.Hash.js b/trait.impl/core/hash/trait.Hash.js
index abdcb47eb..b14d24b94 100644
--- a/trait.impl/core/hash/trait.Hash.js
+++ b/trait.impl/core/hash/trait.Hash.js
@@ -1,4 +1,4 @@
 (function() {var implementors = {
-"actix_settings":[["impl Hash for NoSettings"],["impl Hash for Timeout"],["impl Hash for Backlog"],["impl Hash for Address"],["impl Hash for MaxConnections"],["impl Hash for Tls"],["impl Hash for MaxConnectionRate"],["impl<A: Hash> Hash for BasicSettings<A>"],["impl Hash for NumWorkers"],["impl Hash for ActixSettings"],["impl Hash for KeepAlive"],["impl Hash for Mode"]],
+"actix_settings":[["impl Hash for ActixSettings"],["impl Hash for NumWorkers"],["impl Hash for Address"],["impl Hash for Backlog"],["impl Hash for Timeout"],["impl Hash for Tls"],["impl Hash for MaxConnections"],["impl Hash for MaxConnectionRate"],["impl Hash for NoSettings"],["impl Hash for KeepAlive"],["impl Hash for Mode"],["impl<A: Hash> Hash for BasicSettings<A>"]],
 "actix_web_httpauth":[["impl<S: Hash + Scheme> Hash for Authorization<S>"],["impl<C: Hash + Challenge> Hash for WwwAuthenticate<C>"],["impl Hash for Bearer"],["impl Hash for Error"],["impl Hash for Basic"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/marker/trait.StructuralEq.js b/trait.impl/core/marker/trait.StructuralEq.js
index 8d298da11..c012125cf 100644
--- a/trait.impl/core/marker/trait.StructuralEq.js
+++ b/trait.impl/core/marker/trait.StructuralEq.js
@@ -1,5 +1,5 @@
 (function() {var implementors = {
 "actix_session":[["impl StructuralEq for SessionStatus"],["impl StructuralEq for SessionKey"]],
-"actix_settings":[["impl StructuralEq for Tls"],["impl<A> StructuralEq for BasicSettings<A>"],["impl StructuralEq for MaxConnections"],["impl StructuralEq for Backlog"],["impl StructuralEq for NumWorkers"],["impl StructuralEq for MaxConnectionRate"],["impl StructuralEq for ActixSettings"],["impl StructuralEq for Mode"],["impl StructuralEq for Timeout"],["impl StructuralEq for NoSettings"],["impl StructuralEq for KeepAlive"],["impl StructuralEq for Address"]],
+"actix_settings":[["impl StructuralEq for Timeout"],["impl StructuralEq for NumWorkers"],["impl StructuralEq for ActixSettings"],["impl StructuralEq for MaxConnectionRate"],["impl<A> StructuralEq for BasicSettings<A>"],["impl StructuralEq for Tls"],["impl StructuralEq for Backlog"],["impl StructuralEq for NoSettings"],["impl StructuralEq for Address"],["impl StructuralEq for Mode"],["impl StructuralEq for MaxConnections"],["impl StructuralEq for KeepAlive"]],
 "actix_web_httpauth":[["impl StructuralEq for Error"],["impl StructuralEq for Bearer"],["impl StructuralEq for Bearer"],["impl<S: Scheme> StructuralEq for Authorization<S>"],["impl StructuralEq for Basic"],["impl<C: Challenge> StructuralEq for WwwAuthenticate<C>"],["impl StructuralEq for Basic"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/marker/trait.StructuralPartialEq.js b/trait.impl/core/marker/trait.StructuralPartialEq.js
index 77c933483..cfc12d4e3 100644
--- a/trait.impl/core/marker/trait.StructuralPartialEq.js
+++ b/trait.impl/core/marker/trait.StructuralPartialEq.js
@@ -1,5 +1,5 @@
 (function() {var implementors = {
 "actix_session":[["impl StructuralPartialEq for SessionStatus"],["impl StructuralPartialEq for SessionKey"]],
-"actix_settings":[["impl StructuralPartialEq for Tls"],["impl StructuralPartialEq for MaxConnections"],["impl StructuralPartialEq for Timeout"],["impl StructuralPartialEq for ActixSettings"],["impl StructuralPartialEq for Mode"],["impl StructuralPartialEq for NumWorkers"],["impl<A> StructuralPartialEq for BasicSettings<A>"],["impl StructuralPartialEq for MaxConnectionRate"],["impl StructuralPartialEq for KeepAlive"],["impl StructuralPartialEq for Address"],["impl StructuralPartialEq for NoSettings"],["impl StructuralPartialEq for Backlog"]],
+"actix_settings":[["impl StructuralPartialEq for Tls"],["impl StructuralPartialEq for MaxConnections"],["impl StructuralPartialEq for Timeout"],["impl StructuralPartialEq for Address"],["impl StructuralPartialEq for ActixSettings"],["impl StructuralPartialEq for MaxConnectionRate"],["impl StructuralPartialEq for NumWorkers"],["impl StructuralPartialEq for KeepAlive"],["impl<A> StructuralPartialEq for BasicSettings<A>"],["impl StructuralPartialEq for Mode"],["impl StructuralPartialEq for NoSettings"],["impl StructuralPartialEq for Backlog"]],
 "actix_web_httpauth":[["impl StructuralPartialEq for Error"],["impl<S: Scheme> StructuralPartialEq for Authorization<S>"],["impl StructuralPartialEq for Bearer"],["impl StructuralPartialEq for Basic"],["impl StructuralPartialEq for Basic"],["impl StructuralPartialEq for Bearer"],["impl<C: Challenge> StructuralPartialEq for WwwAuthenticate<C>"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/serde/de/trait.Deserialize.js b/trait.impl/serde/de/trait.Deserialize.js
index e0ccd8f5c..c1b489469 100644
--- a/trait.impl/serde/de/trait.Deserialize.js
+++ b/trait.impl/serde/de/trait.Deserialize.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"actix_settings":[["impl<'de> Deserialize<'de> for Backlog"],["impl<'de> Deserialize<'de> for Tls"],["impl<'de> Deserialize<'de> for Mode"],["impl<'de> Deserialize<'de> for MaxConnectionRate"],["impl<'de> Deserialize<'de> for MaxConnections"],["impl<'de> Deserialize<'de> for KeepAlive"],["impl<'de> Deserialize<'de> for NumWorkers"],["impl<'de> Deserialize<'de> for Timeout"],["impl<'de> Deserialize<'de> for ActixSettings"],["impl<'de> Deserialize<'de> for Address"],["impl<'de, A> Deserialize<'de> for BasicSettings<A>where\n    A: Deserialize<'de>,"],["impl<'de> Deserialize<'de> for NoSettings"]]
+"actix_settings":[["impl<'de> Deserialize<'de> for MaxConnections"],["impl<'de> Deserialize<'de> for KeepAlive"],["impl<'de> Deserialize<'de> for NumWorkers"],["impl<'de> Deserialize<'de> for Tls"],["impl<'de, A> Deserialize<'de> for BasicSettings<A>where\n    A: Deserialize<'de>,"],["impl<'de> Deserialize<'de> for Address"],["impl<'de> Deserialize<'de> for Mode"],["impl<'de> Deserialize<'de> for Backlog"],["impl<'de> Deserialize<'de> for Timeout"],["impl<'de> Deserialize<'de> for ActixSettings"],["impl<'de> Deserialize<'de> for NoSettings"],["impl<'de> Deserialize<'de> for MaxConnectionRate"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/type.impl/actix_settings/struct.BasicSettings.js b/type.impl/actix_settings/struct.BasicSettings.js
index 8017f2d70..52e95ef59 100644
--- a/type.impl/actix_settings/struct.BasicSettings.js
+++ b/type.impl/actix_settings/struct.BasicSettings.js
@@ -1,3 +1,3 @@
 (function() {var type_impls = {
-"actix_settings":[["
source§

impl<A> BasicSettings<A>where\n A: DeserializeOwned,

source

pub fn parse_toml<P>(filepath: P) -> Result<Self, Error>where\n P: AsRef<Path>,

Parse an instance of Self from a TOML file located at filepath.

\n

If the file doesn’t exist, it is generated from the default TOML template, after which the\nnewly generated file is read in and parsed.

\n
source

pub fn from_default_template() -> Result<Self, Error>

Parse an instance of Self straight from the default TOML template.

\n
source

pub fn from_template(template: &str) -> Result<Self, Error>

Parse an instance of Self straight from the default TOML template.

\n
source

pub fn write_toml_file<P>(filepath: P) -> Result<(), Error>where\n P: AsRef<Path>,

Writes the default TOML template to a new file, located at filepath.

\n
Errors
\n

Returns a FileExists error if a file already exists at that\nlocation.

\n
source

pub fn override_field<F, V>(field: &mut F, value: V) -> Result<(), Error>where\n F: Parse,\n V: AsRef<str>,

Attempts to parse value and override the referenced field.

\n
Examples
\n
use actix_settings::{Settings, Mode};\n\nlet mut settings = Settings::from_default_template()?;\nassert_eq!(settings.actix.mode, Mode::Development);\n\nSettings::override_field(&mut settings.actix.mode, "production")?;\nassert_eq!(settings.actix.mode, Mode::Production);
\n
source

pub fn override_field_with_env_var<F, N>(\n field: &mut F,\n var_name: N\n) -> Result<(), Error>where\n F: Parse,\n N: AsRef<str>,

Attempts to read an environment variable, parse it, and override the referenced field.

\n
Examples
\n
use actix_settings::{Settings, Mode};\n\nstd::env::set_var("OVERRIDE__MODE", "production");\n\nlet mut settings = Settings::from_default_template()?;\nassert_eq!(settings.actix.mode, Mode::Development);\n\nSettings::override_field_with_env_var(&mut settings.actix.mode, "OVERRIDE__MODE")?;\nassert_eq!(settings.actix.mode, Mode::Production);
\n
",0,"actix_settings::Settings"],["
source§

impl<A: Clone> Clone for BasicSettings<A>

source§

fn clone(&self) -> BasicSettings<A>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","actix_settings::Settings"],["
source§

impl<A> StructuralEq for BasicSettings<A>

","StructuralEq","actix_settings::Settings"],["
source§

impl<A: PartialEq> PartialEq for BasicSettings<A>

source§

fn eq(&self, other: &BasicSettings<A>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","actix_settings::Settings"],["
source§

impl<A> StructuralPartialEq for BasicSettings<A>

","StructuralPartialEq","actix_settings::Settings"],["
source§

impl<A: Debug> Debug for BasicSettings<A>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
","Debug","actix_settings::Settings"],["
source§

impl<A: Hash> Hash for BasicSettings<A>

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","actix_settings::Settings"],["
source§

impl<A: Eq> Eq for BasicSettings<A>

","Eq","actix_settings::Settings"],["
source§

impl<'de, A> Deserialize<'de> for BasicSettings<A>where\n A: Deserialize<'de>,

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","actix_settings::Settings"]] +"actix_settings":[["
source§

impl<A> BasicSettings<A>where\n A: DeserializeOwned,

source

pub fn parse_toml<P>(filepath: P) -> Result<Self, Error>where\n P: AsRef<Path>,

Parse an instance of Self from a TOML file located at filepath.

\n

If the file doesn’t exist, it is generated from the default TOML template, after which the\nnewly generated file is read in and parsed.

\n
source

pub fn from_default_template() -> Self

Parse an instance of Self straight from the default TOML template.

\n
source

pub fn from_template(template: &str) -> Result<Self, Error>

Parse an instance of Self straight from the default TOML template.

\n
source

pub fn write_toml_file<P>(filepath: P) -> Result<(), Error>where\n P: AsRef<Path>,

Writes the default TOML template to a new file, located at filepath.

\n
Errors
\n

Returns a FileExists error if a file already exists at that\nlocation.

\n
source

pub fn override_field<F, V>(field: &mut F, value: V) -> Result<(), Error>where\n F: Parse,\n V: AsRef<str>,

Attempts to parse value and override the referenced field.

\n
Examples
\n
use actix_settings::{Settings, Mode};\n\nlet mut settings = Settings::from_default_template()?;\nassert_eq!(settings.actix.mode, Mode::Development);\n\nSettings::override_field(&mut settings.actix.mode, "production")?;\nassert_eq!(settings.actix.mode, Mode::Production);
\n
source

pub fn override_field_with_env_var<F, N>(\n field: &mut F,\n var_name: N\n) -> Result<(), Error>where\n F: Parse,\n N: AsRef<str>,

Attempts to read an environment variable, parse it, and override the referenced field.

\n
Examples
\n
use actix_settings::{Settings, Mode};\n\nstd::env::set_var("OVERRIDE__MODE", "production");\n\nlet mut settings = Settings::from_default_template()?;\nassert_eq!(settings.actix.mode, Mode::Development);\n\nSettings::override_field_with_env_var(&mut settings.actix.mode, "OVERRIDE__MODE")?;\nassert_eq!(settings.actix.mode, Mode::Production);
\n
",0,"actix_settings::Settings"],["
source§

impl<A: Debug> Debug for BasicSettings<A>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
","Debug","actix_settings::Settings"],["
source§

impl<A: Eq> Eq for BasicSettings<A>

","Eq","actix_settings::Settings"],["
source§

impl<A: Clone> Clone for BasicSettings<A>

source§

fn clone(&self) -> BasicSettings<A>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","actix_settings::Settings"],["
source§

impl<'de, A> Deserialize<'de> for BasicSettings<A>where\n A: Deserialize<'de>,

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","actix_settings::Settings"],["
source§

impl<A> StructuralEq for BasicSettings<A>

","StructuralEq","actix_settings::Settings"],["
source§

impl<A> StructuralPartialEq for BasicSettings<A>

","StructuralPartialEq","actix_settings::Settings"],["
source§

impl<A: PartialEq> PartialEq for BasicSettings<A>

source§

fn eq(&self, other: &BasicSettings<A>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","actix_settings::Settings"],["
source§

impl<A: Hash> Hash for BasicSettings<A>

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","actix_settings::Settings"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file