diff --git a/actix_cors/all.html b/actix_cors/all.html index b83c36575..17fe9ee3c 100644 --- a/actix_cors/all.html +++ b/actix_cors/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

\ No newline at end of file diff --git a/actix_cors/enum.CorsError.html b/actix_cors/enum.CorsError.html index 09fdd99d3..83f4f01e1 100644 --- a/actix_cors/enum.CorsError.html +++ b/actix_cors/enum.CorsError.html @@ -1,4 +1,4 @@ -CorsError in actix_cors - Rust
#[non_exhaustive]
pub enum CorsError { +CorsError in actix_cors - Rust
#[non_exhaustive]
pub enum CorsError { WildcardOrigin, MissingOrigin, MissingRequestMethod, @@ -16,7 +16,7 @@
§

OriginNotAllowed

Origin is not allowed to make this request.

§

MethodNotAllowed

Request method is not allowed.

§

HeadersNotAllowed

One or more request headers are not allowed.

-

Trait Implementations§

source§

impl Clone for CorsError

source§

fn clone(&self) -> CorsError

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 CorsError

source§

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

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

impl Display for CorsError

source§

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

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

impl Error for CorsError

1.30.0 · 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 ResponseError for CorsError

source§

fn status_code(&self) -> StatusCode

Returns appropriate status code for error. Read more
source§

fn error_response(&self) -> HttpResponse

Creates full response for error. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for CorsError

§

impl Send for CorsError

§

impl Sync for CorsError

§

impl Unpin for CorsError

§

impl UnwindSafe for CorsError

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for CorsError

source§

fn clone(&self) -> CorsError

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 CorsError

source§

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

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

impl Display for CorsError

source§

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

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

impl Error for CorsError

1.30.0 · 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 ResponseError for CorsError

source§

fn status_code(&self) -> StatusCode

Returns appropriate status code for error. Read more
source§

fn error_response(&self) -> HttpResponse

Creates full response for error. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for CorsError

§

impl Send for CorsError

§

impl Sync for CorsError

§

impl Unpin for CorsError

§

impl UnwindSafe for CorsError

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_cors/index.html b/actix_cors/index.html index 26b8f411c..08c3c94c8 100644 --- a/actix_cors/index.html +++ b/actix_cors/index.html @@ -1,4 +1,4 @@ -actix_cors - Rust

Crate actix_cors

source ·
Expand description

Cross-Origin Resource Sharing (CORS) controls for Actix Web.

+actix_cors - Rust

Crate actix_cors

source ·
Expand description

Cross-Origin Resource Sharing (CORS) controls for Actix Web.

This middleware can be applied to both applications and resources. Once built, a Cors builder can be used as an argument for Actix Web’s App::wrap(), Scope::wrap(), or Resource::wrap() methods.

diff --git a/actix_cors/struct.Cors.html b/actix_cors/struct.Cors.html index 7a6336816..cc3bc4cea 100644 --- a/actix_cors/struct.Cors.html +++ b/actix_cors/struct.Cors.html @@ -1,4 +1,4 @@ -Cors in actix_cors - Rust

Struct actix_cors::Cors

source ·
pub struct Cors { /* private fields */ }
Expand description

Builder for CORS middleware.

+Cors in actix_cors - Rust

Struct actix_cors::Cors

source ·
pub struct Cors { /* private fields */ }
Expand description

Builder for CORS middleware.

To construct a CORS middleware, call Cors::default() to create a blank, restrictive builder. Then use any of the builder methods to customize CORS behavior.

The alternative Cors::permissive() constructor is available for local development, allowing diff --git a/actix_identity/all.html b/actix_identity/all.html index 00f6823bc..3b0a9a6d6 100644 --- a/actix_identity/all.html +++ b/actix_identity/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_identity/config/enum.LogoutBehaviour.html b/actix_identity/config/enum.LogoutBehaviour.html index f8d24c442..ae539f73b 100644 --- a/actix_identity/config/enum.LogoutBehaviour.html +++ b/actix_identity/config/enum.LogoutBehaviour.html @@ -1,4 +1,4 @@ -LogoutBehaviour in actix_identity::config - Rust
#[non_exhaustive]
pub enum LogoutBehaviour { +LogoutBehaviour in actix_identity::config - Rust
#[non_exhaustive]
pub enum LogoutBehaviour { PurgeSession, DeleteIdentityKeys, }
Expand description

LogoutBehaviour controls what actions are going to be performed when Identity::logout is diff --git a/actix_identity/config/index.html b/actix_identity/config/index.html index cb2ff8ea1..daad94688 100644 --- a/actix_identity/config/index.html +++ b/actix_identity/config/index.html @@ -1,4 +1,4 @@ -actix_identity::config - Rust

Module actix_identity::config

source ·
Expand description

Configuration options to tune the behaviour of IdentityMiddleware.

+actix_identity::config - Rust

Module actix_identity::config

source ·
Expand description

Configuration options to tune the behaviour of IdentityMiddleware.

Structs

Enums

\ No newline at end of file diff --git a/actix_identity/config/struct.IdentityMiddlewareBuilder.html b/actix_identity/config/struct.IdentityMiddlewareBuilder.html index 0cd092022..871c0ef30 100644 --- a/actix_identity/config/struct.IdentityMiddlewareBuilder.html +++ b/actix_identity/config/struct.IdentityMiddlewareBuilder.html @@ -1,4 +1,4 @@ -IdentityMiddlewareBuilder in actix_identity::config - Rust
pub struct IdentityMiddlewareBuilder { /* private fields */ }
Expand description

A fluent builder to construct an IdentityMiddleware instance with custom configuration +IdentityMiddlewareBuilder in actix_identity::config - Rust

pub struct IdentityMiddlewareBuilder { /* private fields */ }
Expand description

A fluent builder to construct an IdentityMiddleware instance with custom configuration parameters.

Use IdentityMiddleware::builder to get started!

Implementations§

source§

impl IdentityMiddlewareBuilder

source

pub fn logout_behaviour(self, logout_behaviour: LogoutBehaviour) -> Self

Determines how Identity::logout affects the current session.

diff --git a/actix_identity/error/enum.GetIdentityError.html b/actix_identity/error/enum.GetIdentityError.html index e4e0708aa..e7fdc398c 100644 --- a/actix_identity/error/enum.GetIdentityError.html +++ b/actix_identity/error/enum.GetIdentityError.html @@ -1,4 +1,4 @@ -GetIdentityError in actix_identity::error - Rust
#[non_exhaustive]
pub enum GetIdentityError { +GetIdentityError in actix_identity::error - Rust
#[non_exhaustive]
pub enum GetIdentityError { SessionExpiryError(SessionExpiryError), MissingIdentityError(MissingIdentityError), SessionGetError(SessionGetError), @@ -9,7 +9,7 @@
§

SessionGetError(SessionGetError)

Failed to accessing the session store.

§

LostIdentityError(LostIdentityError)

Identity info was lost after being validated.

Seeing this error indicates a bug in actix-identity.

-

Trait Implementations§

source§

impl Debug for GetIdentityError

source§

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

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

impl Display for GetIdentityError

source§

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

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

impl Error for GetIdentityError

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<LostIdentityError> for GetIdentityError

source§

fn from(original: LostIdentityError) -> GetIdentityError

Converts to this type from the input type.
source§

impl From<MissingIdentityError> for GetIdentityError

source§

fn from(original: MissingIdentityError) -> GetIdentityError

Converts to this type from the input type.
source§

impl From<SessionExpiryError> for GetIdentityError

source§

fn from(original: SessionExpiryError) -> GetIdentityError

Converts to this type from the input type.
source§

impl From<SessionGetError> for GetIdentityError

source§

fn from(original: SessionGetError) -> GetIdentityError

Converts to this type from the input type.
source§

impl ResponseError for GetIdentityError

source§

fn status_code(&self) -> StatusCode

Returns appropriate status code for error. Read more
§

fn error_response(&self) -> HttpResponse<BoxBody>

Creates full response for error. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Debug for GetIdentityError

source§

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

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

impl Display for GetIdentityError

source§

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

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

impl Error for GetIdentityError

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<LostIdentityError> for GetIdentityError

source§

fn from(original: LostIdentityError) -> GetIdentityError

Converts to this type from the input type.
source§

impl From<MissingIdentityError> for GetIdentityError

source§

fn from(original: MissingIdentityError) -> GetIdentityError

Converts to this type from the input type.
source§

impl From<SessionExpiryError> for GetIdentityError

source§

fn from(original: SessionExpiryError) -> GetIdentityError

Converts to this type from the input type.
source§

impl From<SessionGetError> for GetIdentityError

source§

fn from(original: SessionGetError) -> GetIdentityError

Converts to this type from the input type.
source§

impl ResponseError for GetIdentityError

source§

fn status_code(&self) -> StatusCode

Returns appropriate status code for error. Read more
§

fn error_response(&self) -> HttpResponse<BoxBody>

Creates full response for error. Read more

Auto Trait Implementations§

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_identity/error/index.html b/actix_identity/error/index.html index c6c2e6873..26d5b019a 100644 --- a/actix_identity/error/index.html +++ b/actix_identity/error/index.html @@ -1,2 +1,2 @@ -actix_identity::error - Rust

Module actix_identity::error

source ·
Expand description

Failure modes of identity operations.

+actix_identity::error - Rust

Module actix_identity::error

source ·
Expand description

Failure modes of identity operations.

Structs

Enums

\ No newline at end of file diff --git a/actix_identity/error/struct.LoginError.html b/actix_identity/error/struct.LoginError.html index a7b7b756e..c05d28e2f 100644 --- a/actix_identity/error/struct.LoginError.html +++ b/actix_identity/error/struct.LoginError.html @@ -1,4 +1,4 @@ -LoginError in actix_identity::error - Rust
pub struct LoginError(/* private fields */);
Expand description

Error that can occur during login attempts.

+LoginError in actix_identity::error - Rust
pub struct LoginError(/* private fields */);
Expand description

Error that can occur during login attempts.

Trait Implementations§

source§

impl Debug for LoginError

source§

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

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

impl Display for LoginError

source§

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

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

impl Error for LoginError

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<SessionInsertError> for LoginError

source§

fn from(original: SessionInsertError) -> LoginError

Converts to this type from the input type.
source§

impl ResponseError for LoginError

source§

fn status_code(&self) -> StatusCode

Returns appropriate status code for error. Read more
§

fn error_response(&self) -> HttpResponse<BoxBody>

Creates full response for error. Read more

Auto Trait Implementations§

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 diff --git a/actix_identity/error/struct.LostIdentityError.html b/actix_identity/error/struct.LostIdentityError.html index 32dc73779..83704ff7c 100644 --- a/actix_identity/error/struct.LostIdentityError.html +++ b/actix_identity/error/struct.LostIdentityError.html @@ -1,4 +1,4 @@ -LostIdentityError in actix_identity::error - Rust
#[non_exhaustive]
pub struct LostIdentityError;
Expand description

The identity information has been lost.

+LostIdentityError in actix_identity::error - Rust
#[non_exhaustive]
pub struct LostIdentityError;
Expand description

The identity information has been lost.

Seeing this error in user code indicates a bug in actix-identity.

Trait Implementations§

source§

impl Debug for LostIdentityError

source§

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

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

impl Display for LostIdentityError

source§

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

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

impl Error for LostIdentityError

1.30.0 · 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<LostIdentityError> for GetIdentityError

source§

fn from(original: LostIdentityError) -> GetIdentityError

Converts to this type from the input type.

Auto Trait Implementations§

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 diff --git a/actix_identity/error/struct.MissingIdentityError.html b/actix_identity/error/struct.MissingIdentityError.html index 9f81c4c77..d1c8ca5ee 100644 --- a/actix_identity/error/struct.MissingIdentityError.html +++ b/actix_identity/error/struct.MissingIdentityError.html @@ -1,4 +1,4 @@ -MissingIdentityError in actix_identity::error - Rust
#[non_exhaustive]
pub struct MissingIdentityError;
Expand description

There is no identity information attached to the current session.

+MissingIdentityError in actix_identity::error - Rust
#[non_exhaustive]
pub struct MissingIdentityError;
Expand description

There is no identity information attached to the current session.

Trait Implementations§

source§

impl Debug for MissingIdentityError

source§

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

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

impl Display for MissingIdentityError

source§

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

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

impl Error for MissingIdentityError

1.30.0 · 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<MissingIdentityError> for GetIdentityError

source§

fn from(original: MissingIdentityError) -> GetIdentityError

Converts to this type from the input type.

Auto Trait Implementations§

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 diff --git a/actix_identity/error/struct.SessionExpiryError.html b/actix_identity/error/struct.SessionExpiryError.html index 9a7b3c196..2f567793d 100644 --- a/actix_identity/error/struct.SessionExpiryError.html +++ b/actix_identity/error/struct.SessionExpiryError.html @@ -1,5 +1,5 @@ -SessionExpiryError in actix_identity::error - Rust
pub struct SessionExpiryError(/* private fields */);
Expand description

Error encountered when working with a session that has expired.

-

Trait Implementations§

source§

impl Debug for SessionExpiryError

source§

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

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

impl Display for SessionExpiryError

source§

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

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

impl Error for SessionExpiryError

1.30.0 · 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<SessionExpiryError> for GetIdentityError

source§

fn from(original: SessionExpiryError) -> GetIdentityError

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +SessionExpiryError in actix_identity::error - Rust
pub struct SessionExpiryError(/* private fields */);
Expand description

Error encountered when working with a session that has expired.

+

Trait Implementations§

source§

impl Debug for SessionExpiryError

source§

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

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

impl Display for SessionExpiryError

source§

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

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

impl Error for SessionExpiryError

1.30.0 · 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<SessionExpiryError> for GetIdentityError

source§

fn from(original: SessionExpiryError) -> GetIdentityError

Converts to this type from the input type.

Auto Trait Implementations§

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_identity/index.html b/actix_identity/index.html index 7879204c7..af1382b01 100644 --- a/actix_identity/index.html +++ b/actix_identity/index.html @@ -1,4 +1,4 @@ -actix_identity - Rust

Crate actix_identity

source ·
Expand description

Identity management for Actix Web.

+actix_identity - Rust

Crate actix_identity

source ·
Expand description

Identity management for Actix Web.

actix-identity can be used to track identity of a user across multiple requests. It is built on top of HTTP sessions, via actix-session.

Getting started

diff --git a/actix_identity/struct.Identity.html b/actix_identity/struct.Identity.html index ab22c68a5..5a17d1c44 100644 --- a/actix_identity/struct.Identity.html +++ b/actix_identity/struct.Identity.html @@ -1,4 +1,4 @@ -Identity in actix_identity - Rust
pub struct Identity(/* private fields */);
Expand description

A verified user identity. It can be used as a request extractor.

+Identity in actix_identity - Rust
pub struct Identity(/* private fields */);
Expand description

A verified user identity. It can be used as a request extractor.

The lifecycle of a user identity is tied to the lifecycle of the underlying session. If the session is destroyed (e.g. the session expired), the user identity will be forgotten, de-facto forcing a user log out.

diff --git a/actix_identity/struct.IdentityMiddleware.html b/actix_identity/struct.IdentityMiddleware.html index 053232217..f2a883cf4 100644 --- a/actix_identity/struct.IdentityMiddleware.html +++ b/actix_identity/struct.IdentityMiddleware.html @@ -1,4 +1,4 @@ -IdentityMiddleware in actix_identity - Rust
pub struct IdentityMiddleware { /* private fields */ }
Expand description

Identity management middleware.

+IdentityMiddleware in actix_identity - Rust
pub struct IdentityMiddleware { /* private fields */ }
Expand description

Identity management middleware.

use actix_web::{cookie::Key, App, HttpServer};
 use actix_session::storage::RedisSessionStore;
diff --git a/actix_identity/trait.IdentityExt.html b/actix_identity/trait.IdentityExt.html
index 24e3ee67a..576d91049 100644
--- a/actix_identity/trait.IdentityExt.html
+++ b/actix_identity/trait.IdentityExt.html
@@ -1,6 +1,6 @@
-IdentityExt in actix_identity - Rust
pub trait IdentityExt {
+IdentityExt in actix_identity - Rust
pub trait IdentityExt {
     // Required method
     fn get_identity(&self) -> Result<Identity, GetIdentityError>;
 }
Expand description

Helper trait to retrieve an Identity instance from various actix-web’s types.

Required Methods§

source

fn get_identity(&self) -> Result<Identity, GetIdentityError>

Retrieve the identity attached to the current session, if available.

-

Implementations on Foreign Types§

source§

impl<'a> IdentityExt for GuardContext<'a>

source§

impl IdentityExt for HttpRequest

source§

impl IdentityExt for ServiceRequest

Implementors§

\ No newline at end of file +

Implementations on Foreign Types§

source§

impl IdentityExt for HttpRequest

source§

impl<'a> IdentityExt for GuardContext<'a>

source§

impl IdentityExt for ServiceRequest

Implementors§

\ No newline at end of file diff --git a/actix_limitation/all.html b/actix_limitation/all.html index 010b086ac..f511b3acc 100644 --- a/actix_limitation/all.html +++ b/actix_limitation/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_limitation/constant.DEFAULT_COOKIE_NAME.html b/actix_limitation/constant.DEFAULT_COOKIE_NAME.html index 5c70c1e50..59f2a3c8d 100644 --- a/actix_limitation/constant.DEFAULT_COOKIE_NAME.html +++ b/actix_limitation/constant.DEFAULT_COOKIE_NAME.html @@ -1,2 +1,2 @@ -DEFAULT_COOKIE_NAME in actix_limitation - Rust
pub const DEFAULT_COOKIE_NAME: &str = "sid";
Expand description

Default cookie name.

+DEFAULT_COOKIE_NAME in actix_limitation - Rust
pub const DEFAULT_COOKIE_NAME: &str = "sid";
Expand description

Default cookie name.

\ No newline at end of file diff --git a/actix_limitation/constant.DEFAULT_PERIOD_SECS.html b/actix_limitation/constant.DEFAULT_PERIOD_SECS.html index 4642bcd78..e5fc76731 100644 --- a/actix_limitation/constant.DEFAULT_PERIOD_SECS.html +++ b/actix_limitation/constant.DEFAULT_PERIOD_SECS.html @@ -1,2 +1,2 @@ -DEFAULT_PERIOD_SECS in actix_limitation - Rust
pub const DEFAULT_PERIOD_SECS: u64 = 3600;
Expand description

Default period (in seconds).

+DEFAULT_PERIOD_SECS in actix_limitation - Rust
pub const DEFAULT_PERIOD_SECS: u64 = 3600;
Expand description

Default period (in seconds).

\ No newline at end of file diff --git a/actix_limitation/constant.DEFAULT_REQUEST_LIMIT.html b/actix_limitation/constant.DEFAULT_REQUEST_LIMIT.html index 824c2072e..cd3a42619 100644 --- a/actix_limitation/constant.DEFAULT_REQUEST_LIMIT.html +++ b/actix_limitation/constant.DEFAULT_REQUEST_LIMIT.html @@ -1,2 +1,2 @@ -DEFAULT_REQUEST_LIMIT in actix_limitation - Rust
pub const DEFAULT_REQUEST_LIMIT: usize = 5000;
Expand description

Default request limit.

+DEFAULT_REQUEST_LIMIT in actix_limitation - Rust
pub const DEFAULT_REQUEST_LIMIT: usize = 5000;
Expand description

Default request limit.

\ No newline at end of file diff --git a/actix_limitation/constant.DEFAULT_SESSION_KEY.html b/actix_limitation/constant.DEFAULT_SESSION_KEY.html index cf277abd9..61c5b4e14 100644 --- a/actix_limitation/constant.DEFAULT_SESSION_KEY.html +++ b/actix_limitation/constant.DEFAULT_SESSION_KEY.html @@ -1,2 +1,2 @@ -DEFAULT_SESSION_KEY in actix_limitation - Rust
pub const DEFAULT_SESSION_KEY: &str = "rate-api-id";
Expand description

Default session key.

+DEFAULT_SESSION_KEY in actix_limitation - Rust
pub const DEFAULT_SESSION_KEY: &str = "rate-api-id";
Expand description

Default session key.

\ No newline at end of file diff --git a/actix_limitation/enum.Error.html b/actix_limitation/enum.Error.html index cbbe251a3..049c42442 100644 --- a/actix_limitation/enum.Error.html +++ b/actix_limitation/enum.Error.html @@ -1,4 +1,4 @@ -Error in actix_limitation - Rust
pub enum Error {
+Error in actix_limitation - Rust
pub enum Error {
     Client(RedisError),
     LimitExceeded(Status),
     Time(ComponentRange),
@@ -8,7 +8,7 @@
 
§

LimitExceeded(Status)

Limit is exceeded for a key.

§

Time(ComponentRange)

Time conversion failed.

§

Other(String)

Generic error.

-

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<ComponentRange> for Error

source§

fn from(original: ComponentRange) -> Error

Converts to this type from the input type.
source§

impl From<RedisError> for Error

source§

fn from(original: RedisError) -> Error

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<ComponentRange> for Error

source§

fn from(original: ComponentRange) -> Error

Converts to this type from the input type.
source§

impl From<RedisError> for Error

source§

fn from(original: RedisError) -> Error

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_limitation/index.html b/actix_limitation/index.html index d50144e56..be45bed7d 100644 --- a/actix_limitation/index.html +++ b/actix_limitation/index.html @@ -1,4 +1,4 @@ -actix_limitation - Rust

Crate actix_limitation

source ·
Expand description

Rate limiter using a fixed window counter for arbitrary keys, backed by Redis for Actix Web.

+actix_limitation - Rust

Crate actix_limitation

source ·
Expand description

Rate limiter using a fixed window counter for arbitrary keys, backed by Redis for Actix Web.

[dependencies]
 actix-web = "4"
 actix-limitation = "0.5"
diff --git a/actix_limitation/struct.Builder.html b/actix_limitation/struct.Builder.html
index a83246e8a..458bb528d 100644
--- a/actix_limitation/struct.Builder.html
+++ b/actix_limitation/struct.Builder.html
@@ -1,4 +1,4 @@
-Builder in actix_limitation - Rust
pub struct Builder { /* private fields */ }
Expand description

Rate limiter builder.

+Builder in actix_limitation - Rust
pub struct Builder { /* private fields */ }
Expand description

Rate limiter builder.

Implementations§

source§

impl Builder

source

pub fn limit(&mut self, limit: usize) -> &mut Self

Set upper limit.

source

pub fn period(&mut self, period: Duration) -> &mut Self

Set limit window/period.

source

pub fn key_by<F>(&mut self, resolver: F) -> &mut Selfwhere diff --git a/actix_limitation/struct.Limiter.html b/actix_limitation/struct.Limiter.html index 9fd540493..86a23a869 100644 --- a/actix_limitation/struct.Limiter.html +++ b/actix_limitation/struct.Limiter.html @@ -1,4 +1,4 @@ -Limiter in actix_limitation - Rust
pub struct Limiter { /* private fields */ }
Expand description

Rate limiter.

+Limiter in actix_limitation - Rust
pub struct Limiter { /* private fields */ }
Expand description

Rate limiter.

Implementations§

source§

impl Limiter

source

pub fn builder(redis_url: impl Into<String>) -> Builder

Construct rate limiter builder with defaults.

See redis-rs docs on connection parameters for how to set the Redis URL.

diff --git a/actix_limitation/struct.RateLimiter.html b/actix_limitation/struct.RateLimiter.html index f85bff5e2..0f87ddc76 100644 --- a/actix_limitation/struct.RateLimiter.html +++ b/actix_limitation/struct.RateLimiter.html @@ -1,4 +1,4 @@ -RateLimiter in actix_limitation - Rust
#[non_exhaustive]
pub struct RateLimiter;
Expand description

Rate limit middleware.

+RateLimiter in actix_limitation - Rust
#[non_exhaustive]
pub struct RateLimiter;
Expand description

Rate limit middleware.

Trait Implementations§

source§

impl Debug for RateLimiter

source§

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

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

impl Default for RateLimiter

source§

fn default() -> RateLimiter

Returns the “default value” for a type. Read more
source§

impl<S, B> Transform<S, ServiceRequest> for RateLimiterwhere S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error> + 'static, S::Future: 'static, diff --git a/actix_limitation/struct.Status.html b/actix_limitation/struct.Status.html index e6f228f5e..f911c1750 100644 --- a/actix_limitation/struct.Status.html +++ b/actix_limitation/struct.Status.html @@ -1,4 +1,4 @@ -Status in actix_limitation - Rust
pub struct Status { /* private fields */ }
Expand description

A report for a given key containing the limit status.

+Status in actix_limitation - Rust
pub struct Status { /* private fields */ }
Expand description

A report for a given key containing the limit status.

Implementations§

source§

impl Status

source

pub fn limit(&self) -> usize

Returns the maximum number of requests allowed in the current period.

source

pub fn remaining(&self) -> usize

Returns how many requests are left in the current period.

source

pub fn reset_epoch_utc(&self) -> usize

Returns a UNIX timestamp in UTC approximately when the next period will begin.

diff --git a/actix_protobuf/all.html b/actix_protobuf/all.html index 145ee9f02..c6e212c0e 100644 --- a/actix_protobuf/all.html +++ b/actix_protobuf/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_protobuf/enum.ProtoBufPayloadError.html b/actix_protobuf/enum.ProtoBufPayloadError.html index 0b307c872..5ab06d212 100644 --- a/actix_protobuf/enum.ProtoBufPayloadError.html +++ b/actix_protobuf/enum.ProtoBufPayloadError.html @@ -1,4 +1,4 @@ -ProtoBufPayloadError in actix_protobuf - Rust

Trait Implementations§

source§

impl Debug for ProtoBufPayloadError

source§

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

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

impl Display for ProtoBufPayloadError

source§

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

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

impl From<DecodeError> for ProtoBufPayloadError

source§

fn from(err: ProtoBufDecodeError) -> ProtoBufPayloadError

Converts to this type from the input type.
source§

impl From<PayloadError> for ProtoBufPayloadError

source§

fn from(err: PayloadError) -> ProtoBufPayloadError

Converts to this type from the input type.
source§

impl ResponseError for ProtoBufPayloadError

source§

fn error_response(&self) -> HttpResponse

Creates full response for error. Read more
§

fn status_code(&self) -> StatusCode

Returns appropriate status code for error. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Debug for ProtoBufPayloadError

source§

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

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

impl Display for ProtoBufPayloadError

source§

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

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

impl From<DecodeError> for ProtoBufPayloadError

source§

fn from(err: ProtoBufDecodeError) -> ProtoBufPayloadError

Converts to this type from the input type.
source§

impl From<PayloadError> for ProtoBufPayloadError

source§

fn from(err: PayloadError) -> ProtoBufPayloadError

Converts to this type from the input type.
source§

impl ResponseError for ProtoBufPayloadError

source§

fn error_response(&self) -> HttpResponse

Creates full response for error. Read more
§

fn status_code(&self) -> StatusCode

Returns appropriate status code for error. Read more

Auto Trait Implementations§

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_protobuf/index.html b/actix_protobuf/index.html index 08bb462e8..eec0ba854 100644 --- a/actix_protobuf/index.html +++ b/actix_protobuf/index.html @@ -1,2 +1,2 @@ -actix_protobuf - Rust

Crate actix_protobuf

source ·
Expand description

Protobuf payload extractor for Actix Web.

+actix_protobuf - Rust
\ No newline at end of file diff --git a/actix_protobuf/struct.ProtoBuf.html b/actix_protobuf/struct.ProtoBuf.html index ba4d9f6c5..f49f45021 100644 --- a/actix_protobuf/struct.ProtoBuf.html +++ b/actix_protobuf/struct.ProtoBuf.html @@ -1,6 +1,6 @@ -ProtoBuf in actix_protobuf - Rust
pub struct ProtoBuf<T: Message>(pub T);

Tuple Fields§

§0: T

Trait Implementations§

source§

impl<T> Debug for ProtoBuf<T>where - T: Debug + Message,

source§

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

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

impl<T: Message> Deref for ProtoBuf<T>

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.
source§

impl<T: Message> DerefMut for ProtoBuf<T>

source§

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

Mutably dereferences the value.
source§

impl<T> Display for ProtoBuf<T>where - T: Display + Message,

source§

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

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

impl<T> FromRequest for ProtoBuf<T>where +ProtoBuf in actix_protobuf - Rust
pub struct ProtoBuf<T: Message>(pub T);

Tuple Fields§

§0: T

Trait Implementations§

source§

impl<T> Debug for ProtoBuf<T>where + T: Debug + Message,

source§

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

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

impl<T: Message> Deref for ProtoBuf<T>

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.
source§

impl<T: Message> DerefMut for ProtoBuf<T>

source§

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

Mutably dereferences the value.
source§

impl<T> Display for ProtoBuf<T>where + T: Display + Message,

source§

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

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

impl<T> FromRequest for ProtoBuf<T>where T: Message + Default + 'static,

§

type Error = Error

The associated error which can be returned.
§

type Future = Pin<Box<dyn Future<Output = Result<ProtoBuf<T>, Error>>, Global>>

Future that resolves to a Self. Read more
source§

fn from_request(req: &HttpRequest, payload: &mut Payload) -> Self::Future

Create a Self from request parts asynchronously.
§

fn extract(req: &HttpRequest) -> Self::Future

Create a Self from request head asynchronously. Read more
source§

impl<T: Message + Default> Responder for ProtoBuf<T>

§

type Body = BoxBody

source§

fn respond_to(self, _: &HttpRequest) -> HttpResponse

Convert self to HttpResponse.
§

fn customize(self) -> CustomizeResponder<Self>where Self: Sized,

Wraps responder to allow alteration of its response. Read more

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for ProtoBuf<T>where T: RefUnwindSafe,

§

impl<T> Send for ProtoBuf<T>

§

impl<T> Sync for ProtoBuf<T>

§

impl<T> Unpin for ProtoBuf<T>where diff --git a/actix_protobuf/struct.ProtoBufConfig.html b/actix_protobuf/struct.ProtoBufConfig.html index f387474be..19183ab89 100644 --- a/actix_protobuf/struct.ProtoBufConfig.html +++ b/actix_protobuf/struct.ProtoBufConfig.html @@ -1,4 +1,4 @@ -ProtoBufConfig in actix_protobuf - Rust
pub struct ProtoBufConfig { /* private fields */ }

Implementations§

source§

impl ProtoBufConfig

source

pub fn limit(&mut self, limit: usize) -> &mut Self

Change max size of payload. By default max size is 256Kb

+ProtoBufConfig in actix_protobuf - Rust
pub struct ProtoBufConfig { /* private fields */ }

Implementations§

source§

impl ProtoBufConfig

source

pub fn limit(&mut self, limit: usize) -> &mut Self

Change max size of payload. By default max size is 256Kb

Trait Implementations§

source§

impl Default for ProtoBufConfig

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

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 diff --git a/actix_protobuf/struct.ProtoBufMessage.html b/actix_protobuf/struct.ProtoBufMessage.html index 3c388d500..1534bda32 100644 --- a/actix_protobuf/struct.ProtoBufMessage.html +++ b/actix_protobuf/struct.ProtoBufMessage.html @@ -1,4 +1,4 @@ -ProtoBufMessage in actix_protobuf - Rust
pub struct ProtoBufMessage<T: Message + Default> { /* private fields */ }

Implementations§

source§

impl<T: Message + Default> ProtoBufMessage<T>

source

pub fn new(req: &HttpRequest, payload: &mut Payload) -> Self

Create ProtoBufMessage for request.

+ProtoBufMessage in actix_protobuf - Rust
pub struct ProtoBufMessage<T: Message + Default> { /* private fields */ }

Implementations§

source§

impl<T: Message + Default> ProtoBufMessage<T>

source

pub fn new(req: &HttpRequest, payload: &mut Payload) -> Self

Create ProtoBufMessage for request.

source

pub fn limit(self, limit: usize) -> Self

Change max size of payload. By default max size is 256Kb

Trait Implementations§

source§

impl<T: Message + Default + 'static> Future for ProtoBufMessage<T>

§

type Output = Result<T, ProtoBufPayloadError>

The type of value produced on completion.
source§

fn poll(self: Pin<&mut Self>, task: &mut Context<'_>) -> Poll<Self::Output>

Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more

Auto Trait Implementations§

§

impl<T> !RefUnwindSafe for ProtoBufMessage<T>

§

impl<T> !Send for ProtoBufMessage<T>

§

impl<T> !Sync for ProtoBufMessage<T>

§

impl<T> Unpin for ProtoBufMessage<T>

§

impl<T> !UnwindSafe for ProtoBufMessage<T>

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/actix_protobuf/trait.ProtoBufResponseBuilder.html b/actix_protobuf/trait.ProtoBufResponseBuilder.html index 7c283c92e..0e5a21836 100644 --- a/actix_protobuf/trait.ProtoBufResponseBuilder.html +++ b/actix_protobuf/trait.ProtoBufResponseBuilder.html @@ -1,4 +1,4 @@ -ProtoBufResponseBuilder in actix_protobuf - Rust
pub trait ProtoBufResponseBuilder {
+ProtoBufResponseBuilder in actix_protobuf - Rust
pub trait ProtoBufResponseBuilder {
     // Required method
     fn protobuf<T: Message>(&mut self, value: T) -> Result<HttpResponse, Error>;
 }

Required Methods§

source

fn protobuf<T: Message>(&mut self, value: T) -> Result<HttpResponse, Error>

Implementations on Foreign Types§

source§

impl ProtoBufResponseBuilder for HttpResponseBuilder

source§

fn protobuf<T: Message>(&mut self, value: T) -> Result<HttpResponse, Error>

Implementors§

\ No newline at end of file diff --git a/actix_redis/all.html b/actix_redis/all.html index 2671fc868..ddd055828 100644 --- a/actix_redis/all.html +++ b/actix_redis/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Macros

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Macros

\ No newline at end of file diff --git a/actix_redis/enum.Error.html b/actix_redis/enum.Error.html index 6a0a508d0..c2e90e4f0 100644 --- a/actix_redis/enum.Error.html +++ b/actix_redis/enum.Error.html @@ -1,4 +1,4 @@ -Error in actix_redis - Rust

Enum actix_redis::Error

source ·
pub enum Error {
+Error in actix_redis - Rust

Enum actix_redis::Error

source ·
pub enum Error {
     Redis(Error),
     NotConnected,
     Disconnected,
diff --git a/actix_redis/enum.RespError.html b/actix_redis/enum.RespError.html
index 902f5077e..ced7ce7fd 100644
--- a/actix_redis/enum.RespError.html
+++ b/actix_redis/enum.RespError.html
@@ -1,4 +1,4 @@
-RespError in actix_redis - Rust
pub enum RespError {
+RespError in actix_redis - Rust
pub enum RespError {
     Internal(String),
     IO(Arc<Error, Global>),
     Resp(String, Option<RespValue>),
@@ -16,8 +16,8 @@ chains of futures; but it occurring at runtime should be considered a catastroph
 failure.

If any error is propagated this way that needs to be handled, then it should be made into a proper option.

-

Trait Implementations§

§

impl Clone for Error

§

fn clone(&self) -> Error

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
§

impl Debug for Error

§

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

Formats the value using the given formatter. Read more
§

impl Display for Error

§

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

Formats the value using the given formatter. Read more
§

impl Error for Error

§

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
§

impl From<Error> for Error

§

fn from(err: Error) -> Error

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(original: Error) -> Error

Converts to this type from the input type.
§

impl<T> From<TrySendError<T>> for Errorwhere - T: 'static + Send,

§

fn from(err: TrySendError<T>) -> Error

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§

§

impl Clone for Error

§

fn clone(&self) -> Error

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
§

impl Debug for Error

§

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

Formats the value using the given formatter. Read more
§

impl Display for Error

§

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

Formats the value using the given formatter. Read more
§

impl Error for Error

§

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
§

impl From<Error> for Error

§

fn from(err: Error) -> Error

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(original: Error) -> Error

Converts to this type from the input type.
§

impl<T> From<TrySendError<T>> for Errorwhere + T: 'static + Send,

§

fn from(err: TrySendError<T>) -> Error

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

pub fn push<T>(&mut self, item: T)where T: Into<RespValue>,

Push item to Resp array

This will panic if called for anything other than arrays

-

Trait Implementations§

§

impl Clone for RespValue

§

fn clone(&self) -> RespValue

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
§

impl Debug for RespValue

§

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

Formats the value using the given formatter. Read more
§

impl<'a> From<&'a [u8]> for RespValue

§

fn from(from: &'a [u8]) -> RespValue

Converts to this type from the input type.
§

impl<'a> From<&'a String> for RespValue

§

fn from(from: &'a String) -> RespValue

Converts to this type from the input type.
§

impl<'a> From<&'a str> for RespValue

§

fn from(from: &'a str) -> RespValue

Converts to this type from the input type.
§

impl<'a> From<Arc<str, Global>> for RespValue

§

fn from(from: Arc<str, Global>) -> RespValue

Converts to this type from the input type.
§

impl<'a> From<String> for RespValue

§

fn from(from: String) -> RespValue

Converts to this type from the input type.
§

impl<'a> From<Vec<u8, Global>> for RespValue

§

fn from(from: Vec<u8, Global>) -> RespValue

Converts to this type from the input type.
§

impl<'a> From<usize> for RespValue

§

fn from(from: usize) -> RespValue

Converts to this type from the input type.
§

impl FromResp for RespValue

§

fn from_resp_int(resp: RespValue) -> Result<RespValue, Error>

§

fn from_resp(resp: RespValue) -> Result<Self, Error>

Return a Result containing either Self or Error. Errors can occur due to either: a) the particular +

Trait Implementations§

§

impl Clone for RespValue

§

fn clone(&self) -> RespValue

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
§

impl Debug for RespValue

§

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

Formats the value using the given formatter. Read more
§

impl<'a> From<&'a [u8]> for RespValue

§

fn from(from: &'a [u8]) -> RespValue

Converts to this type from the input type.
§

impl<'a> From<&'a String> for RespValue

§

fn from(from: &'a String) -> RespValue

Converts to this type from the input type.
§

impl<'a> From<&'a str> for RespValue

§

fn from(from: &'a str) -> RespValue

Converts to this type from the input type.
§

impl<'a> From<Arc<str, Global>> for RespValue

§

fn from(from: Arc<str, Global>) -> RespValue

Converts to this type from the input type.
§

impl<'a> From<String> for RespValue

§

fn from(from: String) -> RespValue

Converts to this type from the input type.
§

impl<'a> From<Vec<u8, Global>> for RespValue

§

fn from(from: Vec<u8, Global>) -> RespValue

Converts to this type from the input type.
§

impl<'a> From<usize> for RespValue

§

fn from(from: usize) -> RespValue

Converts to this type from the input type.
§

impl FromResp for RespValue

§

fn from_resp_int(resp: RespValue) -> Result<RespValue, Error>

§

fn from_resp(resp: RespValue) -> Result<Self, Error>

Return a Result containing either Self or Error. Errors can occur due to either: a) the particular RespValue being incompatible with the required type, or b) a remote Redis error occuring.
§

impl PartialEq<RespValue> for RespValue

§

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

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

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

This method tests for !=. The default implementation is almost always +by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Eq for RespValue

§

impl StructuralEq for RespValue

§

impl StructuralPartialEq for RespValue

Auto Trait Implementations§

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 diff --git a/actix_redis/index.html b/actix_redis/index.html index 29f227f4f..0f4c28e9f 100644 --- a/actix_redis/index.html +++ b/actix_redis/index.html @@ -1,3 +1,3 @@ -actix_redis - Rust

Crate actix_redis

source ·
Expand description

Redis integration for actix.

+actix_redis - Rust

Crate actix_redis

source ·
Expand description

Redis integration for actix.

Macros

  • Macro to create a RESP array, useful for preparing commands to send. Elements can be any type, or a mixture of types, that satisfy Into<RespValue>.

Structs

Enums

  • General purpose actix-redis error.
  • A single RESP value, this owns the data that is read/to-be written to Redis.
\ No newline at end of file diff --git a/actix_redis/macro.resp_array.html b/actix_redis/macro.resp_array.html index 9e60a80f3..4ef4ff61d 100644 --- a/actix_redis/macro.resp_array.html +++ b/actix_redis/macro.resp_array.html @@ -1,4 +1,4 @@ -resp_array in actix_redis - Rust
macro_rules! resp_array {
+resp_array in actix_redis - Rust
macro_rules! resp_array {
     ($($e:expr),* $(,)?) => { ... };
 }
Expand description

Macro to create a RESP array, useful for preparing commands to send. Elements can be any type, or a mixture of types, that satisfy Into<RespValue>.

diff --git a/actix_redis/struct.Command.html b/actix_redis/struct.Command.html index 974eaad79..87972c530 100644 --- a/actix_redis/struct.Command.html +++ b/actix_redis/struct.Command.html @@ -1,4 +1,4 @@ -Command in actix_redis - Rust

Struct actix_redis::Command

source ·
pub struct Command(pub RespValue);
Expand description

Command for sending data to Redis.

+Command in actix_redis - Rust

Struct actix_redis::Command

source ·
pub struct Command(pub RespValue);
Expand description

Command for sending data to Redis.

Tuple Fields§

§0: RespValue

Trait Implementations§

source§

impl Debug for Command

source§

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

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

impl Handler<Command> for RedisActor

§

type Result = Pin<Box<dyn Future<Output = Result<RespValue, Error>>, Global>>

The type of value that this handler will return. Read more
source§

fn handle(&mut self, msg: Command, _: &mut Self::Context) -> Self::Result

This method is called for every message received by this actor.
source§

impl Message for Command

§

type Result = Result<RespValue, Error>

The type of value that this message will resolved with if it is successful.

Auto Trait Implementations§

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 diff --git a/actix_redis/struct.RedisActor.html b/actix_redis/struct.RedisActor.html index 8523b9426..11ee0355b 100644 --- a/actix_redis/struct.RedisActor.html +++ b/actix_redis/struct.RedisActor.html @@ -1,14 +1,14 @@ -RedisActor in actix_redis - Rust

Struct actix_redis::RedisActor

source ·
pub struct RedisActor { /* private fields */ }
Expand description

Redis communication actor.

+RedisActor in actix_redis - Rust

Struct actix_redis::RedisActor

source ·
pub struct RedisActor { /* private fields */ }
Expand description

Redis communication actor.

Implementations§

source§

impl RedisActor

source

pub fn start<S: Into<String>>(addr: S) -> Addr<RedisActor>

Start new Supervisor with RedisActor.

-

Trait Implementations§

source§

impl Actor for RedisActor

§

type Context = Context<RedisActor>

Actor execution context type
source§

fn started(&mut self, ctx: &mut Context<Self>)

Called when an actor gets polled the first time.
§

fn stopping(&mut self, ctx: &mut Self::Context) -> Running

Called after an actor is in Actor::Stopping state. Read more
§

fn stopped(&mut self, ctx: &mut Self::Context)

Called after an actor is stopped. Read more
§

fn start(self) -> Addr<Self>where +

Trait Implementations§

source§

impl Actor for RedisActor

§

type Context = Context<RedisActor>

Actor execution context type
source§

fn started(&mut self, ctx: &mut Context<Self>)

Called when an actor gets polled the first time.
§

fn stopping(&mut self, ctx: &mut Self::Context) -> Running

Called after an actor is in Actor::Stopping state. Read more
§

fn stopped(&mut self, ctx: &mut Self::Context)

Called after an actor is stopped. Read more
§

fn start(self) -> Addr<Self>where Self: Actor<Context = Context<Self>>,

Start a new asynchronous actor, returning its address. Read more
§

fn start_in_arbiter<F>(wrk: &ArbiterHandle, f: F) -> Addr<Self>where Self: Actor<Context = Context<Self>>, F: FnOnce(&mut Context<Self>) -> Self + Send + 'static,

Start new actor in arbiter’s thread.
§

fn create<F>(f: F) -> Addr<Self>where Self: Actor<Context = Context<Self>>, - F: FnOnce(&mut Context<Self>) -> Self,

Start a new asynchronous actor given a Context. Read more
source§

impl Handler<Command> for RedisActor

§

type Result = Pin<Box<dyn Future<Output = Result<RespValue, Error>>, Global>>

The type of value that this handler will return. Read more
source§

fn handle(&mut self, msg: Command, _: &mut Self::Context) -> Self::Result

This method is called for every message received by this actor.
source§

impl StreamHandler<Result<RespValue, Error>> for RedisActor

source§

fn handle(&mut self, msg: Result<RespValue, RespError>, ctx: &mut Self::Context)

Called for every message emitted by the stream.
§

fn started(&mut self, ctx: &mut Self::Context)

Called when stream emits first item. Read more
§

fn finished(&mut self, ctx: &mut Self::Context)

Called when stream finishes. Read more
§

fn add_stream<S>(stream: S, ctx: &mut Self::Context) -> SpawnHandlewhere + F: FnOnce(&mut Context<Self>) -> Self,

Start a new asynchronous actor given a Context. Read more
source§

impl Handler<Command> for RedisActor

§

type Result = Pin<Box<dyn Future<Output = Result<RespValue, Error>>, Global>>

The type of value that this handler will return. Read more
source§

fn handle(&mut self, msg: Command, _: &mut Self::Context) -> Self::Result

This method is called for every message received by this actor.
source§

impl StreamHandler<Result<RespValue, Error>> for RedisActor

source§

fn handle(&mut self, msg: Result<RespValue, RespError>, ctx: &mut Self::Context)

Called for every message emitted by the stream.
§

fn started(&mut self, ctx: &mut Self::Context)

Called when stream emits first item. Read more
§

fn finished(&mut self, ctx: &mut Self::Context)

Called when stream finishes. Read more
§

fn add_stream<S>(stream: S, ctx: &mut Self::Context) -> SpawnHandlewhere S: Stream + 'static, Self: StreamHandler<<S as Stream>::Item>, - Self::Context: AsyncContext<Self>,

Register a Stream to the actor context.
source§

impl Supervised for RedisActor

source§

fn restarting(&mut self, _: &mut Self::Context)

Called when the supervisor restarts a failed actor.
source§

impl WriteHandler<Error> for RedisActor

source§

fn error(&mut self, err: Error, _: &mut Self::Context) -> Running

Called when the writer emits error. Read more
§

fn finished(&mut self, ctx: &mut Self::Context)

Called when the writer finishes. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + Self::Context: AsyncContext<Self>,

Register a Stream to the actor context.

source§

impl Supervised for RedisActor

source§

fn restarting(&mut self, _: &mut Self::Context)

Called when the supervisor restarts a failed actor.
source§

impl WriteHandler<Error> for RedisActor

source§

fn error(&mut self, err: Error, _: &mut Self::Context) -> Running

Called when the writer emits error. Read more
§

fn finished(&mut self, ctx: &mut Self::Context)

Called when the writer finishes. Read more

Auto Trait Implementations§

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_session/all.html b/actix_session/all.html index 4d4dde744..264e4d9b7 100644 --- a/actix_session/all.html +++ b/actix_session/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_session/config/enum.CookieContentSecurity.html b/actix_session/config/enum.CookieContentSecurity.html index b3b46a978..b48e19ada 100644 --- a/actix_session/config/enum.CookieContentSecurity.html +++ b/actix_session/config/enum.CookieContentSecurity.html @@ -1,4 +1,4 @@ -CookieContentSecurity in actix_session::config - Rust
pub enum CookieContentSecurity {
+CookieContentSecurity in actix_session::config - Rust
pub enum CookieContentSecurity {
     Private,
     Signed,
 }
Expand description

Determines how to secure the content of the session cookie.

diff --git a/actix_session/config/enum.SessionLifecycle.html b/actix_session/config/enum.SessionLifecycle.html index 71f5b08f5..f7ce12f8d 100644 --- a/actix_session/config/enum.SessionLifecycle.html +++ b/actix_session/config/enum.SessionLifecycle.html @@ -1,4 +1,4 @@ -SessionLifecycle in actix_session::config - Rust
#[non_exhaustive]
pub enum SessionLifecycle { +SessionLifecycle in actix_session::config - Rust
#[non_exhaustive]
pub enum SessionLifecycle { BrowserSession(BrowserSession), PersistentSession(PersistentSession), }
Expand description

Determines what type of session cookie should be used and how its lifecycle should be managed.

@@ -11,7 +11,7 @@ Check the documentation of the browsers you are targeting for up-to-date informa
§

PersistentSession(PersistentSession)

The session cookie will be a persistent cookie.

Persistent cookies have a pre-determined lifetime, specified via the Max-Age or Expires attribute. They do not disappear when the current browser session ends.

-

Trait Implementations§

source§

impl Clone for SessionLifecycle

source§

fn clone(&self) -> SessionLifecycle

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 SessionLifecycle

source§

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

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

impl From<BrowserSession> for SessionLifecycle

source§

fn from(original: BrowserSession) -> SessionLifecycle

Converts to this type from the input type.
source§

impl From<PersistentSession> for SessionLifecycle

source§

fn from(original: PersistentSession) -> SessionLifecycle

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for SessionLifecycle

source§

fn clone(&self) -> SessionLifecycle

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 SessionLifecycle

source§

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

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

impl From<BrowserSession> for SessionLifecycle

source§

fn from(original: BrowserSession) -> SessionLifecycle

Converts to this type from the input type.
source§

impl From<PersistentSession> for SessionLifecycle

source§

fn from(original: PersistentSession) -> SessionLifecycle

Converts to this type from the input type.

Auto Trait Implementations§

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_session/config/enum.TtlExtensionPolicy.html b/actix_session/config/enum.TtlExtensionPolicy.html index ef9f75a8f..fe835f39b 100644 --- a/actix_session/config/enum.TtlExtensionPolicy.html +++ b/actix_session/config/enum.TtlExtensionPolicy.html @@ -1,4 +1,4 @@ -TtlExtensionPolicy in actix_session::config - Rust
#[non_exhaustive]
pub enum TtlExtensionPolicy { +TtlExtensionPolicy in actix_session::config - Rust
#[non_exhaustive]
pub enum TtlExtensionPolicy { OnEveryRequest, OnStateChanges, }
Expand description

Configuration for which events should trigger an extension of the time-to-live for your session.

diff --git a/actix_session/config/index.html b/actix_session/config/index.html index b3b1145f0..93973b005 100644 --- a/actix_session/config/index.html +++ b/actix_session/config/index.html @@ -1,3 +1,3 @@ -actix_session::config - Rust

Module actix_session::config

source ·
Expand description

Configuration options to tune the behaviour of SessionMiddleware.

+actix_session::config - Rust

Module actix_session::config

source ·
Expand description

Configuration options to tune the behaviour of SessionMiddleware.

Structs

Enums

  • Determines how to secure the content of the session cookie.
  • Determines what type of session cookie should be used and how its lifecycle should be managed.
  • Configuration for which events should trigger an extension of the time-to-live for your session.
\ No newline at end of file diff --git a/actix_session/config/struct.BrowserSession.html b/actix_session/config/struct.BrowserSession.html index 80498c6e3..96e5a4b6c 100644 --- a/actix_session/config/struct.BrowserSession.html +++ b/actix_session/config/struct.BrowserSession.html @@ -1,4 +1,4 @@ -BrowserSession in actix_session::config - Rust
pub struct BrowserSession { /* private fields */ }
Expand description

A session lifecycle strategy where the session cookie expires when the +BrowserSession in actix_session::config - Rust

pub struct BrowserSession { /* private fields */ }
Expand description

A session lifecycle strategy where the session cookie expires when the browser’s current session ends.

When does a browser session end? It depends on the browser. Chrome, for example, will often continue running in the background when the browser is closed—session cookies are not deleted diff --git a/actix_session/config/struct.PersistentSession.html b/actix_session/config/struct.PersistentSession.html index ce89659a3..61844dfdf 100644 --- a/actix_session/config/struct.PersistentSession.html +++ b/actix_session/config/struct.PersistentSession.html @@ -1,4 +1,4 @@ -PersistentSession in actix_session::config - Rust

pub struct PersistentSession { /* private fields */ }
Expand description

A session lifecycle strategy where the session cookie will be persistent.

+PersistentSession in actix_session::config - Rust
pub struct PersistentSession { /* private fields */ }
Expand description

A session lifecycle strategy where the session cookie will be persistent.

Persistent cookies have a pre-determined expiration, specified via the Max-Age or Expires attribute. They do not disappear when the current browser session ends.

Due to its Into<SessionLifecycle> implementation, a PersistentSession can be passed directly diff --git a/actix_session/config/struct.SessionMiddlewareBuilder.html b/actix_session/config/struct.SessionMiddlewareBuilder.html index ac4e85ce9..650d36864 100644 --- a/actix_session/config/struct.SessionMiddlewareBuilder.html +++ b/actix_session/config/struct.SessionMiddlewareBuilder.html @@ -1,4 +1,4 @@ -SessionMiddlewareBuilder in actix_session::config - Rust

pub struct SessionMiddlewareBuilder<Store: SessionStore> { /* private fields */ }
Expand description

A fluent, customized SessionMiddleware builder.

+SessionMiddlewareBuilder in actix_session::config - Rust
pub struct SessionMiddlewareBuilder<Store: SessionStore> { /* private fields */ }
Expand description

A fluent, customized SessionMiddleware builder.

Implementations§

source§

impl<Store: SessionStore> SessionMiddlewareBuilder<Store>

source

pub fn cookie_name(self, name: String) -> Self

Set the name of the cookie used to store the session ID.

Defaults to id.

source

pub fn cookie_secure(self, secure: bool) -> Self

Set the Secure attribute for the cookie used to store the session ID.

diff --git a/actix_session/enum.SessionStatus.html b/actix_session/enum.SessionStatus.html index 90d0d38bc..8b4265aab 100644 --- a/actix_session/enum.SessionStatus.html +++ b/actix_session/enum.SessionStatus.html @@ -1,4 +1,4 @@ -SessionStatus in actix_session - Rust
pub enum SessionStatus {
+SessionStatus in actix_session - Rust
pub enum SessionStatus {
     Changed,
     Purged,
     Renewed,
@@ -13,7 +13,7 @@ the client and the session state will be deleted from the session store.

extended.

§

Unchanged

The session state has not been modified since its creation/retrieval.

Trait Implementations§

source§

impl Clone for SessionStatus

source§

fn clone(&self) -> SessionStatus

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 SessionStatus

source§

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

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

impl Default for SessionStatus

source§

fn default() -> SessionStatus

Returns the “default value” for a type. Read more
source§

impl PartialEq<SessionStatus> for SessionStatus

source§

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

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

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

This method tests for !=. The default implementation is almost always +by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for SessionStatus

source§

impl StructuralEq for SessionStatus

source§

impl StructuralPartialEq for SessionStatus

Auto Trait Implementations§

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 diff --git a/actix_session/index.html b/actix_session/index.html index c27f9d2dd..13bffc149 100644 --- a/actix_session/index.html +++ b/actix_session/index.html @@ -1,4 +1,4 @@ -actix_session - Rust

Crate actix_session

source ·
Expand description

Session management for Actix Web.

+actix_session - Rust

Crate actix_session

source ·
Expand description

Session management for Actix Web.

The HTTP protocol, at a first glance, is stateless: the client sends a request, the server parses its content, performs some processing and returns a response. The outcome is only influenced by the provided inputs (i.e. the request content) and whatever state the server diff --git a/actix_session/storage/enum.LoadError.html b/actix_session/storage/enum.LoadError.html index 8bc826ee0..97298ae8d 100644 --- a/actix_session/storage/enum.LoadError.html +++ b/actix_session/storage/enum.LoadError.html @@ -1,10 +1,10 @@ -LoadError in actix_session::storage - Rust

pub enum LoadError {
+LoadError in actix_session::storage - Rust
pub enum LoadError {
     Deserialization(Error),
     Other(Error),
 }
Expand description

Possible failures modes for SessionStore::load.

Variants§

§

Deserialization(Error)

Failed to deserialize session state.

§

Other(Error)

Something went wrong when retrieving the session state.

-

Trait Implementations§

source§

impl Debug for LoadError

source§

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

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

impl Display for LoadError

source§

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

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

impl Error for LoadError

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

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Debug for LoadError

source§

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

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

impl Display for LoadError

source§

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

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

impl Error for LoadError

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

Auto Trait Implementations§

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_session/storage/enum.SaveError.html b/actix_session/storage/enum.SaveError.html index 8a22fa60e..1d887eb13 100644 --- a/actix_session/storage/enum.SaveError.html +++ b/actix_session/storage/enum.SaveError.html @@ -1,4 +1,4 @@ -SaveError in actix_session::storage - Rust
pub enum SaveError {
+SaveError in actix_session::storage - Rust
pub enum SaveError {
     Serialization(Error),
     Other(Error),
 }
Expand description

Possible failures modes for SessionStore::save.

diff --git a/actix_session/storage/enum.UpdateError.html b/actix_session/storage/enum.UpdateError.html index 84400c6cb..4ae15a2b2 100644 --- a/actix_session/storage/enum.UpdateError.html +++ b/actix_session/storage/enum.UpdateError.html @@ -1,10 +1,10 @@ -UpdateError in actix_session::storage - Rust
pub enum UpdateError {
+UpdateError in actix_session::storage - Rust
pub enum UpdateError {
     Serialization(Error),
     Other(Error),
 }
Expand description

Possible failures modes for SessionStore::update.

Variants§

§

Serialization(Error)

Failed to serialize session state.

§

Other(Error)

Something went wrong when updating the session state.

-

Trait Implementations§

source§

impl Debug for UpdateError

source§

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

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

impl Display for UpdateError

source§

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

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

impl Error for UpdateError

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

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Debug for UpdateError

source§

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

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

impl Display for UpdateError

source§

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

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

impl Error for UpdateError

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

Auto Trait Implementations§

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_session/storage/index.html b/actix_session/storage/index.html index 31798f34b..6bdf8cae6 100644 --- a/actix_session/storage/index.html +++ b/actix_session/storage/index.html @@ -1,4 +1,4 @@ -actix_session::storage - Rust

Module actix_session::storage

source ·
Expand description

Pluggable storage backends for session state.

+actix_session::storage - Rust

Module actix_session::storage

source ·
Expand description

Pluggable storage backends for session state.

Structs

  • Use the session key, stored in the session cookie, as storage backend for the session state.
  • Use Redis as session storage backend.
  • A fluent builder to construct a RedisActorSessionStore instance with custom configuration parameters.
  • Use Redis as session storage backend.
  • A fluent builder to construct a RedisSessionStore instance with custom configuration parameters.
  • A session key, the string stored in a client-side cookie to associate a user with its session diff --git a/actix_session/storage/struct.CookieSessionStore.html b/actix_session/storage/struct.CookieSessionStore.html index f01ac3465..2f13acc1f 100644 --- a/actix_session/storage/struct.CookieSessionStore.html +++ b/actix_session/storage/struct.CookieSessionStore.html @@ -1,4 +1,4 @@ -CookieSessionStore in actix_session::storage - Rust
    #[non_exhaustive]
    pub struct CookieSessionStore;
    Expand description

    Use the session key, stored in the session cookie, as storage backend for the session state.

    +CookieSessionStore in actix_session::storage - Rust
    #[non_exhaustive]
    pub struct CookieSessionStore;
    Expand description

    Use the session key, stored in the session cookie, as storage backend for the session state.

    use actix_web::{cookie::Key, web, App, HttpServer, HttpResponse, Error};
     use actix_session::{SessionMiddleware, storage::CookieSessionStore};
    diff --git a/actix_session/storage/struct.RedisActorSessionStore.html b/actix_session/storage/struct.RedisActorSessionStore.html
    index 8944dca5e..1993fd59e 100644
    --- a/actix_session/storage/struct.RedisActorSessionStore.html
    +++ b/actix_session/storage/struct.RedisActorSessionStore.html
    @@ -1,4 +1,4 @@
    -RedisActorSessionStore in actix_session::storage - Rust
    pub struct RedisActorSessionStore { /* private fields */ }
    Expand description

    Use Redis as session storage backend.

    +RedisActorSessionStore in actix_session::storage - Rust
    pub struct RedisActorSessionStore { /* private fields */ }
    Expand description

    Use Redis as session storage backend.

    use actix_web::{web, App, HttpServer, HttpResponse, Error};
     use actix_session::{SessionMiddleware, storage::RedisActorSessionStore};
    diff --git a/actix_session/storage/struct.RedisActorSessionStoreBuilder.html b/actix_session/storage/struct.RedisActorSessionStoreBuilder.html
    index aa1c6b1ef..41011f239 100644
    --- a/actix_session/storage/struct.RedisActorSessionStoreBuilder.html
    +++ b/actix_session/storage/struct.RedisActorSessionStoreBuilder.html
    @@ -1,4 +1,4 @@
    -RedisActorSessionStoreBuilder in actix_session::storage - Rust
    pub struct RedisActorSessionStoreBuilder { /* private fields */ }
    Expand description

    A fluent builder to construct a RedisActorSessionStore instance with custom configuration +RedisActorSessionStoreBuilder in actix_session::storage - Rust

    pub struct RedisActorSessionStoreBuilder { /* private fields */ }
    Expand description

    A fluent builder to construct a RedisActorSessionStore instance with custom configuration parameters.

    Implementations§

    source§

    impl RedisActorSessionStoreBuilder

    source

    pub fn cache_keygen<F>(self, keygen: F) -> Selfwhere F: Fn(&str) -> String + 'static,

    Set a custom cache key generation strategy, expecting a session key as input.

    diff --git a/actix_session/storage/struct.RedisSessionStore.html b/actix_session/storage/struct.RedisSessionStore.html index cdef12e5a..c0f04c5e2 100644 --- a/actix_session/storage/struct.RedisSessionStore.html +++ b/actix_session/storage/struct.RedisSessionStore.html @@ -1,4 +1,4 @@ -RedisSessionStore in actix_session::storage - Rust
    pub struct RedisSessionStore { /* private fields */ }
    Expand description

    Use Redis as session storage backend.

    +RedisSessionStore in actix_session::storage - Rust
    pub struct RedisSessionStore { /* private fields */ }
    Expand description

    Use Redis as session storage backend.

    use actix_web::{web, App, HttpServer, HttpResponse, Error};
     use actix_session::{SessionMiddleware, storage::RedisSessionStore};
    diff --git a/actix_session/storage/struct.RedisSessionStoreBuilder.html b/actix_session/storage/struct.RedisSessionStoreBuilder.html
    index c490bc3f9..dd0022be9 100644
    --- a/actix_session/storage/struct.RedisSessionStoreBuilder.html
    +++ b/actix_session/storage/struct.RedisSessionStoreBuilder.html
    @@ -1,4 +1,4 @@
    -RedisSessionStoreBuilder in actix_session::storage - Rust
    pub struct RedisSessionStoreBuilder { /* private fields */ }
    Expand description

    A fluent builder to construct a RedisSessionStore instance with custom configuration +RedisSessionStoreBuilder in actix_session::storage - Rust

    pub struct RedisSessionStoreBuilder { /* private fields */ }
    Expand description

    A fluent builder to construct a RedisSessionStore instance with custom configuration parameters.

    Implementations§

    source§

    impl RedisSessionStoreBuilder

    source

    pub fn cache_keygen<F>(self, keygen: F) -> Selfwhere F: Fn(&str) -> String + 'static + Send + Sync,

    Set a custom cache key generation strategy, expecting a session key as input.

    diff --git a/actix_session/storage/struct.SessionKey.html b/actix_session/storage/struct.SessionKey.html index e0c93d5a0..1ae993b75 100644 --- a/actix_session/storage/struct.SessionKey.html +++ b/actix_session/storage/struct.SessionKey.html @@ -1,4 +1,4 @@ -SessionKey in actix_session::storage - Rust
    pub struct SessionKey(/* private fields */);
    Expand description

    A session key, the string stored in a client-side cookie to associate a user with its session +SessionKey in actix_session::storage - Rust

    pub struct SessionKey(/* private fields */);
    Expand description

    A session key, the string stored in a client-side cookie to associate a user with its session state on the backend.

    Validation

    Session keys are stored as cookies, therefore they cannot be arbitrary long. Session keys are @@ -10,7 +10,7 @@ required to be smaller than 4064 bytes.

    let session_key: Result<SessionKey, _> = key.try_into(); assert!(session_key.is_err());

    Trait Implementations§

    source§

    impl AsRef<str> for SessionKey

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Debug for SessionKey

    source§

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

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

    impl From<SessionKey> for String

    source§

    fn from(key: SessionKey) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<SessionKey> for SessionKey

    source§

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

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

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

    This method tests for !=. The default implementation is almost always +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl TryFrom<String> for SessionKey

    §

    type Error = InvalidSessionKeyError

    The type returned in the event of a conversion error.
    source§

    fn try_from(val: String) -> Result<Self, Self::Error>

    Performs the conversion.
    source§

    impl Eq for SessionKey

    source§

    impl StructuralEq for SessionKey

    source§

    impl StructuralPartialEq for SessionKey

    Auto Trait Implementations§

    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 diff --git a/actix_session/storage/trait.SessionStore.html b/actix_session/storage/trait.SessionStore.html index 773a675c4..7fe01e26d 100644 --- a/actix_session/storage/trait.SessionStore.html +++ b/actix_session/storage/trait.SessionStore.html @@ -1,4 +1,4 @@ -SessionStore in actix_session::storage - Rust
    pub trait SessionStore {
    +SessionStore in actix_session::storage - Rust
    pub trait SessionStore {
         // Required methods
         fn load<'life0, 'life1, 'async_trait>(
             &'life0 self,
    diff --git a/actix_session/struct.Session.html b/actix_session/struct.Session.html
    index 4d6bf3f9f..3ce2ee430 100644
    --- a/actix_session/struct.Session.html
    +++ b/actix_session/struct.Session.html
    @@ -1,4 +1,4 @@
    -Session in actix_session - Rust

    Struct actix_session::Session

    source ·
    pub struct Session(/* private fields */);
    Expand description

    The primary interface to access and modify session state.

    +Session in actix_session - Rust

    Struct actix_session::Session

    source ·
    pub struct Session(/* private fields */);
    Expand description

    The primary interface to access and modify session state.

    Session is an extractor—you can specify it as an input type for your request handlers and it will be automatically extracted from the incoming request.

    diff --git a/actix_session/struct.SessionGetError.html b/actix_session/struct.SessionGetError.html index 80c81e101..7c110c7c6 100644 --- a/actix_session/struct.SessionGetError.html +++ b/actix_session/struct.SessionGetError.html @@ -1,4 +1,4 @@ -SessionGetError in actix_session - Rust
    pub struct SessionGetError(/* private fields */);
    Expand description

    Error returned by Session::get.

    +SessionGetError in actix_session - Rust
    pub struct SessionGetError(/* private fields */);
    Expand description

    Error returned by Session::get.

    Trait Implementations§

    source§

    impl Debug for SessionGetError

    source§

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

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

    impl Display for SessionGetError

    source§

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

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

    impl Error for SessionGetError

    source§

    fn source(&self) -> Option<&(dyn StdError + '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 SessionGetError

    source§

    fn from(original: Error) -> SessionGetError

    Converts to this type from the input type.
    source§

    impl ResponseError for SessionGetError

    source§

    fn error_response(&self) -> HttpResponse<BoxBody>

    Creates full response for error. Read more
    §

    fn status_code(&self) -> StatusCode

    Returns appropriate status code for error. Read more

    Auto Trait Implementations§

    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 diff --git a/actix_session/struct.SessionInsertError.html b/actix_session/struct.SessionInsertError.html index e4a90cc6c..18ee1491f 100644 --- a/actix_session/struct.SessionInsertError.html +++ b/actix_session/struct.SessionInsertError.html @@ -1,5 +1,5 @@ -SessionInsertError in actix_session - Rust
    pub struct SessionInsertError(/* private fields */);
    Expand description

    Error returned by Session::insert.

    -

    Trait Implementations§

    source§

    impl Debug for SessionInsertError

    source§

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

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

    impl Display for SessionInsertError

    source§

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

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

    impl Error for SessionInsertError

    source§

    fn source(&self) -> Option<&(dyn StdError + '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 SessionInsertError

    source§

    fn from(original: Error) -> SessionInsertError

    Converts to this type from the input type.
    source§

    impl ResponseError for SessionInsertError

    source§

    fn error_response(&self) -> HttpResponse<BoxBody>

    Creates full response for error. Read more
    §

    fn status_code(&self) -> StatusCode

    Returns appropriate status code for error. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +SessionInsertError in actix_session - Rust
    pub struct SessionInsertError(/* private fields */);
    Expand description

    Error returned by Session::insert.

    +

    Trait Implementations§

    source§

    impl Debug for SessionInsertError

    source§

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

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

    impl Display for SessionInsertError

    source§

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

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

    impl Error for SessionInsertError

    source§

    fn source(&self) -> Option<&(dyn StdError + '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 SessionInsertError

    source§

    fn from(original: Error) -> SessionInsertError

    Converts to this type from the input type.
    source§

    impl ResponseError for SessionInsertError

    source§

    fn error_response(&self) -> HttpResponse<BoxBody>

    Creates full response for error. Read more
    §

    fn status_code(&self) -> StatusCode

    Returns appropriate status code for error. Read more

    Auto Trait Implementations§

    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_session/struct.SessionMiddleware.html b/actix_session/struct.SessionMiddleware.html index b6a212529..654959833 100644 --- a/actix_session/struct.SessionMiddleware.html +++ b/actix_session/struct.SessionMiddleware.html @@ -1,4 +1,4 @@ -SessionMiddleware in actix_session - Rust
    pub struct SessionMiddleware<Store: SessionStore> { /* private fields */ }
    Expand description

    A middleware for session management in Actix Web applications.

    +SessionMiddleware in actix_session - Rust
    pub struct SessionMiddleware<Store: SessionStore> { /* private fields */ }
    Expand description

    A middleware for session management in Actix Web applications.

    SessionMiddleware takes care of a few jobs:

    Implementations on Foreign Types§

    source§

    impl SessionExt for ServiceRequest

    source§

    impl<'a> SessionExt for GuardContext<'a>

    source§

    impl SessionExt for HttpRequest

    source§

    impl SessionExt for ServiceResponse

    Implementors§

    \ No newline at end of file diff --git a/actix_settings/all.html b/actix_settings/all.html index 953c8c79c..f1b767e68 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 851ceeb2d..bdb81f70e 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.

    @@ -10,10 +10,10 @@ under significant load.

    Variants§

    §

    Default

    The default number of connections. See struct docs.

    §

    Manual(usize)

    A specific number of connections.

    Trait Implementations§

    source§

    impl Clone for Backlog

    source§

    fn clone(&self) -> Backlog

    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 Backlog

    source§

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

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

    impl<'de> Deserialize<'de> for Backlog

    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 Backlog

    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 + D: Deserializer<'de>,

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

    impl Hash for Backlog

    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 Parse for Backlog

    source§

    fn parse(string: &str) -> Result<Self, Error>

    Parse Self from string.
    source§

    impl PartialEq<Backlog> for Backlog

    source§

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

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

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

    This method tests for !=. The default implementation is almost always +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Eq for Backlog

    source§

    impl StructuralEq for Backlog

    source§

    impl StructuralPartialEq for Backlog

    Auto Trait Implementations§

    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 diff --git a/actix_settings/enum.Error.html b/actix_settings/enum.Error.html index 1fe9de86f..719268f9b 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: 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<Error> for Error

    source§

    fn from(err: TomlError) -> 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 c1182dd17..34ef7655d 100644 --- a/actix_settings/enum.KeepAlive.html +++ b/actix_settings/enum.KeepAlive.html @@ -1,4 +1,4 @@ -KeepAlive in actix_settings - Rust

    Trait Implementations§

    source§

    impl Clone for KeepAlive

    source§

    fn clone(&self) -> KeepAlive

    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 KeepAlive

    source§

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

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

    impl<'de> Deserialize<'de> for KeepAlive

    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 KeepAlive

    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 + D: Deserializer<'de>,

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

    impl Hash for KeepAlive

    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 Parse for KeepAlive

    source§

    fn parse(string: &str) -> Result<Self, Error>

    Parse Self from string.
    source§

    impl PartialEq<KeepAlive> for KeepAlive

    source§

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

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

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

    This method tests for !=. The default implementation is almost always +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Eq for KeepAlive

    source§

    impl StructuralEq for KeepAlive

    source§

    impl StructuralPartialEq for KeepAlive

    Auto Trait Implementations§

    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 diff --git a/actix_settings/enum.MaxConnectionRate.html b/actix_settings/enum.MaxConnectionRate.html index 3387ab192..ade846a6e 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.

    @@ -8,10 +8,10 @@ value: Either “default”, or an integer N > 0 e.g. “6”.

    Variants§

    §

    Default

    The default connection limit. See struct docs.

    §

    Manual(usize)

    A specific connection limit.

    Trait Implementations§

    source§

    impl Clone for MaxConnectionRate

    source§

    fn clone(&self) -> MaxConnectionRate

    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 MaxConnectionRate

    source§

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

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

    impl<'de> Deserialize<'de> for MaxConnectionRate

    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 MaxConnectionRate

    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 + D: Deserializer<'de>,

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

    impl Hash for MaxConnectionRate

    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 Parse for MaxConnectionRate

    source§

    fn parse(string: &str) -> Result<Self, Error>

    Parse Self from string.
    source§

    impl PartialEq<MaxConnectionRate> for MaxConnectionRate

    source§

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

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

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

    This method tests for !=. The default implementation is almost always +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Eq for MaxConnectionRate

    source§

    impl StructuralEq for MaxConnectionRate

    source§

    impl StructuralPartialEq for MaxConnectionRate

    Auto Trait Implementations§

    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 diff --git a/actix_settings/enum.MaxConnections.html b/actix_settings/enum.MaxConnections.html index 5bb871aa3..cae8451fa 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.

    @@ -8,10 +8,10 @@ integer N > 0 e.g. “6”.

    Variants§

    §

    Default

    The default number of connections. See struct docs.

    §

    Manual(usize)

    A specific number of connections.

    Trait Implementations§

    source§

    impl Clone for MaxConnections

    source§

    fn clone(&self) -> MaxConnections

    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 MaxConnections

    source§

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

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

    impl<'de> Deserialize<'de> for MaxConnections

    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 MaxConnections

    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 + D: Deserializer<'de>,

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

    impl Hash for MaxConnections

    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 Parse for MaxConnections

    source§

    fn parse(string: &str) -> Result<Self, Error>

    Parse Self from string.
    source§

    impl PartialEq<MaxConnections> for MaxConnections

    source§

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

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

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

    This method tests for !=. The default implementation is almost always +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Eq for MaxConnections

    source§

    impl StructuralEq for MaxConnections

    source§

    impl StructuralPartialEq for MaxConnections

    Auto Trait Implementations§

    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 diff --git a/actix_settings/enum.Mode.html b/actix_settings/enum.Mode.html index b907582ee..c955f4baf 100644 --- a/actix_settings/enum.Mode.html +++ b/actix_settings/enum.Mode.html @@ -1,14 +1,14 @@ -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.

    Variants§

    §

    Development

    Marks development environment.

    §

    Production

    Marks production environment.

    Trait Implementations§

    source§

    impl Clone for Mode

    source§

    fn clone(&self) -> Mode

    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 Mode

    source§

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

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

    impl<'de> Deserialize<'de> for Mode

    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 Mode

    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 + __D: Deserializer<'de>,

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

    impl Hash for Mode

    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 Parse for Mode

    source§

    fn parse(string: &str) -> Result<Self, Error>

    Parse Self from string.
    source§

    impl PartialEq<Mode> for Mode

    source§

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

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

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

    This method tests for !=. The default implementation is almost always +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Eq for Mode

    source§

    impl StructuralEq for Mode

    source§

    impl StructuralPartialEq for Mode

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Mode

    §

    impl Send for Mode

    §

    impl Sync for Mode

    §

    impl Unpin for Mode

    §

    impl UnwindSafe for Mode

    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 diff --git a/actix_settings/enum.NumWorkers.html b/actix_settings/enum.NumWorkers.html index ee6410b88..ae3538cb1 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.

    @@ -7,10 +7,10 @@

    Variants§

    §

    Default

    The default number of workers. See struct docs.

    §

    Manual(usize)

    A specific number of workers.

    Trait Implementations§

    source§

    impl Clone for NumWorkers

    source§

    fn clone(&self) -> NumWorkers

    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 NumWorkers

    source§

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

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

    impl<'de> Deserialize<'de> for NumWorkers

    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 NumWorkers

    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 + D: Deserializer<'de>,

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

    impl Hash for NumWorkers

    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 Parse for NumWorkers

    source§

    fn parse(string: &str) -> Result<Self, Error>

    Parse Self from string.
    source§

    impl PartialEq<NumWorkers> for NumWorkers

    source§

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

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

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

    This method tests for !=. The default implementation is almost always +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Eq for NumWorkers

    source§

    impl StructuralEq for NumWorkers

    source§

    impl StructuralPartialEq for NumWorkers

    Auto Trait Implementations§

    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 diff --git a/actix_settings/enum.Timeout.html b/actix_settings/enum.Timeout.html index c62198851..0fd9dd823 100644 --- a/actix_settings/enum.Timeout.html +++ b/actix_settings/enum.Timeout.html @@ -1,4 +1,4 @@ -Timeout in actix_settings - Rust

    Trait Implementations§

    source§

    impl Clone for Timeout

    source§

    fn clone(&self) -> Timeout

    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 Timeout

    source§

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

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

    impl<'de> Deserialize<'de> for Timeout

    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 Timeout

    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 + D: Deserializer<'de>,

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

    impl Hash for Timeout

    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 Parse for Timeout

    source§

    fn parse(string: &str) -> Result<Self, Error>

    Parse Self from string.
    source§

    impl PartialEq<Timeout> for Timeout

    source§

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

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

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

    This method tests for !=. The default implementation is almost always +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Eq for Timeout

    source§

    impl StructuralEq for Timeout

    source§

    impl StructuralPartialEq for Timeout

    Auto Trait Implementations§

    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 diff --git a/actix_settings/index.html b/actix_settings/index.html index 2fe075c89..b274a9c04 100644 --- a/actix_settings/index.html +++ b/actix_settings/index.html @@ -1,4 +1,4 @@ -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 2c9332259..fb23b2494 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, @@ -27,10 +27,10 @@
    §shutdown_timeout: Timeout

    Timeout duration for graceful worker shutdown.

    §tls: Tls

    TLS (HTTPS) configuration.

    Trait Implementations§

    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 + __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<ActixSettings> for ActixSettings

    source§

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

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

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

    This method tests for !=. The default implementation is almost always +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Eq for ActixSettings

    source§

    impl StructuralEq for ActixSettings

    source§

    impl StructuralPartialEq for ActixSettings

    Auto Trait Implementations§

    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 diff --git a/actix_settings/struct.Address.html b/actix_settings/struct.Address.html index 60a5fdb03..9f56e525e 100644 --- a/actix_settings/struct.Address.html +++ b/actix_settings/struct.Address.html @@ -1,14 +1,14 @@ -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.

    Fields§

    §host: String

    Host part of address.

    §port: u16

    Port part of address.

    Trait Implementations§

    source§

    impl Clone for Address

    source§

    fn clone(&self) -> Address

    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 Address

    source§

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

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

    impl<'de> Deserialize<'de> for Address

    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 Address

    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 + __D: Deserializer<'de>,

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

    impl Hash for Address

    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 Parse for Address

    source§

    fn parse(string: &str) -> Result<Self, Error>

    Parse Self from string.
    source§

    impl PartialEq<Address> for Address

    source§

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

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

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

    This method tests for !=. The default implementation is almost always +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Eq for Address

    source§

    impl StructuralEq for Address

    source§

    impl StructuralPartialEq for Address

    Auto Trait Implementations§

    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 diff --git a/actix_settings/struct.BasicSettings.html b/actix_settings/struct.BasicSettings.html index 5daf740eb..556048670 100644 --- a/actix_settings/struct.BasicSettings.html +++ b/actix_settings/struct.BasicSettings.html @@ -1,4 +1,4 @@ -BasicSettings in actix_settings - Rust

    Trait Implementations§

    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 + __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, Self: Sized,

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

    impl<A: PartialEq> PartialEq<BasicSettings<A>> 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 -by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

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

    source§

    impl<A> StructuralEq for BasicSettings<A>

    source§

    impl<A> StructuralPartialEq for BasicSettings<A>

    Auto Trait Implementations§

    §

    impl<A> RefUnwindSafe for BasicSettings<A>where A: RefUnwindSafe,

    §

    impl<A> Send for BasicSettings<A>where A: Send,

    §

    impl<A> Sync for BasicSettings<A>where diff --git a/actix_settings/struct.NoSettings.html b/actix_settings/struct.NoSettings.html index 4cacbe74b..e5f1d993e 100644 --- a/actix_settings/struct.NoSettings.html +++ b/actix_settings/struct.NoSettings.html @@ -1,9 +1,9 @@ -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 + __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, Self: Sized,

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

    impl PartialEq<NoSettings> for NoSettings

    source§

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

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

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

    This method tests for !=. The default implementation is almost always +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Eq for NoSettings

    source§

    impl StructuralEq for NoSettings

    source§

    impl StructuralPartialEq for NoSettings

    Auto Trait Implementations§

    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 diff --git a/actix_settings/struct.Tls.html b/actix_settings/struct.Tls.html index 0664b74e2..dd92e8b9f 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,
    @@ -7,10 +7,10 @@
     
    §certificate: PathBuf

    Path to certificate .pem file.

    §private_key: PathBuf

    Path to private key .pem file.

    Trait Implementations§

    source§

    impl Clone for Tls

    source§

    fn clone(&self) -> Tls

    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 Tls

    source§

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

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

    impl<'de> Deserialize<'de> for Tls

    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 Tls

    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 + __D: Deserializer<'de>,

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

    impl Hash for Tls

    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<Tls> for Tls

    source§

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

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

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

    This method tests for !=. The default implementation is almost always +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Eq for Tls

    source§

    impl StructuralEq for Tls

    source§

    impl StructuralPartialEq for Tls

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Tls

    §

    impl Send for Tls

    §

    impl Sync for Tls

    §

    impl Unpin for Tls

    §

    impl UnwindSafe for Tls

    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 diff --git a/actix_settings/trait.ApplySettings.html b/actix_settings/trait.ApplySettings.html index 1b06f4627..cf8614636 100644 --- a/actix_settings/trait.ApplySettings.html +++ b/actix_settings/trait.ApplySettings.html @@ -1,4 +1,4 @@ -ApplySettings in actix_settings - Rust
    pub trait ApplySettings {
    +ApplySettings in actix_settings - Rust
    pub trait ApplySettings {
         // Required method
         fn apply_settings<A>(self, settings: &BasicSettings<A>) -> Self
            where A: DeserializeOwned;
    diff --git a/actix_settings/trait.Parse.html b/actix_settings/trait.Parse.html
    index df6b8fb87..16e20f6f4 100644
    --- a/actix_settings/trait.Parse.html
    +++ b/actix_settings/trait.Parse.html
    @@ -1,6 +1,6 @@
    -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

    Required Methods§

    source

    fn parse(string: &str) -> Result<Self, Error>

    Parse Self from string.

    -

    Implementations on Foreign Types§

    source§

    impl Parse for i32

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for u64

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for bool

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for PathBuf

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for u8

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for u32

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for i128

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for i64

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for u128

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for Vec<Address>

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for i16

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for i8

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for u16

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for String

    source§

    fn parse(string: &str) -> Result<Self, Error>

    Implementors§

    \ No newline at end of file +

    Implementations on Foreign Types§

    source§

    impl Parse for u64

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for i32

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for i16

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for PathBuf

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for u16

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for u32

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for String

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for bool

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for i128

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for i64

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for Vec<Address>

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for u8

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for u128

    source§

    fn parse(string: &str) -> Result<Self, Error>

    source§

    impl Parse for i8

    source§

    fn parse(string: &str) -> Result<Self, Error>

    Implementors§

    \ No newline at end of file diff --git a/actix_settings/type.Settings.html b/actix_settings/type.Settings.html index ce02a966c..090b75860 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,
    @@ -45,8 +45,8 @@ Settings::override_field_with_env_var(&mut setting
     assert_eq!(settings.actix.mode, Mode::Production);

    Trait Implementations§

    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 + __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, Self: Sized,

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

    impl<A: PartialEq> PartialEq<BasicSettings<A>> 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 -by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

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

    source§

    impl<A> StructuralEq for BasicSettings<A>

    source§

    impl<A> StructuralPartialEq for BasicSettings<A>

    \ No newline at end of file diff --git a/actix_web_httpauth/all.html b/actix_web_httpauth/all.html index 16c28bfc1..bc9433133 100644 --- a/actix_web_httpauth/all.html +++ b/actix_web_httpauth/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_web_httpauth/extractors/basic/index.html b/actix_web_httpauth/extractors/basic/index.html index 2b0be36d7..2b3ac3399 100644 --- a/actix_web_httpauth/extractors/basic/index.html +++ b/actix_web_httpauth/extractors/basic/index.html @@ -1,2 +1,2 @@ -actix_web_httpauth::extractors::basic - Rust
    Expand description

    Extractor for the “Basic” HTTP Authentication Scheme.

    +actix_web_httpauth::extractors::basic - Rust
    Expand description

    Extractor for the “Basic” HTTP Authentication Scheme.

    Structs

    \ No newline at end of file diff --git a/actix_web_httpauth/extractors/basic/struct.BasicAuth.html b/actix_web_httpauth/extractors/basic/struct.BasicAuth.html index 2f7d63527..b95e728ed 100644 --- a/actix_web_httpauth/extractors/basic/struct.BasicAuth.html +++ b/actix_web_httpauth/extractors/basic/struct.BasicAuth.html @@ -1,4 +1,4 @@ -BasicAuth in actix_web_httpauth::extractors::basic - Rust
    pub struct BasicAuth(/* private fields */);
    Expand description

    Extractor for HTTP Basic auth.

    +BasicAuth in actix_web_httpauth::extractors::basic - Rust
    pub struct BasicAuth(/* private fields */);
    Expand description

    Extractor for HTTP Basic auth.

    Examples

    use actix_web_httpauth::extractors::basic::BasicAuth;
     
    diff --git a/actix_web_httpauth/extractors/basic/struct.Config.html b/actix_web_httpauth/extractors/basic/struct.Config.html
    index 3a9bca137..564e1f8b2 100644
    --- a/actix_web_httpauth/extractors/basic/struct.Config.html
    +++ b/actix_web_httpauth/extractors/basic/struct.Config.html
    @@ -1,4 +1,4 @@
    -Config in actix_web_httpauth::extractors::basic - Rust
    pub struct Config(/* private fields */);
    Expand description

    BasicAuth extractor configuration used for WWW-Authenticate header later.

    +Config in actix_web_httpauth::extractors::basic - Rust
    pub struct Config(/* private fields */);
    Expand description

    BasicAuth extractor configuration used for WWW-Authenticate header later.

    Implementations§

    source§

    impl Config

    source

    pub fn realm<T>(self, value: T) -> Configwhere T: Into<Cow<'static, str>>,

    Set challenge realm attribute.

    The “realm” attribute indicates the scope of protection in the manner described in HTTP/1.1 diff --git a/actix_web_httpauth/extractors/bearer/enum.Error.html b/actix_web_httpauth/extractors/bearer/enum.Error.html index 7e5970d88..748b0eeac 100644 --- a/actix_web_httpauth/extractors/bearer/enum.Error.html +++ b/actix_web_httpauth/extractors/bearer/enum.Error.html @@ -1,4 +1,4 @@ -Error in actix_web_httpauth::extractors::bearer - Rust

    pub enum Error {
    +Error in actix_web_httpauth::extractors::bearer - Rust
    pub enum Error {
         InvalidRequest,
         InvalidToken,
         InsufficientScope,
    @@ -9,15 +9,15 @@ or is otherwise malformed.

    §

    InvalidToken

    The access token provided is expired, revoked, malformed, or invalid for other reasons.

    §

    InsufficientScope

    The request requires higher privileges than provided by the access token.

    Implementations§

    source§

    impl Error

    source

    pub fn status_code(&self) -> StatusCode

    Returns HTTP status code suitable for current error type.

    -

    Trait Implementations§

    source§

    impl Clone for Error

    source§

    fn clone(&self) -> Error

    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 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, f: &mut Formatter<'_>) -> Result

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

    impl Hash for Error

    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 +

    Trait Implementations§

    source§

    impl Clone for Error

    source§

    fn clone(&self) -> Error

    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 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, f: &mut Formatter<'_>) -> Result

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

    impl Hash for Error

    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 Ord for Error

    source§

    fn cmp(&self, other: &Error) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized,

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

    impl Ord for Error

    source§

    fn cmp(&self, other: &Error) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq<Error> for Error

    source§

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

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

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

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd<Error> for Error

    source§

    fn partial_cmp(&self, other: &Error) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

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

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

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

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

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

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

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

    This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd<Error> for Error

    source§

    fn partial_cmp(&self, other: &Error) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

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

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

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

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

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

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

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

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl Copy for Error

    source§

    impl Eq for Error

    source§

    impl StructuralEq for Error

    source§

    impl StructuralPartialEq for Error

    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 diff --git a/actix_web_httpauth/extractors/bearer/index.html b/actix_web_httpauth/extractors/bearer/index.html index 882d489ec..a8c65ac70 100644 --- a/actix_web_httpauth/extractors/bearer/index.html +++ b/actix_web_httpauth/extractors/bearer/index.html @@ -1,2 +1,2 @@ -actix_web_httpauth::extractors::bearer - Rust
    Expand description

    Extractor for the “Bearer” HTTP Authentication Scheme.

    +actix_web_httpauth::extractors::bearer - Rust
    Expand description

    Extractor for the “Bearer” HTTP Authentication Scheme.

    Structs

    Enums

    \ No newline at end of file diff --git a/actix_web_httpauth/extractors/bearer/struct.BearerAuth.html b/actix_web_httpauth/extractors/bearer/struct.BearerAuth.html index 67a29d74a..ae1bbd0af 100644 --- a/actix_web_httpauth/extractors/bearer/struct.BearerAuth.html +++ b/actix_web_httpauth/extractors/bearer/struct.BearerAuth.html @@ -1,4 +1,4 @@ -BearerAuth in actix_web_httpauth::extractors::bearer - Rust
    pub struct BearerAuth(/* private fields */);
    Expand description

    Extractor for HTTP Bearer auth

    +BearerAuth in actix_web_httpauth::extractors::bearer - Rust
    pub struct BearerAuth(/* private fields */);
    Expand description

    Extractor for HTTP Bearer auth

    Examples

    use actix_web_httpauth::extractors::bearer::BearerAuth;
     
    diff --git a/actix_web_httpauth/extractors/bearer/struct.Config.html b/actix_web_httpauth/extractors/bearer/struct.Config.html
    index 23e726435..069e4c265 100644
    --- a/actix_web_httpauth/extractors/bearer/struct.Config.html
    +++ b/actix_web_httpauth/extractors/bearer/struct.Config.html
    @@ -1,4 +1,4 @@
    -Config in actix_web_httpauth::extractors::bearer - Rust
    pub struct Config(/* private fields */);
    Expand description

    BearerAuth extractor configuration.

    +Config in actix_web_httpauth::extractors::bearer - Rust
    pub struct Config(/* private fields */);
    Expand description

    BearerAuth extractor configuration.

    Implementations§

    source§

    impl Config

    source

    pub fn scope<T: Into<Cow<'static, str>>>(self, value: T) -> Config

    Set challenge scope attribute.

    The "scope" attribute is a space-delimited list of case-sensitive scope values indicating the required scope of the access token for diff --git a/actix_web_httpauth/extractors/index.html b/actix_web_httpauth/extractors/index.html index 84059d88d..abc65c1d9 100644 --- a/actix_web_httpauth/extractors/index.html +++ b/actix_web_httpauth/extractors/index.html @@ -1,3 +1,3 @@ -actix_web_httpauth::extractors - Rust

    Expand description

    Type-safe authentication information extractors.

    +actix_web_httpauth::extractors - Rust
    Expand description

    Type-safe authentication information extractors.

    Modules

    • Extractor for the “Basic” HTTP Authentication Scheme.
    • Extractor for the “Bearer” HTTP Authentication Scheme.

    Structs

    Traits

    \ No newline at end of file diff --git a/actix_web_httpauth/extractors/struct.AuthenticationError.html b/actix_web_httpauth/extractors/struct.AuthenticationError.html index 1bd983bc1..1657de669 100644 --- a/actix_web_httpauth/extractors/struct.AuthenticationError.html +++ b/actix_web_httpauth/extractors/struct.AuthenticationError.html @@ -1,4 +1,4 @@ -AuthenticationError in actix_web_httpauth::extractors - Rust
    pub struct AuthenticationError<C: Challenge> { /* private fields */ }
    Expand description

    Authentication error returned by authentication extractors.

    +AuthenticationError in actix_web_httpauth::extractors - Rust
    pub struct AuthenticationError<C: Challenge> { /* private fields */ }
    Expand description

    Authentication error returned by authentication extractors.

    Different extractors may extend AuthenticationError implementation in order to provide access inner challenge fields.

    Implementations§

    source§

    impl AuthenticationError<Bearer>

    Extended error customization for HTTP Bearer auth.

    diff --git a/actix_web_httpauth/extractors/trait.AuthExtractorConfig.html b/actix_web_httpauth/extractors/trait.AuthExtractorConfig.html index 8c3b6a07a..d107d59d0 100644 --- a/actix_web_httpauth/extractors/trait.AuthExtractorConfig.html +++ b/actix_web_httpauth/extractors/trait.AuthExtractorConfig.html @@ -1,4 +1,4 @@ -AuthExtractorConfig in actix_web_httpauth::extractors - Rust
    pub trait AuthExtractorConfig {
    +AuthExtractorConfig in actix_web_httpauth::extractors - Rust
    pub trait AuthExtractorConfig {
         type Inner: Challenge;
     
         // Required method
    diff --git a/actix_web_httpauth/headers/authorization/enum.ParseError.html b/actix_web_httpauth/headers/authorization/enum.ParseError.html
    index 5fa366644..a75032f6c 100644
    --- a/actix_web_httpauth/headers/authorization/enum.ParseError.html
    +++ b/actix_web_httpauth/headers/authorization/enum.ParseError.html
    @@ -1,4 +1,4 @@
    -ParseError in actix_web_httpauth::headers::authorization - Rust

    Trait Implementations§

    source§

    impl Debug for ParseError

    source§

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

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

    impl Display for ParseError

    source§

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

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

    impl Error for ParseError

    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<DecodeError> for ParseError

    source§

    fn from(err: DecodeError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ToStrError> for ParseError

    source§

    fn from(err: ToStrError) -> Self

    Converts to this type from the input type.
    source§

    impl From<Utf8Error> for ParseError

    source§

    fn from(err: Utf8Error) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    Trait Implementations§

    source§

    impl Debug for ParseError

    source§

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

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

    impl Display for ParseError

    source§

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

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

    impl Error for ParseError

    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<DecodeError> for ParseError

    source§

    fn from(err: DecodeError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ToStrError> for ParseError

    source§

    fn from(err: ToStrError) -> Self

    Converts to this type from the input type.
    source§

    impl From<Utf8Error> for ParseError

    source§

    fn from(err: Utf8Error) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    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_web_httpauth/headers/authorization/index.html b/actix_web_httpauth/headers/authorization/index.html index 6503156fa..9553ad63a 100644 --- a/actix_web_httpauth/headers/authorization/index.html +++ b/actix_web_httpauth/headers/authorization/index.html @@ -1,2 +1,2 @@ -actix_web_httpauth::headers::authorization - Rust
    Expand description

    Authorization header and various auth schemes.

    +actix_web_httpauth::headers::authorization - Rust
    Expand description

    Authorization header and various auth schemes.

    Structs

    Enums

    • Possible errors while parsing Authorization header.

    Traits

    \ No newline at end of file diff --git a/actix_web_httpauth/headers/authorization/struct.Authorization.html b/actix_web_httpauth/headers/authorization/struct.Authorization.html index 41996a61d..7facb6200 100644 --- a/actix_web_httpauth/headers/authorization/struct.Authorization.html +++ b/actix_web_httpauth/headers/authorization/struct.Authorization.html @@ -1,4 +1,4 @@ -Authorization in actix_web_httpauth::headers::authorization - Rust
    pub struct Authorization<S: Scheme>(/* private fields */);
    Expand description

    Authorization header, defined in RFC 7235

    +Authorization in actix_web_httpauth::headers::authorization - Rust
    pub struct Authorization<S: Scheme>(/* private fields */);
    Expand description

    Authorization header, defined in RFC 7235

    The “Authorization” header field allows a user agent to authenticate itself with an origin server—usually, but not necessarily, after receiving a 401 (Unauthorized) response. Its value consists of credentials containing the authentication information of the user agent for the @@ -11,15 +11,15 @@ realm of the resource being requested.

    Ok(format!("Hello, {}!", auth.as_ref().user_id())) }

    Implementations§

    source§

    impl<S: Scheme> Authorization<S>

    source

    pub fn into_scheme(self) -> S

    Consumes Authorization header and returns inner Scheme implementation.

    -

    Trait Implementations§

    source§

    impl<S: Scheme> AsMut<S> for Authorization<S>

    source§

    fn as_mut(&mut self) -> &mut S

    Converts this type into a mutable reference of the (usually inferred) input type.
    source§

    impl<S: Scheme> AsRef<S> for Authorization<S>

    source§

    fn as_ref(&self) -> &S

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl<S: Clone + Scheme> Clone for Authorization<S>

    source§

    fn clone(&self) -> Authorization<S>

    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<S: Debug + Scheme> Debug for Authorization<S>

    source§

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

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

    impl<S: Default + Scheme> Default for Authorization<S>

    source§

    fn default() -> Authorization<S>

    Returns the “default value” for a type. Read more
    source§

    impl<S: Scheme> Display for Authorization<S>

    source§

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

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

    impl<S: Scheme> From<S> for Authorization<S>

    source§

    fn from(scheme: S) -> Authorization<S>

    Converts to this type from the input type.
    source§

    impl<S: Hash + Scheme> Hash for Authorization<S>

    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 +

    Trait Implementations§

    source§

    impl<S: Scheme> AsMut<S> for Authorization<S>

    source§

    fn as_mut(&mut self) -> &mut S

    Converts this type into a mutable reference of the (usually inferred) input type.
    source§

    impl<S: Scheme> AsRef<S> for Authorization<S>

    source§

    fn as_ref(&self) -> &S

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl<S: Clone + Scheme> Clone for Authorization<S>

    source§

    fn clone(&self) -> Authorization<S>

    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<S: Debug + Scheme> Debug for Authorization<S>

    source§

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

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

    impl<S: Default + Scheme> Default for Authorization<S>

    source§

    fn default() -> Authorization<S>

    Returns the “default value” for a type. Read more
    source§

    impl<S: Scheme> Display for Authorization<S>

    source§

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

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

    impl<S: Scheme> From<S> for Authorization<S>

    source§

    fn from(scheme: S) -> Authorization<S>

    Converts to this type from the input type.
    source§

    impl<S: Hash + Scheme> Hash for Authorization<S>

    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<S: Scheme> Header for Authorization<S>

    source§

    fn name() -> HeaderName

    Returns the name of the header field.
    source§

    fn parse<T: HttpMessage>(msg: &T) -> Result<Self, ParseError>

    Parse the header from a HTTP message.
    source§

    impl<S: Ord + Scheme> Ord for Authorization<S>

    source§

    fn cmp(&self, other: &Authorization<S>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized,

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

    impl<S: Scheme> Header for Authorization<S>

    source§

    fn name() -> HeaderName

    Returns the name of the header field.
    source§

    fn parse<T: HttpMessage>(msg: &T) -> Result<Self, ParseError>

    Parse the header from a HTTP message.
    source§

    impl<S: Ord + Scheme> Ord for Authorization<S>

    source§

    fn cmp(&self, other: &Authorization<S>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    source§

    impl<S: PartialEq + Scheme> PartialEq<Authorization<S>> for Authorization<S>

    source§

    fn eq(&self, other: &Authorization<S>) -> bool

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

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

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl<S: PartialOrd + Scheme> PartialOrd<Authorization<S>> for Authorization<S>

    source§

    fn partial_cmp(&self, other: &Authorization<S>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

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

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

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

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

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

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

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

    This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl<S: PartialOrd + Scheme> PartialOrd<Authorization<S>> for Authorization<S>

    source§

    fn partial_cmp(&self, other: &Authorization<S>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

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

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

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

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

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

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

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

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl<S: Scheme> TryIntoHeaderValue for Authorization<S>

    §

    type Error = <S as TryIntoHeaderValue>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into_value(self) -> Result<HeaderValue, Self::Error>

    Try to convert value to a HeaderValue.
    source§

    impl<S: Eq + Scheme> Eq for Authorization<S>

    source§

    impl<S: Scheme> StructuralEq for Authorization<S>

    source§

    impl<S: Scheme> StructuralPartialEq for Authorization<S>

    Auto Trait Implementations§

    §

    impl<S> RefUnwindSafe for Authorization<S>where S: RefUnwindSafe,

    §

    impl<S> Send for Authorization<S>

    §

    impl<S> Sync for Authorization<S>

    §

    impl<S> Unpin for Authorization<S>where S: Unpin,

    §

    impl<S> UnwindSafe for Authorization<S>where diff --git a/actix_web_httpauth/headers/authorization/struct.Basic.html b/actix_web_httpauth/headers/authorization/struct.Basic.html index ed8221060..0b63f6767 100644 --- a/actix_web_httpauth/headers/authorization/struct.Basic.html +++ b/actix_web_httpauth/headers/authorization/struct.Basic.html @@ -1,4 +1,4 @@ -Basic in actix_web_httpauth::headers::authorization - Rust
    pub struct Basic { /* private fields */ }
    Expand description

    Credentials for Basic authentication scheme, defined in RFC 7617

    +Basic in actix_web_httpauth::headers::authorization - Rust
    pub struct Basic { /* private fields */ }
    Expand description

    Credentials for Basic authentication scheme, defined in RFC 7617

    Implementations§

    source§

    impl Basic

    source

    pub fn new<U, P>(user_id: U, password: Option<P>) -> Basicwhere U: Into<Cow<'static, str>>, P: Into<Cow<'static, str>>,

    Creates Basic credentials with provided user_id and optional @@ -7,13 +7,13 @@

    let credentials = Basic::new("Alladin", Some("open sesame"));
    source

    pub fn user_id(&self) -> &str

    Returns client’s user-ID.

    source

    pub fn password(&self) -> Option<&str>

    Returns client’s password if provided.

    -

    Trait Implementations§

    source§

    impl Clone for Basic

    source§

    fn clone(&self) -> Basic

    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 Basic

    source§

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

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

    impl Display for Basic

    source§

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

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

    impl From<Basic> for BasicAuth

    source§

    fn from(basic: Basic) -> Self

    Converts to this type from the input type.
    source§

    impl Ord for Basic

    source§

    fn cmp(&self, other: &Basic) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere +

    Trait Implementations§

    source§

    impl Clone for Basic

    source§

    fn clone(&self) -> Basic

    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 Basic

    source§

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

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

    impl Display for Basic

    source§

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

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

    impl From<Basic> for BasicAuth

    source§

    fn from(basic: Basic) -> Self

    Converts to this type from the input type.
    source§

    impl Ord for Basic

    source§

    fn cmp(&self, other: &Basic) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq<Basic> for Basic

    source§

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

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

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

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd<Basic> for Basic

    source§

    fn partial_cmp(&self, other: &Basic) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

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

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

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

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

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

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

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

    This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd<Basic> for Basic

    source§

    fn partial_cmp(&self, other: &Basic) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

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

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

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

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

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

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

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

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl Scheme for Basic

    source§

    fn parse(header: &HeaderValue) -> Result<Self, ParseError>

    Try to parse an authentication scheme from the Authorization header.
    source§

    impl TryIntoHeaderValue for Basic

    §

    type Error = InvalidHeaderValue

    The type returned in the event of a conversion error.
    source§

    fn try_into_value(self) -> Result<HeaderValue, Self::Error>

    Try to convert value to a HeaderValue.
    source§

    impl Eq for Basic

    source§

    impl StructuralEq for Basic

    source§

    impl StructuralPartialEq for Basic

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Basic

    §

    impl Send for Basic

    §

    impl Sync for Basic

    §

    impl Unpin for Basic

    §

    impl UnwindSafe for Basic

    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 diff --git a/actix_web_httpauth/headers/authorization/struct.Bearer.html b/actix_web_httpauth/headers/authorization/struct.Bearer.html index 969c182d8..ca7308014 100644 --- a/actix_web_httpauth/headers/authorization/struct.Bearer.html +++ b/actix_web_httpauth/headers/authorization/struct.Bearer.html @@ -1,17 +1,17 @@ -Bearer in actix_web_httpauth::headers::authorization - Rust
    pub struct Bearer { /* private fields */ }
    Expand description

    Credentials for Bearer authentication scheme, defined in RFC 6750.

    +Bearer in actix_web_httpauth::headers::authorization - Rust
    pub struct Bearer { /* private fields */ }
    Expand description

    Credentials for Bearer authentication scheme, defined in RFC 6750.

    Should be used in combination with Authorization header.

    Implementations§

    source§

    impl Bearer

    source

    pub fn new<T>(token: T) -> Bearerwhere T: Into<Cow<'static, str>>,

    Creates new Bearer credentials with the token provided.

    Example
    let credentials = Bearer::new("mF_9.B5f-4.1JqM");
    source

    pub fn token(&self) -> &str

    Gets reference to the credentials token.

    -

    Trait Implementations§

    source§

    impl Clone for Bearer

    source§

    fn clone(&self) -> Bearer

    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 Bearer

    source§

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

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

    impl Display for Bearer

    source§

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

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

    impl Ord for Bearer

    source§

    fn cmp(&self, other: &Bearer) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere +

    Trait Implementations§

    source§

    impl Clone for Bearer

    source§

    fn clone(&self) -> Bearer

    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 Bearer

    source§

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

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

    impl Display for Bearer

    source§

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

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

    impl Ord for Bearer

    source§

    fn cmp(&self, other: &Bearer) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq<Bearer> for Bearer

    source§

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

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

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

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd<Bearer> for Bearer

    source§

    fn partial_cmp(&self, other: &Bearer) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

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

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

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

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

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

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

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

    This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd<Bearer> for Bearer

    source§

    fn partial_cmp(&self, other: &Bearer) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

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

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

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

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

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

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

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

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl Scheme for Bearer

    source§

    fn parse(header: &HeaderValue) -> Result<Self, ParseError>

    Try to parse an authentication scheme from the Authorization header.
    source§

    impl TryIntoHeaderValue for Bearer

    §

    type Error = InvalidHeaderValue

    The type returned in the event of a conversion error.
    source§

    fn try_into_value(self) -> Result<HeaderValue, Self::Error>

    Try to convert value to a HeaderValue.
    source§

    impl Eq for Bearer

    source§

    impl StructuralEq for Bearer

    source§

    impl StructuralPartialEq for Bearer

    Auto Trait Implementations§

    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 diff --git a/actix_web_httpauth/headers/authorization/trait.Scheme.html b/actix_web_httpauth/headers/authorization/trait.Scheme.html index bef5d201b..0725ed38c 100644 --- a/actix_web_httpauth/headers/authorization/trait.Scheme.html +++ b/actix_web_httpauth/headers/authorization/trait.Scheme.html @@ -1,4 +1,4 @@ -Scheme in actix_web_httpauth::headers::authorization - Rust
    pub trait Scheme: TryIntoHeaderValue + Debug + Display + Clone + Send + Sync {
    +Scheme in actix_web_httpauth::headers::authorization - Rust
    pub trait Scheme: TryIntoHeaderValue + Debug + Display + Clone + Send + Sync {
         // Required method
         fn parse(header: &HeaderValue) -> Result<Self, ParseError>;
     }
    Expand description

    Authentication scheme for Authorization header.

    diff --git a/actix_web_httpauth/headers/index.html b/actix_web_httpauth/headers/index.html index 7be99fe3f..20f3012c9 100644 --- a/actix_web_httpauth/headers/index.html +++ b/actix_web_httpauth/headers/index.html @@ -1,2 +1,2 @@ -actix_web_httpauth::headers - Rust
    Expand description

    Typed HTTP headers.

    +actix_web_httpauth::headers - Rust
    Expand description

    Typed HTTP headers.

    Modules

    \ No newline at end of file diff --git a/actix_web_httpauth/headers/www_authenticate/basic/index.html b/actix_web_httpauth/headers/www_authenticate/basic/index.html index 14e26aee6..b81319d1e 100644 --- a/actix_web_httpauth/headers/www_authenticate/basic/index.html +++ b/actix_web_httpauth/headers/www_authenticate/basic/index.html @@ -1,3 +1,3 @@ -actix_web_httpauth::headers::www_authenticate::basic - Rust
    Expand description

    Challenge for the “Basic” HTTP Authentication Scheme.

    +actix_web_httpauth::headers::www_authenticate::basic - Rust
    Expand description

    Challenge for the “Basic” HTTP Authentication Scheme.

    Structs

    \ No newline at end of file diff --git a/actix_web_httpauth/headers/www_authenticate/basic/struct.Basic.html b/actix_web_httpauth/headers/www_authenticate/basic/struct.Basic.html index c706ab53a..6ed02c018 100644 --- a/actix_web_httpauth/headers/www_authenticate/basic/struct.Basic.html +++ b/actix_web_httpauth/headers/www_authenticate/basic/struct.Basic.html @@ -1,4 +1,4 @@ -Basic in actix_web_httpauth::headers::www_authenticate::basic - Rust
    pub struct Basic { /* private fields */ }
    Expand description

    Challenge for WWW-Authenticate header with HTTP Basic auth scheme, +Basic in actix_web_httpauth::headers::www_authenticate::basic - Rust

    pub struct Basic { /* private fields */ }
    Expand description

    Challenge for WWW-Authenticate header with HTTP Basic auth scheme, described in RFC 7617

    Examples

    use actix_web_httpauth::headers::www_authenticate::basic::Basic;
    @@ -21,15 +21,15 @@ described in RFC 7617

    let my_realm = "Earth realm".to_string();
     let challenge = Basic::with_realm(my_realm);
    -

    Trait Implementations§

    source§

    impl AsRef<Basic> for Config

    source§

    fn as_ref(&self) -> &Challenge

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for Basic

    source§

    fn clone(&self) -> Basic

    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 Basic

    source§

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

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

    impl Default for Basic

    source§

    fn default() -> Basic

    Returns the “default value” for a type. Read more
    source§

    impl Display for Basic

    source§

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

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

    impl Hash for Basic

    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 +

    Trait Implementations§

    source§

    impl AsRef<Basic> for Config

    source§

    fn as_ref(&self) -> &Challenge

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for Basic

    source§

    fn clone(&self) -> Basic

    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 Basic

    source§

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

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

    impl Default for Basic

    source§

    fn default() -> Basic

    Returns the “default value” for a type. Read more
    source§

    impl Display for Basic

    source§

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

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

    impl Hash for Basic

    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 Ord for Basic

    source§

    fn cmp(&self, other: &Basic) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized,

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

    impl Ord for Basic

    source§

    fn cmp(&self, other: &Basic) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq<Basic> for Basic

    source§

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

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

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

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd<Basic> for Basic

    source§

    fn partial_cmp(&self, other: &Basic) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

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

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

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

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

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

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

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

    This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd<Basic> for Basic

    source§

    fn partial_cmp(&self, other: &Basic) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

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

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

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

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

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

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

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

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl TryIntoHeaderValue for Basic

    §

    type Error = InvalidHeaderValue

    The type returned in the event of a conversion error.
    source§

    fn try_into_value(self) -> Result<HeaderValue, Self::Error>

    Try to convert value to a HeaderValue.
    source§

    impl Eq for Basic

    source§

    impl StructuralEq for Basic

    source§

    impl StructuralPartialEq for Basic

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Basic

    §

    impl Send for Basic

    §

    impl Sync for Basic

    §

    impl Unpin for Basic

    §

    impl UnwindSafe for Basic

    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 diff --git a/actix_web_httpauth/headers/www_authenticate/bearer/enum.Error.html b/actix_web_httpauth/headers/www_authenticate/bearer/enum.Error.html index 5f9273464..e1964a1e3 100644 --- a/actix_web_httpauth/headers/www_authenticate/bearer/enum.Error.html +++ b/actix_web_httpauth/headers/www_authenticate/bearer/enum.Error.html @@ -1,4 +1,4 @@ -Error in actix_web_httpauth::headers::www_authenticate::bearer - Rust
    pub enum Error {
    +Error in actix_web_httpauth::headers::www_authenticate::bearer - Rust
    pub enum Error {
         InvalidRequest,
         InvalidToken,
         InsufficientScope,
    @@ -9,15 +9,15 @@ or is otherwise malformed.

    §

    InvalidToken

    The access token provided is expired, revoked, malformed, or invalid for other reasons.

    §

    InsufficientScope

    The request requires higher privileges than provided by the access token.

    Implementations§

    source§

    impl Error

    source

    pub fn status_code(&self) -> StatusCode

    Returns HTTP status code suitable for current error type.

    -

    Trait Implementations§

    source§

    impl Clone for Error

    source§

    fn clone(&self) -> Error

    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 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, f: &mut Formatter<'_>) -> Result

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

    impl Hash for Error

    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 +

    Trait Implementations§

    source§

    impl Clone for Error

    source§

    fn clone(&self) -> Error

    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 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, f: &mut Formatter<'_>) -> Result

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

    impl Hash for Error

    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 Ord for Error

    source§

    fn cmp(&self, other: &Error) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized,

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

    impl Ord for Error

    source§

    fn cmp(&self, other: &Error) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq<Error> for Error

    source§

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

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

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

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd<Error> for Error

    source§

    fn partial_cmp(&self, other: &Error) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

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

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

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

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

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

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

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

    This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd<Error> for Error

    source§

    fn partial_cmp(&self, other: &Error) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

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

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

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

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

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

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

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

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl Copy for Error

    source§

    impl Eq for Error

    source§

    impl StructuralEq for Error

    source§

    impl StructuralPartialEq for Error

    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 diff --git a/actix_web_httpauth/headers/www_authenticate/bearer/index.html b/actix_web_httpauth/headers/www_authenticate/bearer/index.html index 3ee1cbc6d..ad248936a 100644 --- a/actix_web_httpauth/headers/www_authenticate/bearer/index.html +++ b/actix_web_httpauth/headers/www_authenticate/bearer/index.html @@ -1,2 +1,2 @@ -actix_web_httpauth::headers::www_authenticate::bearer - Rust
    Expand description

    Challenge for the “Bearer” HTTP Authentication Scheme.

    +actix_web_httpauth::headers::www_authenticate::bearer - Rust
    Expand description

    Challenge for the “Bearer” HTTP Authentication Scheme.

    Structs

    Enums

    \ No newline at end of file diff --git a/actix_web_httpauth/headers/www_authenticate/bearer/struct.Bearer.html b/actix_web_httpauth/headers/www_authenticate/bearer/struct.Bearer.html index ba92c5e0e..b52375c44 100644 --- a/actix_web_httpauth/headers/www_authenticate/bearer/struct.Bearer.html +++ b/actix_web_httpauth/headers/www_authenticate/bearer/struct.Bearer.html @@ -1,4 +1,4 @@ -Bearer in actix_web_httpauth::headers::www_authenticate::bearer - Rust
    pub struct Bearer { /* private fields */ }
    Expand description

    Challenge for WWW-Authenticate header with HTTP Bearer auth scheme, described in RFC 6750.

    +Bearer in actix_web_httpauth::headers::www_authenticate::bearer - Rust
    pub struct Bearer { /* private fields */ }
    Expand description

    Challenge for WWW-Authenticate header with HTTP Bearer auth scheme, described in RFC 6750.

    Examples

    use actix_web_httpauth::headers::www_authenticate::bearer::{
         Bearer, Error,
    @@ -24,15 +24,15 @@
         .realm("Restricted area")
         .scope("openid profile email")
         .finish();
    -

    Trait Implementations§

    source§

    impl AsRef<Bearer> for Config

    source§

    fn as_ref(&self) -> &Bearer

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for Bearer

    source§

    fn clone(&self) -> Bearer

    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 Bearer

    source§

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

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

    impl Default for Bearer

    source§

    fn default() -> Bearer

    Returns the “default value” for a type. Read more
    source§

    impl Display for Bearer

    source§

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

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

    impl Hash for Bearer

    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 +

    Trait Implementations§

    source§

    impl AsRef<Bearer> for Config

    source§

    fn as_ref(&self) -> &Bearer

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for Bearer

    source§

    fn clone(&self) -> Bearer

    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 Bearer

    source§

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

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

    impl Default for Bearer

    source§

    fn default() -> Bearer

    Returns the “default value” for a type. Read more
    source§

    impl Display for Bearer

    source§

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

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

    impl Hash for Bearer

    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 Ord for Bearer

    source§

    fn cmp(&self, other: &Bearer) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized,

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

    impl Ord for Bearer

    source§

    fn cmp(&self, other: &Bearer) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq<Bearer> for Bearer

    source§

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

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

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

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd<Bearer> for Bearer

    source§

    fn partial_cmp(&self, other: &Bearer) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

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

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

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

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

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

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

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

    This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd<Bearer> for Bearer

    source§

    fn partial_cmp(&self, other: &Bearer) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

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

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

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

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

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

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

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

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl TryIntoHeaderValue for Bearer

    §

    type Error = InvalidHeaderValue

    The type returned in the event of a conversion error.
    source§

    fn try_into_value(self) -> Result<HeaderValue, Self::Error>

    Try to convert value to a HeaderValue.
    source§

    impl Eq for Bearer

    source§

    impl StructuralEq for Bearer

    source§

    impl StructuralPartialEq for Bearer

    Auto Trait Implementations§

    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 diff --git a/actix_web_httpauth/headers/www_authenticate/bearer/struct.BearerBuilder.html b/actix_web_httpauth/headers/www_authenticate/bearer/struct.BearerBuilder.html index 776b6d00e..4213220f7 100644 --- a/actix_web_httpauth/headers/www_authenticate/bearer/struct.BearerBuilder.html +++ b/actix_web_httpauth/headers/www_authenticate/bearer/struct.BearerBuilder.html @@ -1,4 +1,4 @@ -BearerBuilder in actix_web_httpauth::headers::www_authenticate::bearer - Rust
    pub struct BearerBuilder(/* private fields */);
    Expand description

    Builder for the Bearer challenge.

    +BearerBuilder in actix_web_httpauth::headers::www_authenticate::bearer - Rust
    pub struct BearerBuilder(/* private fields */);
    Expand description

    Builder for the Bearer challenge.

    It is up to implementor to fill all required fields, neither this Builder nor Bearer provide any validation.

    Implementations§

    source§

    impl BearerBuilder

    source

    pub fn scope<T>(self, value: T) -> Selfwhere diff --git a/actix_web_httpauth/headers/www_authenticate/index.html b/actix_web_httpauth/headers/www_authenticate/index.html index bebdeacf4..17d15cda7 100644 --- a/actix_web_httpauth/headers/www_authenticate/index.html +++ b/actix_web_httpauth/headers/www_authenticate/index.html @@ -1,2 +1,2 @@ -actix_web_httpauth::headers::www_authenticate - Rust
    Expand description

    WWW-Authenticate header and various auth challenges.

    +actix_web_httpauth::headers::www_authenticate - Rust
    Expand description

    WWW-Authenticate header and various auth challenges.

    Modules

    • Challenge for the “Basic” HTTP Authentication Scheme.
    • Challenge for the “Bearer” HTTP Authentication Scheme.

    Structs

    Traits

    • Authentication challenge for WWW-Authenticate header.
    \ No newline at end of file diff --git a/actix_web_httpauth/headers/www_authenticate/struct.WwwAuthenticate.html b/actix_web_httpauth/headers/www_authenticate/struct.WwwAuthenticate.html index bf3614159..c48f3fbc3 100644 --- a/actix_web_httpauth/headers/www_authenticate/struct.WwwAuthenticate.html +++ b/actix_web_httpauth/headers/www_authenticate/struct.WwwAuthenticate.html @@ -1,15 +1,15 @@ -WwwAuthenticate in actix_web_httpauth::headers::www_authenticate - Rust
    pub struct WwwAuthenticate<C: Challenge>(pub C);
    Expand description

    WWW-Authenticate header, described in RFC 7235.

    +WwwAuthenticate in actix_web_httpauth::headers::www_authenticate - Rust
    pub struct WwwAuthenticate<C: Challenge>(pub C);
    Expand description

    WWW-Authenticate header, described in RFC 7235.

    This header is generic over the Challenge trait, see Basic and Bearer challenges for details.

    -

    Tuple Fields§

    §0: C

    Trait Implementations§

    source§

    impl<C: Clone + Challenge> Clone for WwwAuthenticate<C>

    source§

    fn clone(&self) -> WwwAuthenticate<C>

    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<C: Debug + Challenge> Debug for WwwAuthenticate<C>

    source§

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

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

    impl<C: Default + Challenge> Default for WwwAuthenticate<C>

    source§

    fn default() -> WwwAuthenticate<C>

    Returns the “default value” for a type. Read more
    source§

    impl<C: Hash + Challenge> Hash for WwwAuthenticate<C>

    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 +

    Tuple Fields§

    §0: C

    Trait Implementations§

    source§

    impl<C: Clone + Challenge> Clone for WwwAuthenticate<C>

    source§

    fn clone(&self) -> WwwAuthenticate<C>

    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<C: Debug + Challenge> Debug for WwwAuthenticate<C>

    source§

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

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

    impl<C: Default + Challenge> Default for WwwAuthenticate<C>

    source§

    fn default() -> WwwAuthenticate<C>

    Returns the “default value” for a type. Read more
    source§

    impl<C: Hash + Challenge> Hash for WwwAuthenticate<C>

    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<C: Challenge> Header for WwwAuthenticate<C>

    source§

    fn name() -> HeaderName

    Returns the name of the header field.
    source§

    fn parse<T: HttpMessage>(_msg: &T) -> Result<Self, ParseError>

    Parse the header from a HTTP message.
    source§

    impl<C: Ord + Challenge> Ord for WwwAuthenticate<C>

    source§

    fn cmp(&self, other: &WwwAuthenticate<C>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized,

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

    impl<C: Challenge> Header for WwwAuthenticate<C>

    source§

    fn name() -> HeaderName

    Returns the name of the header field.
    source§

    fn parse<T: HttpMessage>(_msg: &T) -> Result<Self, ParseError>

    Parse the header from a HTTP message.
    source§

    impl<C: Ord + Challenge> Ord for WwwAuthenticate<C>

    source§

    fn cmp(&self, other: &WwwAuthenticate<C>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    source§

    impl<C: PartialEq + Challenge> PartialEq<WwwAuthenticate<C>> for WwwAuthenticate<C>

    source§

    fn eq(&self, other: &WwwAuthenticate<C>) -> bool

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

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

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl<C: PartialOrd + Challenge> PartialOrd<WwwAuthenticate<C>> for WwwAuthenticate<C>

    source§

    fn partial_cmp(&self, other: &WwwAuthenticate<C>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

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

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

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

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

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

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

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

    This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
    1.0.0 · source§

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

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl<C: PartialOrd + Challenge> PartialOrd<WwwAuthenticate<C>> for WwwAuthenticate<C>

    source§

    fn partial_cmp(&self, other: &WwwAuthenticate<C>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

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

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

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

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

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

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

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

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl<C: Challenge> TryIntoHeaderValue for WwwAuthenticate<C>

    §

    type Error = <C as TryIntoHeaderValue>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into_value(self) -> Result<HeaderValue, Self::Error>

    Try to convert value to a HeaderValue.
    source§

    impl<C: Eq + Challenge> Eq for WwwAuthenticate<C>

    source§

    impl<C: Challenge> StructuralEq for WwwAuthenticate<C>

    source§

    impl<C: Challenge> StructuralPartialEq for WwwAuthenticate<C>

    Auto Trait Implementations§

    §

    impl<C> RefUnwindSafe for WwwAuthenticate<C>where C: RefUnwindSafe,

    §

    impl<C> Send for WwwAuthenticate<C>

    §

    impl<C> Sync for WwwAuthenticate<C>

    §

    impl<C> Unpin for WwwAuthenticate<C>where C: Unpin,

    §

    impl<C> UnwindSafe for WwwAuthenticate<C>where diff --git a/actix_web_httpauth/headers/www_authenticate/trait.Challenge.html b/actix_web_httpauth/headers/www_authenticate/trait.Challenge.html index 1caa5799b..6bc9e5e58 100644 --- a/actix_web_httpauth/headers/www_authenticate/trait.Challenge.html +++ b/actix_web_httpauth/headers/www_authenticate/trait.Challenge.html @@ -1,4 +1,4 @@ -Challenge in actix_web_httpauth::headers::www_authenticate - Rust
    pub trait Challenge: TryIntoHeaderValue + Debug + Display + Clone + Send + Sync {
    +Challenge in actix_web_httpauth::headers::www_authenticate - Rust
    pub trait Challenge: TryIntoHeaderValue + Debug + Display + Clone + Send + Sync {
         // Required method
         fn to_bytes(&self) -> Bytes;
     }
    Expand description

    Authentication challenge for WWW-Authenticate header.

    diff --git a/actix_web_httpauth/index.html b/actix_web_httpauth/index.html index c4596c44e..7460e809b 100644 --- a/actix_web_httpauth/index.html +++ b/actix_web_httpauth/index.html @@ -1,4 +1,4 @@ -actix_web_httpauth - Rust
    Expand description

    HTTP authentication schemes for Actix Web.

    +actix_web_httpauth - Rust
    Expand description

    HTTP authentication schemes for Actix Web.

    Provides:

    • Typed Authorization and WWW-Authenticate headers
    • diff --git a/actix_web_httpauth/middleware/index.html b/actix_web_httpauth/middleware/index.html index 518a1fcd9..6f3070d54 100644 --- a/actix_web_httpauth/middleware/index.html +++ b/actix_web_httpauth/middleware/index.html @@ -1,2 +1,2 @@ -actix_web_httpauth::middleware - Rust
      Expand description

      HTTP Authentication middleware.

      +actix_web_httpauth::middleware - Rust
      Expand description

      HTTP Authentication middleware.

      Structs

      \ No newline at end of file diff --git a/actix_web_httpauth/middleware/struct.HttpAuthentication.html b/actix_web_httpauth/middleware/struct.HttpAuthentication.html index fe833a8de..e5b60c624 100644 --- a/actix_web_httpauth/middleware/struct.HttpAuthentication.html +++ b/actix_web_httpauth/middleware/struct.HttpAuthentication.html @@ -1,4 +1,4 @@ -HttpAuthentication in actix_web_httpauth::middleware - Rust
      pub struct HttpAuthentication<T, F>where
      +HttpAuthentication in actix_web_httpauth::middleware - Rust
      pub struct HttpAuthentication<T, F>where
           T: FromRequest,{ /* private fields */ }
      Expand description

      Middleware for checking HTTP authentication.

      If there is no Authorization header in the request, this middleware returns an error immediately, without calling the F callback.

      diff --git a/help.html b/help.html index 085aba007..a7672054d 100644 --- a/help.html +++ b/help.html @@ -1 +1 @@ -Rustdoc help

      Rustdoc help

      Back
      \ No newline at end of file +Rustdoc help

      Rustdoc help

      Back
      \ No newline at end of file diff --git a/implementors/actix_http/header/into_value/trait.TryIntoHeaderValue.js b/implementors/actix_http/header/into_value/trait.TryIntoHeaderValue.js index 242ae2631..350e56d0a 100644 --- a/implementors/actix_http/header/into_value/trait.TryIntoHeaderValue.js +++ b/implementors/actix_http/header/into_value/trait.TryIntoHeaderValue.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"actix_web_httpauth":[["impl<C: Challenge> TryIntoHeaderValue for WwwAuthenticate<C>"],["impl TryIntoHeaderValue for Bearer"],["impl TryIntoHeaderValue for Bearer"],["impl TryIntoHeaderValue for Basic"],["impl<S: Scheme> TryIntoHeaderValue for Authorization<S>"],["impl TryIntoHeaderValue for Basic"]] +"actix_web_httpauth":[["impl TryIntoHeaderValue for Bearer"],["impl TryIntoHeaderValue for Basic"],["impl<S: Scheme> TryIntoHeaderValue for Authorization<S>"],["impl TryIntoHeaderValue for Bearer"],["impl<C: Challenge> TryIntoHeaderValue for WwwAuthenticate<C>"],["impl TryIntoHeaderValue for Basic"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/actix_web/error/response_error/trait.ResponseError.js b/implementors/actix_web/error/response_error/trait.ResponseError.js index d08389c11..80e52942c 100644 --- a/implementors/actix_web/error/response_error/trait.ResponseError.js +++ b/implementors/actix_web/error/response_error/trait.ResponseError.js @@ -3,6 +3,6 @@ "actix_identity":[["impl ResponseError for GetIdentityError"],["impl ResponseError for LoginError"]], "actix_protobuf":[["impl ResponseError for ProtoBufPayloadError"]], "actix_redis":[["impl ResponseError for Error"]], -"actix_session":[["impl ResponseError for SessionInsertError"],["impl ResponseError for SessionGetError"]], +"actix_session":[["impl ResponseError for SessionGetError"],["impl ResponseError for SessionInsertError"]], "actix_web_httpauth":[["impl<C: Challenge + 'static> ResponseError for AuthenticationError<C>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/actix_web/extract/trait.FromRequest.js b/implementors/actix_web/extract/trait.FromRequest.js index 0af90db77..042b6ca45 100644 --- a/implementors/actix_web/extract/trait.FromRequest.js +++ b/implementors/actix_web/extract/trait.FromRequest.js @@ -2,5 +2,5 @@ "actix_identity":[["impl FromRequest for Identity"]], "actix_protobuf":[["impl<T> FromRequest for ProtoBuf<T>where\n T: Message + Default + 'static,"]], "actix_session":[["impl FromRequest for Session"]], -"actix_web_httpauth":[["impl FromRequest for BasicAuth"],["impl FromRequest for BearerAuth"]] +"actix_web_httpauth":[["impl FromRequest for BearerAuth"],["impl FromRequest for BasicAuth"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/clone/trait.Clone.js b/implementors/core/clone/trait.Clone.js index 137554ea5..af1b9847a 100644 --- a/implementors/core/clone/trait.Clone.js +++ b/implementors/core/clone/trait.Clone.js @@ -1,8 +1,8 @@ (function() {var implementors = { "actix_cors":[["impl Clone for CorsError"]], -"actix_identity":[["impl Clone for LogoutBehaviour"],["impl Clone for IdentityMiddleware"],["impl Clone for IdentityMiddlewareBuilder"]], -"actix_limitation":[["impl Clone for Status"],["impl Clone for Limiter"]], -"actix_session":[["impl Clone for TtlExtensionPolicy"],["impl Clone for PersistentSession"],["impl Clone for RedisSessionStore"],["impl<Store: Clone + SessionStore> Clone for SessionMiddleware<Store>"],["impl Clone for SessionLifecycle"],["impl Clone for Session"],["impl Clone for BrowserSession"],["impl Clone for SessionStatus"],["impl Clone for CookieContentSecurity"]], -"actix_settings":[["impl Clone for MaxConnectionRate"],["impl Clone for Tls"],["impl Clone for Timeout"],["impl Clone for ActixSettings"],["impl Clone for MaxConnections"],["impl Clone for NumWorkers"],["impl Clone for NoSettings"],["impl Clone for Mode"],["impl Clone for KeepAlive"],["impl Clone for Address"],["impl<A: Clone> Clone for BasicSettings<A>"],["impl Clone for Backlog"]], -"actix_web_httpauth":[["impl Clone for Error"],["impl Clone for Config"],["impl<S: Clone + Scheme> Clone for Authorization<S>"],["impl Clone for Bearer"],["impl Clone for BearerAuth"],["impl Clone for Basic"],["impl Clone for Config"],["impl<C: Clone + Challenge> Clone for WwwAuthenticate<C>"],["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 Bearer"]] +"actix_identity":[["impl Clone for LogoutBehaviour"],["impl Clone for IdentityMiddlewareBuilder"],["impl Clone for IdentityMiddleware"]], +"actix_limitation":[["impl Clone for Limiter"],["impl Clone for Status"]], +"actix_session":[["impl Clone for BrowserSession"],["impl<Store: Clone + SessionStore> Clone for SessionMiddleware<Store>"],["impl Clone for CookieContentSecurity"],["impl Clone for SessionStatus"],["impl Clone for Session"],["impl Clone for RedisSessionStore"],["impl Clone for SessionLifecycle"],["impl Clone for PersistentSession"],["impl Clone for TtlExtensionPolicy"]], +"actix_settings":[["impl Clone for Mode"],["impl Clone for Backlog"],["impl Clone for NumWorkers"],["impl Clone for MaxConnectionRate"],["impl Clone for KeepAlive"],["impl Clone for MaxConnections"],["impl Clone for Timeout"],["impl Clone for Address"],["impl<A: Clone> Clone for BasicSettings<A>"],["impl Clone for Tls"],["impl Clone for ActixSettings"],["impl Clone for NoSettings"]], +"actix_web_httpauth":[["impl<S: Clone + Scheme> Clone for Authorization<S>"],["impl Clone for Bearer"],["impl Clone for Error"],["impl Clone for BasicAuth"],["impl Clone for Config"],["impl Clone for Basic"],["impl Clone for Config"],["impl<C: Clone + Challenge> Clone for WwwAuthenticate<C>"],["impl<T, F: Clone> Clone for HttpAuthentication<T, F>where\n T: FromRequest + Clone,"],["impl Clone for Basic"],["impl Clone for BearerAuth"],["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/implementors/core/cmp/trait.Eq.js b/implementors/core/cmp/trait.Eq.js index dc4ec55bc..138082259 100644 --- a/implementors/core/cmp/trait.Eq.js +++ b/implementors/core/cmp/trait.Eq.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"actix_session":[["impl Eq for SessionStatus"],["impl Eq for SessionKey"]], -"actix_settings":[["impl Eq for NumWorkers"],["impl Eq for MaxConnections"],["impl Eq for Address"],["impl Eq for Mode"],["impl Eq for Backlog"],["impl Eq for NoSettings"],["impl Eq for Tls"],["impl Eq for ActixSettings"],["impl Eq for KeepAlive"],["impl Eq for Timeout"],["impl Eq for MaxConnectionRate"],["impl<A: Eq> Eq for BasicSettings<A>"]], -"actix_web_httpauth":[["impl<C: Eq + Challenge> Eq for WwwAuthenticate<C>"],["impl Eq for Bearer"],["impl Eq for Bearer"],["impl Eq for Basic"],["impl Eq for Basic"],["impl<S: Eq + Scheme> Eq for Authorization<S>"],["impl Eq for Error"]] +"actix_session":[["impl Eq for SessionKey"],["impl Eq for SessionStatus"]], +"actix_settings":[["impl Eq for MaxConnections"],["impl Eq for MaxConnectionRate"],["impl Eq for KeepAlive"],["impl Eq for NumWorkers"],["impl Eq for Mode"],["impl Eq for Address"],["impl Eq for Tls"],["impl Eq for Timeout"],["impl Eq for NoSettings"],["impl<A: Eq> Eq for BasicSettings<A>"],["impl Eq for Backlog"],["impl Eq for ActixSettings"]], +"actix_web_httpauth":[["impl Eq for Bearer"],["impl<S: Eq + Scheme> Eq for Authorization<S>"],["impl Eq for Basic"],["impl<C: Eq + Challenge> Eq for WwwAuthenticate<C>"],["impl Eq for Basic"],["impl Eq for Bearer"],["impl Eq for Error"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.Ord.js b/implementors/core/cmp/trait.Ord.js index d7fa4def2..60fb7ef54 100644 --- a/implementors/core/cmp/trait.Ord.js +++ b/implementors/core/cmp/trait.Ord.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"actix_web_httpauth":[["impl Ord for Bearer"],["impl Ord for Basic"],["impl Ord for Bearer"],["impl<S: Ord + Scheme> Ord for Authorization<S>"],["impl Ord for Basic"],["impl Ord for Error"],["impl<C: Ord + Challenge> Ord for WwwAuthenticate<C>"]] +"actix_web_httpauth":[["impl<C: Ord + Challenge> Ord for WwwAuthenticate<C>"],["impl<S: Ord + Scheme> Ord for Authorization<S>"],["impl Ord for Basic"],["impl Ord for Error"],["impl Ord for Basic"],["impl Ord for Bearer"],["impl Ord for Bearer"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.PartialEq.js b/implementors/core/cmp/trait.PartialEq.js index da821ddcf..60ecb4889 100644 --- a/implementors/core/cmp/trait.PartialEq.js +++ b/implementors/core/cmp/trait.PartialEq.js @@ -1,5 +1,5 @@ (function() {var implementors = { "actix_session":[["impl PartialEq<SessionKey> for SessionKey"],["impl PartialEq<SessionStatus> for SessionStatus"]], -"actix_settings":[["impl PartialEq<NoSettings> for NoSettings"],["impl PartialEq<MaxConnections> for MaxConnections"],["impl PartialEq<NumWorkers> for NumWorkers"],["impl PartialEq<Tls> for Tls"],["impl PartialEq<MaxConnectionRate> for MaxConnectionRate"],["impl<A: PartialEq> PartialEq<BasicSettings<A>> for BasicSettings<A>"],["impl PartialEq<Address> for Address"],["impl PartialEq<Mode> for Mode"],["impl PartialEq<KeepAlive> for KeepAlive"],["impl PartialEq<Backlog> for Backlog"],["impl PartialEq<ActixSettings> for ActixSettings"],["impl PartialEq<Timeout> for Timeout"]], -"actix_web_httpauth":[["impl PartialEq<Error> for Error"],["impl PartialEq<Basic> for Basic"],["impl PartialEq<Bearer> for Bearer"],["impl<S: PartialEq + Scheme> PartialEq<Authorization<S>> for Authorization<S>"],["impl PartialEq<Basic> for Basic"],["impl<C: PartialEq + Challenge> PartialEq<WwwAuthenticate<C>> for WwwAuthenticate<C>"],["impl PartialEq<Bearer> for Bearer"]] +"actix_settings":[["impl PartialEq<MaxConnections> for MaxConnections"],["impl PartialEq<Timeout> for Timeout"],["impl PartialEq<ActixSettings> for ActixSettings"],["impl PartialEq<Tls> for Tls"],["impl PartialEq<Mode> for Mode"],["impl PartialEq<KeepAlive> for KeepAlive"],["impl<A: PartialEq> PartialEq<BasicSettings<A>> for BasicSettings<A>"],["impl PartialEq<Address> for Address"],["impl PartialEq<NumWorkers> for NumWorkers"],["impl PartialEq<MaxConnectionRate> for MaxConnectionRate"],["impl PartialEq<NoSettings> for NoSettings"],["impl PartialEq<Backlog> for Backlog"]], +"actix_web_httpauth":[["impl PartialEq<Basic> for Basic"],["impl PartialEq<Error> for Error"],["impl<S: PartialEq + Scheme> PartialEq<Authorization<S>> for Authorization<S>"],["impl PartialEq<Basic> for Basic"],["impl PartialEq<Bearer> for Bearer"],["impl PartialEq<Bearer> for Bearer"],["impl<C: PartialEq + Challenge> PartialEq<WwwAuthenticate<C>> 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/implementors/core/cmp/trait.PartialOrd.js b/implementors/core/cmp/trait.PartialOrd.js index 0490658b8..dafdb5a8c 100644 --- a/implementors/core/cmp/trait.PartialOrd.js +++ b/implementors/core/cmp/trait.PartialOrd.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"actix_web_httpauth":[["impl PartialOrd<Error> for Error"],["impl PartialOrd<Bearer> for Bearer"],["impl PartialOrd<Basic> for Basic"],["impl PartialOrd<Basic> for Basic"],["impl<C: PartialOrd + Challenge> PartialOrd<WwwAuthenticate<C>> for WwwAuthenticate<C>"],["impl PartialOrd<Bearer> for Bearer"],["impl<S: PartialOrd + Scheme> PartialOrd<Authorization<S>> for Authorization<S>"]] +"actix_web_httpauth":[["impl<S: PartialOrd + Scheme> PartialOrd<Authorization<S>> for Authorization<S>"],["impl PartialOrd<Bearer> for Bearer"],["impl PartialOrd<Bearer> for Bearer"],["impl PartialOrd<Basic> for Basic"],["impl<C: PartialOrd + Challenge> PartialOrd<WwwAuthenticate<C>> for WwwAuthenticate<C>"],["impl PartialOrd<Error> for Error"],["impl PartialOrd<Basic> for Basic"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/convert/trait.AsRef.js b/implementors/core/convert/trait.AsRef.js index 865336599..f27f4c2af 100644 --- a/implementors/core/convert/trait.AsRef.js +++ b/implementors/core/convert/trait.AsRef.js @@ -1,4 +1,4 @@ (function() {var implementors = { "actix_session":[["impl AsRef<str> for SessionKey"]], -"actix_web_httpauth":[["impl<S: Scheme> AsRef<S> for Authorization<S>"],["impl AsRef<Basic> for Config"],["impl AsRef<Bearer> for Config"]] +"actix_web_httpauth":[["impl AsRef<Basic> for Config"],["impl AsRef<Bearer> for Config"],["impl<S: Scheme> AsRef<S> for Authorization<S>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/convert/trait.From.js b/implementors/core/convert/trait.From.js index c8607c59b..c82643a0a 100644 --- a/implementors/core/convert/trait.From.js +++ b/implementors/core/convert/trait.From.js @@ -1,9 +1,9 @@ (function() {var implementors = { -"actix_identity":[["impl From<SessionGetError> for GetIdentityError"],["impl From<MissingIdentityError> for GetIdentityError"],["impl From<SessionExpiryError> for GetIdentityError"],["impl From<LostIdentityError> for GetIdentityError"],["impl From<SessionInsertError> for LoginError"]], -"actix_limitation":[["impl From<ComponentRange> for Error"],["impl From<RedisError> for Error"]], -"actix_protobuf":[["impl From<PayloadError> for ProtoBufPayloadError"],["impl From<DecodeError> for ProtoBufPayloadError"]], +"actix_identity":[["impl From<LostIdentityError> for GetIdentityError"],["impl From<SessionGetError> for GetIdentityError"],["impl From<SessionInsertError> for LoginError"],["impl From<MissingIdentityError> for GetIdentityError"],["impl From<SessionExpiryError> for GetIdentityError"]], +"actix_limitation":[["impl From<RedisError> for Error"],["impl From<ComponentRange> for Error"]], +"actix_protobuf":[["impl From<DecodeError> for ProtoBufPayloadError"],["impl From<PayloadError> for ProtoBufPayloadError"]], "actix_redis":[["impl From<Error> for Error"]], -"actix_session":[["impl From<BrowserSession> for SessionLifecycle"],["impl From<SessionKey> for String"],["impl From<Error> for SessionInsertError"],["impl From<PersistentSession> for SessionLifecycle"],["impl From<Error> for SessionGetError"]], -"actix_settings":[["impl From<ParseIntError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<VarError> for Error"],["impl From<ParseBoolError> for Error"]], -"actix_web_httpauth":[["impl From<Basic> for BasicAuth"],["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,"],["impl From<DecodeError> for ParseError"],["impl From<ToStrError> for ParseError"]] +"actix_session":[["impl From<Error> for SessionGetError"],["impl From<PersistentSession> for SessionLifecycle"],["impl From<SessionKey> for String"],["impl From<Error> for SessionInsertError"],["impl From<BrowserSession> for SessionLifecycle"]], +"actix_settings":[["impl From<ParseBoolError> for Error"],["impl From<Error> for Error"],["impl From<ParseIntError> for Error"],["impl From<Error> for Error"],["impl From<VarError> for Error"],["impl From<Error> for Error"]], +"actix_web_httpauth":[["impl From<ToStrError> for ParseError"],["impl<S: Scheme> From<S> for Authorization<S>"],["impl From<Utf8Error> for ParseError"],["impl From<DecodeError> for ParseError"],["impl From<Basic> for BasicAuth"],["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/implementors/core/default/trait.Default.js b/implementors/core/default/trait.Default.js index b0394e54b..54a73f6f3 100644 --- a/implementors/core/default/trait.Default.js +++ b/implementors/core/default/trait.Default.js @@ -3,6 +3,6 @@ "actix_identity":[["impl Default for IdentityMiddleware"]], "actix_limitation":[["impl Default for RateLimiter"]], "actix_protobuf":[["impl Default for ProtoBufConfig"]], -"actix_session":[["impl Default for PersistentSession"],["impl Default for SessionStatus"],["impl Default for BrowserSession"],["impl Default for CookieSessionStore"]], -"actix_web_httpauth":[["impl<C: Default + Challenge> Default for WwwAuthenticate<C>"],["impl Default for Bearer"],["impl Default for Config"],["impl Default for Config"],["impl<S: Default + Scheme> Default for Authorization<S>"],["impl Default for Basic"],["impl Default for BearerBuilder"]] +"actix_session":[["impl Default for BrowserSession"],["impl Default for SessionStatus"],["impl Default for PersistentSession"],["impl Default for CookieSessionStore"]], +"actix_web_httpauth":[["impl<S: Default + Scheme> Default for Authorization<S>"],["impl Default for Config"],["impl Default for Config"],["impl<C: Default + Challenge> Default for WwwAuthenticate<C>"],["impl Default for Bearer"],["impl Default for BearerBuilder"],["impl Default for Basic"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/error/trait.Error.js b/implementors/core/error/trait.Error.js index 5d17df080..f224fe866 100644 --- a/implementors/core/error/trait.Error.js +++ b/implementors/core/error/trait.Error.js @@ -1,9 +1,9 @@ (function() {var implementors = { "actix_cors":[["impl Error for CorsError"]], -"actix_identity":[["impl Error for GetIdentityError"],["impl Error for SessionExpiryError"],["impl Error for LostIdentityError"],["impl Error for LoginError"],["impl Error for MissingIdentityError"]], +"actix_identity":[["impl Error for LoginError"],["impl Error for MissingIdentityError"],["impl Error for GetIdentityError"],["impl Error for LostIdentityError"],["impl Error for SessionExpiryError"]], "actix_limitation":[["impl Error for Error"]], "actix_redis":[["impl Error for Error"]], -"actix_session":[["impl Error for SessionInsertError"],["impl Error for LoadError"],["impl Error for UpdateError"],["impl Error for SessionGetError"],["impl Error for SaveError"]], +"actix_session":[["impl Error for SaveError"],["impl Error for UpdateError"],["impl Error for SessionGetError"],["impl Error for LoadError"],["impl Error for SessionInsertError"]], "actix_settings":[["impl Error for Error"]], -"actix_web_httpauth":[["impl Error for ParseError"],["impl<C: Challenge + 'static> Error for AuthenticationError<C>"]] +"actix_web_httpauth":[["impl<C: Challenge + 'static> Error for AuthenticationError<C>"],["impl Error for ParseError"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/fmt/trait.Debug.js b/implementors/core/fmt/trait.Debug.js index 7167382e4..174a41d3d 100644 --- a/implementors/core/fmt/trait.Debug.js +++ b/implementors/core/fmt/trait.Debug.js @@ -1,10 +1,10 @@ (function() {var implementors = { -"actix_cors":[["impl Debug for CorsError"],["impl Debug for Cors"]], -"actix_identity":[["impl Debug for SessionExpiryError"],["impl Debug for MissingIdentityError"],["impl Debug for LoginError"],["impl Debug for GetIdentityError"],["impl Debug for LostIdentityError"],["impl Debug for IdentityMiddlewareBuilder"],["impl Debug for LogoutBehaviour"]], -"actix_limitation":[["impl Debug for Status"],["impl Debug for Limiter"],["impl Debug for Builder"],["impl Debug for RateLimiter"],["impl Debug for Error"]], +"actix_cors":[["impl Debug for Cors"],["impl Debug for CorsError"]], +"actix_identity":[["impl Debug for LogoutBehaviour"],["impl Debug for MissingIdentityError"],["impl Debug for SessionExpiryError"],["impl Debug for LostIdentityError"],["impl Debug for IdentityMiddlewareBuilder"],["impl Debug for LoginError"],["impl Debug for GetIdentityError"]], +"actix_limitation":[["impl Debug for Error"],["impl Debug for RateLimiter"],["impl Debug for Status"],["impl Debug for Builder"],["impl Debug for Limiter"]], "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 BrowserSession"],["impl Debug for SessionLifecycle"],["impl Debug for SaveError"],["impl Debug for UpdateError"],["impl Debug for TtlExtensionPolicy"],["impl Debug for SessionInsertError"],["impl Debug for SessionStatus"],["impl Debug for SessionGetError"],["impl Debug for LoadError"],["impl Debug for CookieContentSecurity"],["impl Debug for PersistentSession"]], -"actix_settings":[["impl Debug for Timeout"],["impl Debug for ActixSettings"],["impl Debug for MaxConnectionRate"],["impl Debug for NumWorkers"],["impl Debug for MaxConnections"],["impl<A: Debug> Debug for BasicSettings<A>"],["impl Debug for Tls"],["impl Debug for KeepAlive"],["impl Debug for Error"],["impl Debug for Address"],["impl Debug for NoSettings"],["impl Debug for Backlog"],["impl Debug for Mode"]], -"actix_web_httpauth":[["impl Debug for BearerAuth"],["impl<S: Debug + Scheme> Debug for Authorization<S>"],["impl Debug for Config"],["impl<T, F: Debug> Debug for HttpAuthentication<T, F>where\n T: FromRequest + Debug,"],["impl Debug for ParseError"],["impl Debug for Basic"],["impl Debug for BearerBuilder"],["impl<C: Debug + Challenge> Debug for WwwAuthenticate<C>"],["impl Debug for Error"],["impl Debug for BasicAuth"],["impl Debug for Bearer"],["impl Debug for Basic"],["impl<C: Debug + Challenge> Debug for AuthenticationError<C>"],["impl Debug for Config"],["impl Debug for Bearer"]] +"actix_session":[["impl Debug for UpdateError"],["impl Debug for CookieContentSecurity"],["impl Debug for SessionInsertError"],["impl Debug for SessionStatus"],["impl Debug for SessionLifecycle"],["impl Debug for BrowserSession"],["impl Debug for PersistentSession"],["impl Debug for TtlExtensionPolicy"],["impl Debug for SessionKey"],["impl Debug for SaveError"],["impl Debug for LoadError"],["impl Debug for SessionGetError"]], +"actix_settings":[["impl Debug for MaxConnectionRate"],["impl<A: Debug> Debug for BasicSettings<A>"],["impl Debug for Timeout"],["impl Debug for NoSettings"],["impl Debug for Mode"],["impl Debug for Address"],["impl Debug for KeepAlive"],["impl Debug for ActixSettings"],["impl Debug for MaxConnections"],["impl Debug for NumWorkers"],["impl Debug for Tls"],["impl Debug for Backlog"],["impl Debug for Error"]], +"actix_web_httpauth":[["impl<C: Debug + Challenge> Debug for WwwAuthenticate<C>"],["impl Debug for BearerBuilder"],["impl Debug for Bearer"],["impl Debug for Basic"],["impl Debug for Basic"],["impl Debug for Bearer"],["impl<S: Debug + Scheme> Debug for Authorization<S>"],["impl Debug for BasicAuth"],["impl<T, F: Debug> Debug for HttpAuthentication<T, F>where\n T: FromRequest + Debug,"],["impl Debug for ParseError"],["impl Debug for Config"],["impl Debug for BearerAuth"],["impl Debug for Config"],["impl<C: Debug + Challenge> Debug for AuthenticationError<C>"],["impl Debug for Error"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/fmt/trait.Display.js b/implementors/core/fmt/trait.Display.js index 83eaa3cb0..bbeced070 100644 --- a/implementors/core/fmt/trait.Display.js +++ b/implementors/core/fmt/trait.Display.js @@ -1,10 +1,10 @@ (function() {var implementors = { "actix_cors":[["impl Display for CorsError"]], -"actix_identity":[["impl Display for GetIdentityError"],["impl Display for MissingIdentityError"],["impl Display for LoginError"],["impl Display for LostIdentityError"],["impl Display for SessionExpiryError"]], +"actix_identity":[["impl Display for SessionExpiryError"],["impl Display for LostIdentityError"],["impl Display for LoginError"],["impl Display for MissingIdentityError"],["impl Display for GetIdentityError"]], "actix_limitation":[["impl Display for Error"]], "actix_protobuf":[["impl<T> Display for ProtoBuf<T>where\n T: Display + Message,"],["impl Display for ProtoBufPayloadError"]], "actix_redis":[["impl Display for Error"]], -"actix_session":[["impl Display for SessionInsertError"],["impl Display for LoadError"],["impl Display for SaveError"],["impl Display for UpdateError"],["impl Display for SessionGetError"]], +"actix_session":[["impl Display for SessionGetError"],["impl Display for SaveError"],["impl Display for UpdateError"],["impl Display for SessionInsertError"],["impl Display for LoadError"]], "actix_settings":[["impl Display for Error"]], -"actix_web_httpauth":[["impl Display for Basic"],["impl<C: Challenge> Display for AuthenticationError<C>"],["impl Display for Bearer"],["impl Display for Error"],["impl Display for Basic"],["impl<S: Scheme> Display for Authorization<S>"],["impl Display for Bearer"],["impl Display for ParseError"]] +"actix_web_httpauth":[["impl<C: Challenge> Display for AuthenticationError<C>"],["impl Display for ParseError"],["impl Display for Bearer"],["impl<S: Scheme> Display for Authorization<S>"],["impl Display for Bearer"],["impl Display for Basic"],["impl Display for Error"],["impl Display for Basic"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/hash/trait.Hash.js b/implementors/core/hash/trait.Hash.js index f27d47c92..2345d0ab9 100644 --- a/implementors/core/hash/trait.Hash.js +++ b/implementors/core/hash/trait.Hash.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"actix_settings":[["impl Hash for MaxConnectionRate"],["impl Hash for KeepAlive"],["impl Hash for MaxConnections"],["impl<A: Hash> Hash for BasicSettings<A>"],["impl Hash for NumWorkers"],["impl Hash for NoSettings"],["impl Hash for Timeout"],["impl Hash for Backlog"],["impl Hash for Mode"],["impl Hash for Address"],["impl Hash for Tls"],["impl Hash for ActixSettings"]], -"actix_web_httpauth":[["impl Hash for Basic"],["impl<C: Hash + Challenge> Hash for WwwAuthenticate<C>"],["impl Hash for Bearer"],["impl<S: Hash + Scheme> Hash for Authorization<S>"],["impl Hash for Error"]] +"actix_settings":[["impl Hash for NumWorkers"],["impl Hash for Timeout"],["impl<A: Hash> Hash for BasicSettings<A>"],["impl Hash for ActixSettings"],["impl Hash for NoSettings"],["impl Hash for MaxConnectionRate"],["impl Hash for MaxConnections"],["impl Hash for Backlog"],["impl Hash for KeepAlive"],["impl Hash for Mode"],["impl Hash for Tls"],["impl Hash for Address"]], +"actix_web_httpauth":[["impl<S: Hash + Scheme> Hash for Authorization<S>"],["impl<C: Hash + Challenge> Hash for WwwAuthenticate<C>"],["impl Hash for Error"],["impl Hash for Basic"],["impl Hash for Bearer"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.StructuralEq.js b/implementors/core/marker/trait.StructuralEq.js index 28c065c9d..73dccd2a7 100644 --- a/implementors/core/marker/trait.StructuralEq.js +++ b/implementors/core/marker/trait.StructuralEq.js @@ -1,5 +1,5 @@ (function() {var implementors = { "actix_session":[["impl StructuralEq for SessionKey"],["impl StructuralEq for SessionStatus"]], -"actix_settings":[["impl StructuralEq for Address"],["impl StructuralEq for Timeout"],["impl StructuralEq for Mode"],["impl StructuralEq for MaxConnections"],["impl StructuralEq for NoSettings"],["impl StructuralEq for MaxConnectionRate"],["impl StructuralEq for KeepAlive"],["impl StructuralEq for ActixSettings"],["impl<A> StructuralEq for BasicSettings<A>"],["impl StructuralEq for Tls"],["impl StructuralEq for NumWorkers"],["impl StructuralEq for Backlog"]], -"actix_web_httpauth":[["impl StructuralEq for Basic"],["impl StructuralEq for Error"],["impl StructuralEq for Bearer"],["impl<S: Scheme> StructuralEq for Authorization<S>"],["impl StructuralEq for Bearer"],["impl StructuralEq for Basic"],["impl<C: Challenge> StructuralEq for WwwAuthenticate<C>"]] +"actix_settings":[["impl StructuralEq for NumWorkers"],["impl StructuralEq for ActixSettings"],["impl StructuralEq for Backlog"],["impl StructuralEq for Tls"],["impl StructuralEq for KeepAlive"],["impl<A> StructuralEq for BasicSettings<A>"],["impl StructuralEq for NoSettings"],["impl StructuralEq for MaxConnections"],["impl StructuralEq for MaxConnectionRate"],["impl StructuralEq for Mode"],["impl StructuralEq for Timeout"],["impl StructuralEq for Address"]], +"actix_web_httpauth":[["impl StructuralEq for Bearer"],["impl<S: Scheme> StructuralEq for Authorization<S>"],["impl<C: Challenge> StructuralEq for WwwAuthenticate<C>"],["impl StructuralEq for Basic"],["impl StructuralEq for Basic"],["impl StructuralEq for Error"],["impl StructuralEq for Bearer"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.StructuralPartialEq.js b/implementors/core/marker/trait.StructuralPartialEq.js index aa94827af..1729d84f0 100644 --- a/implementors/core/marker/trait.StructuralPartialEq.js +++ b/implementors/core/marker/trait.StructuralPartialEq.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"actix_session":[["impl StructuralPartialEq for SessionKey"],["impl StructuralPartialEq for SessionStatus"]], -"actix_settings":[["impl StructuralPartialEq for NumWorkers"],["impl<A> StructuralPartialEq for BasicSettings<A>"],["impl StructuralPartialEq for KeepAlive"],["impl StructuralPartialEq for Timeout"],["impl StructuralPartialEq for NoSettings"],["impl StructuralPartialEq for ActixSettings"],["impl StructuralPartialEq for MaxConnections"],["impl StructuralPartialEq for MaxConnectionRate"],["impl StructuralPartialEq for Address"],["impl StructuralPartialEq for Tls"],["impl StructuralPartialEq for Backlog"],["impl StructuralPartialEq for Mode"]], -"actix_web_httpauth":[["impl StructuralPartialEq for Basic"],["impl StructuralPartialEq for Basic"],["impl StructuralPartialEq for Error"],["impl<C: Challenge> StructuralPartialEq for WwwAuthenticate<C>"],["impl StructuralPartialEq for Bearer"],["impl StructuralPartialEq for Bearer"],["impl<S: Scheme> StructuralPartialEq for Authorization<S>"]] +"actix_session":[["impl StructuralPartialEq for SessionStatus"],["impl StructuralPartialEq for SessionKey"]], +"actix_settings":[["impl<A> StructuralPartialEq for BasicSettings<A>"],["impl StructuralPartialEq for Timeout"],["impl StructuralPartialEq for NoSettings"],["impl StructuralPartialEq for MaxConnections"],["impl StructuralPartialEq for Address"],["impl StructuralPartialEq for NumWorkers"],["impl StructuralPartialEq for KeepAlive"],["impl StructuralPartialEq for Mode"],["impl StructuralPartialEq for Backlog"],["impl StructuralPartialEq for ActixSettings"],["impl StructuralPartialEq for Tls"],["impl StructuralPartialEq for MaxConnectionRate"]], +"actix_web_httpauth":[["impl StructuralPartialEq for Bearer"],["impl StructuralPartialEq for Basic"],["impl StructuralPartialEq for Bearer"],["impl StructuralPartialEq for Error"],["impl<C: Challenge> StructuralPartialEq for WwwAuthenticate<C>"],["impl StructuralPartialEq for Basic"],["impl<S: Scheme> StructuralPartialEq for Authorization<S>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/serde/de/trait.Deserialize.js b/implementors/serde/de/trait.Deserialize.js index a5ca16887..7563e810a 100644 --- a/implementors/serde/de/trait.Deserialize.js +++ b/implementors/serde/de/trait.Deserialize.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"actix_settings":[["impl<'de> Deserialize<'de> for ActixSettings"],["impl<'de> Deserialize<'de> for KeepAlive"],["impl<'de> Deserialize<'de> for MaxConnections"],["impl<'de> Deserialize<'de> for NoSettings"],["impl<'de> Deserialize<'de> for Address"],["impl<'de> Deserialize<'de> for MaxConnectionRate"],["impl<'de, A> Deserialize<'de> for BasicSettings<A>where\n A: Deserialize<'de>,"],["impl<'de> Deserialize<'de> for NumWorkers"],["impl<'de> Deserialize<'de> for Tls"],["impl<'de> Deserialize<'de> for Backlog"],["impl<'de> Deserialize<'de> for Timeout"],["impl<'de> Deserialize<'de> for Mode"]] +"actix_settings":[["impl<'de, A> Deserialize<'de> for BasicSettings<A>where\n A: Deserialize<'de>,"],["impl<'de> Deserialize<'de> for Mode"],["impl<'de> Deserialize<'de> for KeepAlive"],["impl<'de> Deserialize<'de> for ActixSettings"],["impl<'de> Deserialize<'de> for Timeout"],["impl<'de> Deserialize<'de> for MaxConnections"],["impl<'de> Deserialize<'de> for Backlog"],["impl<'de> Deserialize<'de> for Address"],["impl<'de> Deserialize<'de> for NumWorkers"],["impl<'de> Deserialize<'de> for NoSettings"],["impl<'de> Deserialize<'de> for Tls"],["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/search-index.js b/search-index.js index d61c7f9d7..e78c461f6 100644 --- a/search-index.js +++ b/search-index.js @@ -1,12 +1,12 @@ var searchIndex = JSON.parse('{\ "actix_cors":{"doc":"Cross-Origin Resource Sharing (CORS) controls for Actix …","t":"NNDECNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["BadRequestHeaders","BadRequestMethod","Cors","CorsError","CorsMiddleware","HeadersNotAllowed","MethodNotAllowed","MissingOrigin","MissingRequestMethod","OriginNotAllowed","WildcardOrigin","allow_any_header","allow_any_method","allow_any_origin","allow_private_network_access","allowed_header","allowed_headers","allowed_methods","allowed_origin","allowed_origin_fn","block_on_origin_mismatch","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","default","disable_preflight","disable_vary_header","error_response","expose_any_header","expose_headers","fmt","fmt","fmt","from","from","into","into","max_age","new_transform","permissive","send_wildcard","status_code","supports_credentials","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip"],"q":[[0,"actix_cors"],[56,"http::header::name"],[57,"core::convert"],[58,"core::iter::traits::collect"],[59,"core::ops::function"],[60,"actix_web::response::response"],[61,"core::fmt"],[62,"core::fmt"],[63,"core::convert"],[64,"actix_service"],[65,"http::status"],[66,"alloc::string"],[67,"core::result"],[68,"core::any"]],"d":["Request header Access-Control-Request-Headers has an …","Request header Access-Control-Request-Method has an …","Builder for CORS middleware.","Errors that can occur when processing CORS guarded …","","One or more request headers are not allowed.","Request method is not allowed.","Request header Origin is required but was not provided.","Request header Access-Control-Request-Method is required …","Origin is not allowed to make this request.","Allowed origin argument must not be wildcard (*).","Resets allowed request header list to a state where any …","Resets allowed methods list to all methods.","Resets allowed origin list to a state where any origin is …","Allow private network access.","Add an allowed request header.","Set a list of request header field names which can be used …","Set a list of methods which allowed origins can perform.","Add an origin that is allowed to make requests.","Determinate allowed origins by processing requests which …","Configures whether requests should be pre-emptively …","","","","","","","A restrictive (security paranoid) set of defaults.","Disable support for preflight requests.","Disable Vary header support.","","Resets exposed response header list to a state where all …","Set a list of headers which are safe to expose to the API …","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Set a maximum time (in seconds) for which this CORS …","","A very permissive set of default for quick development. …","Set to use wildcard origins.","","Allows users to make authenticated requests","","","","","","","","","",""],"i":[8,8,0,0,0,8,8,8,8,8,8,1,1,1,1,1,1,1,1,1,1,1,8,1,8,8,8,1,1,1,8,1,1,1,8,8,1,8,1,8,1,1,1,1,8,1,8,8,1,8,1,8,1,8,1,8],"f":[0,0,0,0,0,0,0,0,0,0,0,[1,1],[1,1],[1,1],[1,1],[[1,[3,[2]]],1],[[1,4],1],[[1,4],1],[[1,5],1],[[1,6],1],[[1,7],1],[[]],[[]],[[]],[[]],[8,8],[[]],[[],1],[1,1],[1,1],[8,9],[1,1],[[1,4],1],[[1,10],11],[[8,10],11],[[8,10],11],[[]],[[]],[[]],[[]],[[1,[14,[[13,[12]]]]],1],[[1,[16,[15]]]],[[],1],[1,1],[8,17],[1,1],[[]],[[],18],[[],19],[[],19],[[],19],[[],19],[[],20],[[],20],[[]],[[]]],"c":[],"p":[[3,"Cors",0],[3,"HeaderName",56],[8,"TryInto",57],[8,"IntoIterator",58],[15,"str"],[8,"Fn",59],[15,"bool"],[4,"CorsError",0],[3,"HttpResponse",60],[3,"Formatter",61],[6,"Result",61],[15,"usize"],[4,"Option",62],[8,"Into",57],[3,"ServiceRequest",63],[8,"Service",64],[3,"StatusCode",65],[3,"String",66],[4,"Result",67],[3,"TypeId",68]]},\ -"actix_identity":{"doc":"Identity management for Actix Web.","t":"DIDLLLLLLLALALLLKLLLLLLLLLLLLLLLNDENLLLLLLLLLLLLLLLLLLLLLLLLLLLLEDDNDNDNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["Identity","IdentityExt","IdentityMiddleware","borrow","borrow","borrow_mut","borrow_mut","builder","clone","clone_into","config","default","error","from","from","from_request","get_identity","id","into","into","login","logout","new_transform","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","DeleteIdentityKeys","IdentityMiddlewareBuilder","LogoutBehaviour","PurgeSession","borrow","borrow","borrow_mut","borrow_mut","build","clone","clone","clone_into","clone_into","fmt","fmt","from","from","into","into","login_deadline","logout_behaviour","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","visit_deadline","vzip","vzip","GetIdentityError","LoginError","LostIdentityError","LostIdentityError","MissingIdentityError","MissingIdentityError","SessionExpiryError","SessionExpiryError","SessionGetError","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","into","into","into","into","into","source","source","status_code","status_code","to_string","to_string","to_string","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_identity"],[32,"actix_identity::config"],[64,"actix_identity::error"],[137,"actix_web::request"],[138,"actix_http::payload"],[139,"core::result"],[140,"alloc::string"],[141,"actix_http::extensions"],[142,"actix_web::service"],[143,"actix_service"],[144,"core::any"],[145,"core::fmt"],[146,"core::fmt"],[147,"core::option"],[148,"actix_session::session"],[149,"actix_session::session"],[150,"http::status"]],"d":["A verified user identity. It can be used as a request …","Helper trait to retrieve an Identity instance from various …","Identity management middleware.","","","","","A fluent API to configure IdentityMiddleware.","","","Configuration options to tune the behaviour of …","","Failure modes of identity operations.","Returns the argument unchanged.","Returns the argument unchanged.","","Retrieve the identity attached to the current session, if …","Return the user id associated to the current session.","Calls U::from(self).","Calls U::from(self).","Attach a valid user identity to the current session.","Remove the user identity from the current session.","","","","","","","","","","","When Identity::logout is called, remove the identity …","A fluent builder to construct an IdentityMiddleware …","LogoutBehaviour controls what actions are going to be …","When Identity::logout is called, purge the current session.","","","","","Finalises the builder and returns an IdentityMiddleware …","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Automatically logs out users after a certain amount of …","Determines how Identity::logout affects the current …","","","","","","","","","Automatically logs out users after a certain amount of …","","","Errors that can occur while retrieving an identity.","Error that can occur during login attempts.","The identity information has been lost.","Identity info was lost after being validated.","There is no identity information attached to the current …","No identity is found in a session.","Error encountered when working with a session that has …","The session has expired.","Failed to accessing the session store.","","","","","","","","","","","","","","","","","","","","","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).","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,0,5,2,5,2,2,2,2,0,2,0,5,2,5,26,5,5,2,5,5,2,2,5,2,5,2,5,2,5,2,14,0,0,14,14,1,14,1,1,14,1,14,1,14,1,14,1,14,1,1,1,14,1,14,1,14,1,14,1,1,14,1,0,0,0,6,0,6,0,6,6,10,19,20,21,6,10,19,20,21,6,10,10,19,19,20,20,21,21,6,6,10,10,19,20,21,6,6,6,6,6,10,19,20,21,6,10,6,10,6,10,19,20,21,6,10,19,20,21,6,10,19,20,21,6,10,19,20,21,6,10,19,20,21,6],"f":[0,0,0,[[]],[[]],[[]],[[]],[[],1],[2,2],[[]],0,[[],2],0,[[]],[[]],[[3,4]],[[],[[7,[5,6]]]],[5,[[7,[8,6]]]],[[]],[[]],[[9,8],[[7,[5,10]]]],[5],[[2,[12,[11]]]],[[]],[[],7],[[],7],[[],7],[[],7],[[],13],[[],13],[[]],[[]],0,0,0,0,[[]],[[]],[[]],[[]],[1,2],[14,14],[1,1],[[]],[[]],[[14,15],16],[[1,15],16],[[]],[[]],[[]],[[]],[[1,[18,[17]]],1],[[1,14],1],[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],13],[[],13],[[1,[18,[17]]],1],[[]],[[]],0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[10,15],16],[[10,15],16],[[19,15],16],[[19,15],16],[[20,15],16],[[20,15],16],[[21,15],16],[[21,15],16],[[6,15],16],[[6,15],16],[[]],[22,10],[[]],[[]],[[]],[19,6],[21,6],[23,6],[[]],[20,6],[[]],[[]],[[]],[[]],[[]],[10,[[18,[24]]]],[6,[[18,[24]]]],[10,25],[6,25],[[],8],[[],8],[[],8],[[],8],[[],8],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],13],[[],13],[[],13],[[],13],[[],13],[[]],[[]],[[]],[[]],[[]]],"c":[],"p":[[3,"IdentityMiddlewareBuilder",32],[3,"IdentityMiddleware",0],[3,"HttpRequest",137],[4,"Payload",138],[3,"Identity",0],[4,"GetIdentityError",64],[4,"Result",139],[3,"String",140],[3,"Extensions",141],[3,"LoginError",64],[3,"ServiceRequest",142],[8,"Service",143],[3,"TypeId",144],[4,"LogoutBehaviour",32],[3,"Formatter",145],[6,"Result",145],[3,"Duration",146],[4,"Option",147],[3,"SessionExpiryError",64],[3,"LostIdentityError",64],[3,"MissingIdentityError",64],[3,"SessionInsertError",148],[3,"SessionGetError",148],[8,"Error",149],[3,"StatusCode",150],[8,"IdentityExt",0]]},\ -"actix_limitation":{"doc":"Rate limiter using a fixed window counter for arbitrary …","t":"DNRRRRENDNDDNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["Builder","Client","DEFAULT_COOKIE_NAME","DEFAULT_PERIOD_SECS","DEFAULT_REQUEST_LIMIT","DEFAULT_SESSION_KEY","Error","LimitExceeded","Limiter","Other","RateLimiter","Status","Time","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","builder","clone","clone","clone_into","clone_into","cookie_name","count","default","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","into","into","into","into","into","key_by","limit","limit","new_transform","period","remaining","reset_epoch_utc","session_key","source","to_owned","to_owned","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_limitation"],[82,"core::result"],[83,"alloc::string"],[84,"core::convert"],[85,"alloc::borrow"],[86,"core::fmt"],[87,"core::fmt"],[88,"redis::types"],[89,"core::ops::function"],[90,"core::marker"],[91,"core::marker"],[92,"actix_service"],[93,"core::time"],[94,"core::error"],[95,"core::option"],[96,"core::any"]],"d":["Rate limiter builder.","Redis client failed to connect or run a query.","Default cookie name.","Default period (in seconds).","Default request limit.","Default session key.","Failure modes of the rate limiter.","Limit is exceeded for a key.","Rate limiter.","Generic error.","Rate limit middleware.","A report for a given key containing the limit status.","Time conversion failed.","","","","","","","","","","","Finalizes and returns a Limiter.","Construct rate limiter builder with defaults.","","","","","Sets name of cookie to be sent.","Consumes one rate limit unit, returning the status.","","","","","","","","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).","Sets rate limit key derivation function.","Set upper limit.","Returns the maximum number of requests allowed in the …","","Set limit window/period.","Returns how many requests are left in the current period.","Returns a UNIX timestamp in UTC approximately when the …","Sets session key to be used in backend.","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,3,0,0,0,0,0,3,0,3,0,0,3,1,3,10,7,2,1,3,10,7,2,1,2,7,2,7,2,1,2,10,1,3,3,10,7,2,1,3,3,3,10,7,2,1,3,10,7,2,1,1,7,10,1,7,7,1,3,7,2,3,1,3,10,7,2,1,3,10,7,2,1,3,10,7,2,1,3,10,7,2],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[1,[[4,[2,3]]]],[[[6,[5]]],1],[7,7],[2,2],[[]],[[]],[[1,[6,[[9,[8]]]]],1],[[2,[6,[5]]],[[4,[7,3]]]],[[],10],[[1,11],12],[[3,11],12],[[3,11],12],[[10,11],12],[[7,11],12],[[2,11],12],[[]],[13,3],[[]],[14,3],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[1,[0,[15,16,17]]],1],[[1,18],1],[7,18],[[10,[20,[19]]]],[[1,21],1],[7,18],[7,18],[[1,[6,[[9,[8]]]]],1],[3,[[23,[22]]]],[[]],[[]],[[],5],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],24],[[],24],[[],24],[[],24],[[],24],[[]],[[]],[[]],[[]],[[]]],"c":[29,57],"p":[[3,"Builder",0],[3,"Limiter",0],[4,"Error",0],[4,"Result",82],[3,"String",83],[8,"Into",84],[3,"Status",0],[15,"str"],[4,"Cow",85],[3,"RateLimiter",0],[3,"Formatter",86],[6,"Result",86],[3,"ComponentRange",87],[3,"RedisError",88],[8,"Fn",89],[8,"Send",90],[8,"Sync",90],[15,"usize"],[3,"ServiceRequest",91],[8,"Service",92],[3,"Duration",93],[8,"Error",94],[4,"Option",95],[3,"TypeId",96]]},\ -"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,3,1,16,4,3,1,16,4,1,3,3,4,3,3,4,4,3,1,16,4,4,4,3,3,1,16,4,16,1,16,16,16,25,3,3,3,4,3,1,16,4,3,1,16,4,16,3,1,16,4,3,1,16,4],"f":[0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],1],[[[3,[2]]],2],[[[3,[2]]],2],[4,5],[[[3,[[0,[6,2]]]],7],8],[[[3,[[0,[9,2]]]],7],8],[[4,7],8],[[4,7],8],[[]],[[]],[[]],[[]],[10,4],[11,4],[[12,13]],[[]],[[]],[[]],[[]],[[]],[[1,14],1],[[[16,[[0,[2,15]]]],14],[[16,[[0,[2,15]]]]]],[[12,13],[[16,[[0,[2,15]]]]]],[[[17,[[16,[[0,[2,15]]]]]],18],19],[2,[[21,[5,20]]]],[[],22],[[[3,[[0,[2,15]]]],12],5],[[],23],[[],23],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[17,18],19],[[],24],[[],24],[[],24],[[],24],[[]],[[]],[[]],[[]]],"c":[],"p":[[3,"ProtoBufConfig",0],[8,"Message",64],[3,"ProtoBuf",0],[4,"ProtoBufPayloadError",0],[3,"HttpResponse",65],[8,"Debug",66],[3,"Formatter",66],[6,"Result",66],[8,"Display",66],[3,"DecodeError",67],[4,"PayloadError",68],[3,"HttpRequest",69],[4,"Payload",70],[15,"usize"],[8,"Default",71],[3,"ProtoBufMessage",0],[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]]},\ -"actix_redis":{"doc":"Redis integration for actix.","t":"NNDNNENNNNNNNDNNEENNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLOLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","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","equivalent","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"],[98,"core::iter::traits::collect"],[99,"std::io::error"],[100,"actix::actor"],[101,"core::fmt"],[102,"core::fmt"],[103,"alloc::string"],[104,"alloc::alloc"],[105,"alloc::vec"],[106,"alloc::sync"],[107,"core::marker"],[108,"futures_channel::mpsc"],[109,"core::convert"],[110,"core::error"],[111,"core::option"],[112,"actix::address"],[113,"actix::context"],[114,"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,11,0,1,3,1,3,1,11,11,0,3,3,0,0,1,3,1,5,8,11,1,3,5,8,11,1,3,1,3,1,3,1,1,5,8,11,11,1,3,3,5,8,11,11,1,1,1,1,1,1,1,1,3,3,3,1,5,5,5,8,11,1,3,1,0,5,11,3,5,5,1,3,11,3,5,8,11,1,3,5,8,11,1,3,5,8,11,1,3,5,8,11,1,3],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[1,2],1],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[1,1],[3,3],[[]],[[]],[[1,1],4],[[],4],[[5,6],7],[[8,9],10],[[11,9],10],[[11,9],10],[[1,9],[[13,[12]]]],[[3,9],[[13,[12]]]],[[3,9],[[13,[12]]]],[[]],[[]],[3,11],[[]],[14,1],[[]],[15,1],[15,1],[[[18,[16,17]]],1],[[[19,[16]]],1],[20,1],[[[21,[14,17]]],1],[[]],[6,3],[[[23,[22]]],3],[1,[[13,[1,3]]]],[[5,8]],[[5,[13,[1,3]]]],[[]],[[]],[[]],[[]],[[]],[[1,[24,[1]]]],0,[5],[11,[[26,[25]]]],[3,[[26,[25]]]],[[[24,[15]]],[[27,[5]]]],[[5,[28,[5]]]],[[]],[[]],[[],15],[[],15],[[],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[],29],[[],29],[[],29],[[],29],[[],29],[[]],[[]],[[]],[[]],[[]]],"c":[],"p":[[4,"RespValue",0],[8,"IntoIterator",98],[4,"RespError",0],[15,"bool"],[3,"RedisActor",0],[3,"Error",99],[4,"Running",100],[3,"Command",0],[3,"Formatter",101],[6,"Result",101],[4,"Error",0],[3,"Error",101],[4,"Result",102],[15,"str"],[3,"String",103],[15,"u8"],[3,"Global",104],[3,"Vec",105],[15,"slice"],[15,"usize"],[3,"Arc",106],[8,"Send",107],[3,"TrySendError",108],[8,"Into",109],[8,"Error",110],[4,"Option",111],[3,"Addr",112],[3,"Context",113],[3,"TypeId",114]]},\ -"actix_session":{"doc":"Session management for Actix Web.","t":"NNNDIDDDENLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLDNENNDNNEDNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDNENNNDDDDENNDIELLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLKLLLLLLLLLLLL","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","equivalent","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","equivalent","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"],[91,"actix_session::config"],[188,"actix_session::storage"],[325,"cookie::secure::key"],[326,"core::clone"],[327,"alloc::string"],[328,"std::collections::hash::map"],[329,"core::cell"],[330,"actix_http::body::boxed"],[331,"actix_web::response::response"],[332,"core::fmt"],[333,"core::fmt"],[334,"actix_web::request"],[335,"actix_http::payload"],[336,"serde::de"],[337,"core::option"],[338,"core::result"],[339,"core::convert"],[340,"serde::ser"],[341,"actix_web::service"],[342,"actix_service"],[343,"core::error"],[344,"core::any"],[345,"cookie::draft"],[346,"time::duration"],[347,"core::ops::function"],[348,"core::marker"],[349,"core::marker"],[350,"alloc::boxed"],[351,"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":[7,7,7,0,0,0,0,0,0,7,6,4,7,12,15,6,4,7,12,15,6,4,6,4,7,6,4,7,0,7,4,7,7,12,15,7,12,12,15,15,6,4,7,12,12,15,15,4,4,53,4,6,4,7,12,15,6,6,4,4,4,4,12,15,4,0,6,4,7,12,15,6,4,7,12,15,6,4,7,12,15,6,4,7,12,15,6,4,7,12,15,0,31,0,34,34,0,31,35,0,0,35,0,3,31,32,33,34,35,3,31,32,33,34,35,3,31,32,33,34,35,31,32,33,34,35,3,3,3,3,3,3,3,32,33,31,32,33,34,35,3,31,31,31,32,33,34,35,3,31,32,33,34,35,3,33,33,32,32,31,32,33,34,35,3,31,32,33,34,35,3,31,32,33,34,35,3,31,32,33,34,35,3,31,32,33,34,35,0,50,0,50,51,52,0,0,0,0,0,51,52,0,0,0,38,40,39,41,50,51,52,38,46,42,40,39,41,50,51,52,38,46,42,39,41,40,42,39,41,42,42,46,1,40,46,42,38,38,50,50,51,51,52,52,38,40,39,41,50,51,52,38,46,42,40,39,41,50,51,52,38,46,42,1,40,46,42,40,42,1,40,46,42,50,51,52,42,50,51,52,40,39,41,50,51,52,38,38,46,42,40,39,41,50,51,52,38,46,42,40,39,41,50,51,52,38,46,42,1,40,46,42,1,40,46,42,40,39,41,50,51,52,38,46,42],"f":[0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[1,2],[[3,[1]]]],[4],[[[6,[[0,[5,1]]]]],[[6,[[0,[5,1]]]]]],[4,4],[7,7],[[]],[[]],[[]],0,[[],7],[4,[[10,[[9,[8,8]]]]]],[[7,7],11],[[],11],[12,[[14,[13]]]],[15,[[14,[13]]]],[[7,16],17],[[12,16],17],[[12,16],17],[[15,16],17],[[15,16],17],[[]],[[]],[[]],[18,12],[[]],[[]],[18,15],[[19,20]],[[4,21],[[24,[[23,[22]],12]]]],[[],4],[[4,[25,[8]],26],[[24,[15]]]],[[]],[[]],[[]],[[]],[[]],[[1,2],[[6,[1]]]],[[[6,[1]],[28,[27]]]],[4],[[4,21],[[23,[8]]]],[[4,21],[[23,[[24,[22,8]]]]]],[4],[12,[[23,[29]]]],[15,[[23,[29]]]],[4,7],0,[[]],[[]],[[]],[[],8],[[],8],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],30],[[],30],[[],30],[[],30],[[],30],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[3,[1]]],[[6,[1]]]],[31,31],[32,32],[33,33],[34,34],[35,35],[[]],[[]],[[]],[[]],[[]],[[[3,[1]],35],[[3,[1]]]],[[[3,[1]],[23,[8]]],[[3,[1]]]],[[[3,[1]],11],[[3,[1]]]],[[[3,[1]],8],[[3,[1]]]],[[[3,[1]],8],[[3,[1]]]],[[[3,[1]],36],[[3,[1]]]],[[[3,[1]],11],[[3,[1]]]],[[],32],[[],33],[[31,16],17],[[32,16],17],[[33,16],17],[[34,16],17],[[35,16],17],[[]],[32,31],[[]],[33,31],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[3,[1]],[25,[31]]],[[3,[1]]]],[[33,37],33],[[33,34],33],[[32,37],32],[[32,34],32],[[]],[[]],[[]],[[]],[[]],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[38,21],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[39,40],[41,[[24,[42,18]]]],[[[25,[8]]],39],[[[25,[8]]],41],[[39,43],39],[[41,[0,[43,44,45]]],41],[42,42],[[]],[[],46],[38,[[49,[[48,[47]]]]]],[[40,38],[[49,[[48,[47]]]]]],[[46,38],[[49,[[48,[47]]]]]],[[42,38],[[49,[[48,[47]]]]]],[[38,38],11],[[],11],[[50,16],17],[[50,16],17],[[51,16],17],[[51,16],17],[[52,16],17],[[52,16],17],[[38,16],17],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[38,[[49,[[48,[47]]]]]],[[40,38],[[49,[[48,[47]]]]]],[[46,38],[[49,[[48,[47]]]]]],[[42,38],[[49,[[48,[47]]]]]],[[[25,[8]]],40],[[[25,[8]]],[[24,[42,18]]]],[[[9,[8,8]],37],[[49,[[48,[47]]]]]],[[40,[9,[8,8]],37],[[49,[[48,[47]]]]]],[[46,[9,[8,8]],37],[[49,[[48,[47]]]]]],[[42,[9,[8,8]],37],[[49,[[48,[47]]]]]],[50,[[23,[29]]]],[51,[[23,[29]]]],[52,[[23,[29]]]],[[]],[[],8],[[],8],[[],8],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[8,[[24,[38]]]],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[38,[9,[8,8]],37],[[49,[[48,[47]]]]]],[[40,38,[9,[8,8]],37],[[49,[[48,[47]]]]]],[[46,38,[9,[8,8]],37],[[49,[[48,[47]]]]]],[[42,38,[9,[8,8]],37],[[49,[[48,[47]]]]]],[[38,37],[[49,[[48,[47]]]]]],[[40,38,37],[[49,[[48,[47]]]]]],[[46,38,37],[[49,[[48,[47]]]]]],[[42,38,37],[[49,[[48,[47]]]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]]],"c":[],"p":[[8,"SessionStore",188],[3,"Key",325],[3,"SessionMiddlewareBuilder",91],[3,"Session",0],[8,"Clone",326],[3,"SessionMiddleware",0],[4,"SessionStatus",0],[3,"String",327],[3,"HashMap",328],[3,"Ref",329],[15,"bool"],[3,"SessionGetError",0],[3,"BoxBody",330],[3,"HttpResponse",331],[3,"SessionInsertError",0],[3,"Formatter",332],[6,"Result",332],[3,"Error",333],[3,"HttpRequest",334],[4,"Payload",335],[15,"str"],[8,"DeserializeOwned",336],[4,"Option",337],[4,"Result",338],[8,"Into",339],[8,"Serialize",340],[3,"ServiceRequest",341],[8,"Service",342],[8,"Error",343],[3,"TypeId",344],[4,"SessionLifecycle",91],[3,"BrowserSession",91],[3,"PersistentSession",91],[4,"TtlExtensionPolicy",91],[4,"CookieContentSecurity",91],[4,"SameSite",345],[3,"Duration",346],[3,"SessionKey",188],[3,"RedisActorSessionStoreBuilder",188],[3,"RedisActorSessionStore",188],[3,"RedisSessionStoreBuilder",188],[3,"RedisSessionStore",188],[8,"Fn",347],[8,"Send",348],[8,"Sync",348],[3,"CookieSessionStore",188],[8,"Future",349],[3,"Box",350],[3,"Pin",351],[4,"LoadError",188],[4,"SaveError",188],[4,"UpdateError",188],[8,"SessionExt",0]]},\ -"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,"serde::de"],[318,"core::clone"],[319,"serde::de"],[320,"serde::de"],[321,"core::fmt"],[322,"core::fmt"],[323,"std::env"],[324,"toml::de"],[325,"std::io::error"],[326,"core::num::error"],[327,"core::hash"],[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 a BasicSettings 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,4,5,6,7,9,10,8,5,20,0,20,20,20,0,4,6,7,9,0,0,10,0,0,0,5,0,20,20,20,8,5,10,0,0,0,20,39,2,39,2,40,12,20,3,4,5,6,7,8,9,10,11,12,2,14,20,3,4,5,6,7,8,9,10,11,12,2,14,11,12,12,3,4,5,6,7,8,9,10,11,12,2,14,3,4,5,6,7,8,9,10,11,12,2,14,3,4,5,6,7,8,9,10,11,12,2,14,12,12,11,3,4,5,6,7,8,9,10,11,12,2,14,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,12,12,12,2,2,2,14,14,14,20,20,3,4,5,6,7,8,9,10,11,12,2,14,20,20,20,20,20,20,3,4,5,6,7,8,9,10,11,12,2,14,2,2,3,4,5,6,7,8,9,10,11,12,2,14,3,12,20,3,4,5,6,7,8,9,10,11,12,2,14,12,12,12,12,12,2,2,32,3,4,5,6,7,8,9,10,2,3,11,12,20,12,3,4,5,6,7,8,9,10,11,12,2,14,20,20,3,4,5,6,7,8,9,10,11,12,2,14,20,3,4,5,6,7,8,9,10,11,12,2,14,20,3,4,5,6,7,8,9,10,11,12,2,14,20,3,4,5,6,7,8,9,10,11,12,2,14,2,41,41,41,41,41],"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,[[[2,[1]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[3,3],[4,4],[5,5],[6,6],[7,7],[8,8],[9,9],[10,10],[11,11],[12,12],[[[2,[13]]],[[2,[13]]]],[14,14],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[15,[[16,[3]]]],[15,[[16,[4]]]],[15,[[16,[5]]]],[15,[[16,[6]]]],[15,[[16,[7]]]],[15,[[16,[8]]]],[15,[[16,[9]]]],[15,[[16,[10]]]],[15,[[16,[11]]]],[15,[[16,[12]]]],[15,[[16,[[2,[17]]]]]],[15,[[16,[14]]]],0,0,0,[[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,11],18],[[12,12],18],[[[2,[19]],[2,[19]]],18],[[14,14],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[20,21],22],[[20,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,21],22],[[12,21],22],[[[2,[23]],21],22],[[14,21],22],[[]],[24,20],[25,20],[26,20],[27,20],[28,20],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[16,[[2,[1]],20]]]],[29,[[16,[[2,[1]],20]]]],[[3,30]],[[4,30]],[[5,30]],[[6,30]],[[7,30]],[[8,30]],[[9,30]],[[10,30]],[[11,30]],[[12,30]],[[[2,[31]],30]],[[14,30]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,[[32,[33,[29]]],[[16,[20]]]],[[32,[33,[29]]],[[16,[20]]]],[29,[[16,[20]]]],[29,[[16,[3,20]]]],[29,[[16,[4,20]]]],[29,[[16,[5,20]]]],[29,[[16,[6,20]]]],[29,[[16,[7,20]]]],[29,[[16,[8,20]]]],[29,[[16,[9,20]]]],[29,[[16,[10,20]]]],[[[33,[34]]],[[16,[[2,[1]],20]]]],0,0,0,[20,[[36,[35]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],37],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[33,[34]]],[[16,[20]]]],0,0,0,0,0],"c":[],"p":[[8,"DeserializeOwned",317],[3,"BasicSettings",0],[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],[8,"Clone",318],[3,"NoSettings",0],[8,"Deserializer",317],[4,"Result",319],[8,"Deserialize",317],[15,"bool"],[8,"PartialEq",320],[4,"Error",0],[3,"Formatter",321],[6,"Result",321],[8,"Debug",321],[3,"ParseBoolError",322],[4,"VarError",323],[3,"Error",324],[3,"Error",325],[3,"ParseIntError",326],[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]],"a":{"https":[39],"ssl":[39]}},\ -"actix_web_httpauth":{"doc":"HTTP authentication schemes for Actix Web.","t":"AAAIDQAALLLLLLLLLKLLLLLLLLLLLDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDENNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAADNDDNNNEINNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLIDAALLLLLLLLLLLLLLLKLLLLLLLDLLLLLLLLLLLLLLLLLLLLLLLDDENNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLL","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","equivalent","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","equivalent","equivalent","equivalent","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","equivalent","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","equivalent","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","equivalent","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"],[120,"actix_web_httpauth::headers"],[122,"actix_web_httpauth::headers::authorization"],[223,"actix_web_httpauth::headers::www_authenticate"],[250,"actix_web_httpauth::headers::www_authenticate::basic"],[274,"actix_web_httpauth::headers::www_authenticate::bearer"],[318,"actix_web_httpauth::middleware"],[335,"actix_web::response::response"],[336,"core::fmt"],[337,"core::fmt"],[338,"alloc::string"],[339,"core::result"],[340,"core::any"],[341,"alloc::borrow"],[342,"core::convert"],[343,"actix_web::request"],[344,"actix_http::payload"],[345,"core::option"],[346,"core::cmp"],[347,"core::hash"],[348,"core::clone"],[349,"core::cmp"],[350,"core::cmp"],[351,"base64::decode"],[352,"http::header::value"],[353,"core::hash"],[354,"http::header::value"],[355,"actix_http::error"],[356,"core::cmp"],[357,"bytes::bytes"],[358,"core::fmt"],[359,"actix_web::extract"],[360,"actix_web::service"],[361,"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,2,2,2,2,2,2,2,2,2,7,2,2,2,2,2,2,2,2,2,2,2,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,24,24,25,13,24,25,13,24,25,13,24,25,13,13,24,13,13,24,25,13,13,24,25,13,25,13,24,25,13,24,13,24,24,13,24,25,13,13,25,24,25,13,24,25,13,24,25,13,24,25,13,0,0,0,36,0,0,36,36,36,0,0,36,36,30,30,36,30,20,32,36,30,20,32,30,20,32,30,20,32,30,20,32,30,30,20,32,30,20,32,36,36,30,30,20,20,32,32,36,36,36,36,30,30,30,20,32,30,36,30,20,32,30,30,20,32,29,30,20,32,30,20,32,20,36,30,20,32,36,30,20,32,32,36,30,20,32,36,30,20,32,30,30,20,32,36,30,20,32,20,36,30,20,32,0,0,0,0,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,1,48,48,48,48,48,48,48,0,18,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,51,12,51,12,12,12,12,12,51,12,12,12,51,51,51,51,51,12,12,51,12,12,51,12,12,51,51,12,12,51,12,51,12,12,51,12,51,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,[[]],[[]],[[[2,[1]]],1],[[[2,[1]]],3],[[[2,[[0,[4,1]]]],5],6],[[[2,[1]],5],6],[[]],[7,2],[[]],[[]],[1,[[2,[1]]]],[[[2,[1]]],8],[[[2,[1]]],8],[[],9],[[],10],[[],10],[[],11],[[]],[[[2,[12]],13],[[2,[12]]]],[[[2,[12]],[16,[[15,[14]]]]],[[2,[12]]]],[[[2,[12]],[16,[[15,[14]]]]],[[2,[12]]]],0,0,[17,18],[[]],[[]],[[]],[[]],[17,17],[19,19],[[]],[[]],[[],17],[[17,5],6],[[19,5],6],[[]],[20,19],[[]],[[21,22]],[[]],[[]],[17],[19,[[23,[14]]]],[[17,[16,[[15,[14]]]]],17],[[]],[[]],[[],10],[[],10],[[],10],[[],10],[[],11],[[],11],[19,14],[[]],[[]],0,0,0,0,0,0,[24,12],[[]],[[]],[[]],[[]],[[]],[[]],[24,24],[25,25],[13,13],[[]],[[]],[[]],[[13,13],26],[[],24],[[13,13],27],[[],27],[[24,5],6],[[25,5],6],[[13,5],6],[[13,5],6],[[]],[[]],[[]],[[21,22]],[[13,28]],[[]],[[]],[[]],[24],[[13,13],[[23,[26]]]],[[24,[16,[[15,[14]]]]],24],[[24,[16,[[15,[14]]]]],24],[13,8],[[]],[[]],[[]],[[],9],[25,14],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],11],[[],11],[[],11],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,[[[30,[29]]],29],[[[30,[29]]],29],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[30,[[0,[31,29]]]]],[[30,[[0,[31,29]]]]]],[20,20],[32,32],[[]],[[]],[[]],[[[30,[[0,[33,29]]]],[30,[[0,[33,29]]]]],26],[[20,20],26],[[32,32],26],[[],[[30,[[0,[34,29]]]]]],[[[30,[[0,[35,29]]]],[30,[[0,[35,29]]]]],27],[[20,20],27],[[32,32],27],[[],27],[[],27],[[],27],[[36,5],6],[[36,5],6],[[[30,[29]],5],6],[[[30,[[0,[4,29]]]],5],6],[[20,5],6],[[20,5],6],[[32,5],6],[[32,5],6],[37,36],[38,36],[39,36],[[]],[40],[29,[[30,[29]]]],[[]],[[]],[[]],[[[30,[[0,[41,29]]]],28]],[[]],[[]],[[]],[[]],[[[30,[29]]],29],[[],42],[[[16,[[15,[14]]]],[23,[[16,[[15,[14]]]]]]],20],[[[16,[[15,[14]]]]],32],[43,[[10,[36]]]],[44,[[10,[[30,[29]],45]]]],[43,[[10,[20,36]]]],[43,[[10,[32,36]]]],[[[30,[[0,[46,29]]]],[30,[[0,[46,29]]]]],[[23,[26]]]],[[20,20],[[23,[26]]]],[[32,32],[[23,[26]]]],[20,[[23,[14]]]],[36,[[23,[47]]]],[[]],[[]],[[]],[[],9],[[],9],[[],9],[[],9],[32,14],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[[30,[29]]],[[10,[43]]]],[20,[[10,[43]]]],[32,[[10,[43]]]],[[],11],[[],11],[[],11],[[],11],[20,14],[[]],[[]],[[]],[[]],0,0,0,0,[[]],[[]],[[[48,[[0,[31,1]]]]],[[48,[[0,[31,1]]]]]],[[]],[[[48,[[0,[33,1]]]],[48,[[0,[33,1]]]]],26],[[],[[48,[[0,[34,1]]]]]],[[[48,[[0,[35,1]]]],[48,[[0,[35,1]]]]],27],[[],27],[[[48,[[0,[4,1]]]],5],6],[[]],[[[48,[[0,[41,1]]]],28]],[[]],[[],42],[44,[[10,[[48,[1]],45]]]],[[[48,[[0,[46,1]]]],[48,[[0,[46,1]]]]],[[23,[26]]]],[[],49],[[]],[[],10],[[],10],[[],10],[[[48,[1]]],[[10,[43]]]],[[],11],[[]],0,[[]],[[]],[18,18],[[]],[[18,18],26],[[],18],[[18,18],27],[[],27],[[18,5],[[10,[50]]]],[[18,5],6],[[]],[[18,28]],[[]],[[],18],[[18,18],[[23,[26]]]],[[]],[[],9],[[],10],[[],10],[18,[[10,[43]]]],[[],11],[[]],[[[16,[[15,[14]]]]],18],0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[],51],[12,12],[[]],[[12,12],26],[[],51],[[],12],[[12,12],27],[[],27],[[51,13],51],[[51,[16,[[15,[14]]]]],51],[[51,[16,[[15,[14]]]]],51],[51,12],[[51,5],6],[[12,5],6],[[12,5],[[10,[50]]]],[[]],[[]],[[12,28]],[[]],[[]],[[12,12],[[23,[26]]]],[[51,[16,[[15,[14]]]]],51],[[51,[16,[[15,[14]]]]],51],[[]],[[],9],[[],10],[[],10],[[],10],[[],10],[12,[[10,[43]]]],[[],11],[[],11],[[]],[[]],0,[52,[[53,[19,52]]]],[52,[[53,[25,52]]]],[[]],[[]],[[[53,[[0,[54,31]],31]]],[[53,[[0,[54,31]],31]]]],[[]],[[[53,[[0,[54,4]],4]],5],6],[[]],[[]],[[[53,[54,52]],[56,[55]]]],[[]],[[],10],[[],10],[[],11],[[]],[52,[[53,[54,52]]]]],"c":[],"p":[[8,"Challenge",223],[3,"AuthenticationError",3],[3,"HttpResponse",335],[8,"Debug",336],[3,"Formatter",336],[6,"Result",336],[8,"AuthExtractorConfig",3],[3,"StatusCode",337],[3,"String",338],[4,"Result",339],[3,"TypeId",340],[3,"Bearer",274],[4,"Error",63],[15,"str"],[4,"Cow",341],[8,"Into",342],[3,"Config",29],[3,"Basic",250],[3,"BasicAuth",29],[3,"Basic",122],[3,"HttpRequest",343],[4,"Payload",344],[4,"Option",345],[3,"Config",63],[3,"BearerAuth",63],[4,"Ordering",346],[15,"bool"],[8,"Hasher",347],[8,"Scheme",122],[3,"Authorization",122],[8,"Clone",348],[3,"Bearer",122],[8,"Ord",346],[8,"Default",349],[8,"PartialEq",346],[4,"ParseError",122],[3,"Utf8Error",350],[4,"DecodeError",351],[3,"ToStrError",352],[15,"never"],[8,"Hash",347],[3,"HeaderName",353],[3,"HeaderValue",352],[8,"HttpMessage",354],[4,"ParseError",355],[8,"PartialOrd",346],[8,"Error",356],[3,"WwwAuthenticate",223],[3,"Bytes",357],[3,"Error",336],[3,"BearerBuilder",274],[8,"Fn",358],[3,"HttpAuthentication",318],[8,"FromRequest",359],[3,"ServiceRequest",360],[8,"Service",361]]}\ +"actix_identity":{"doc":"Identity management for Actix Web.","t":"DIDLLLLLLLALALLLKLLLLLLLLLLLLLLLNDENLLLLLLLLLLLLLLLLLLLLLLLLLLLLEDDNDNDNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["Identity","IdentityExt","IdentityMiddleware","borrow","borrow","borrow_mut","borrow_mut","builder","clone","clone_into","config","default","error","from","from","from_request","get_identity","id","into","into","login","logout","new_transform","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","DeleteIdentityKeys","IdentityMiddlewareBuilder","LogoutBehaviour","PurgeSession","borrow","borrow","borrow_mut","borrow_mut","build","clone","clone","clone_into","clone_into","fmt","fmt","from","from","into","into","login_deadline","logout_behaviour","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","visit_deadline","vzip","vzip","GetIdentityError","LoginError","LostIdentityError","LostIdentityError","MissingIdentityError","MissingIdentityError","SessionExpiryError","SessionExpiryError","SessionGetError","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","into","into","into","into","into","source","source","status_code","status_code","to_string","to_string","to_string","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_identity"],[32,"actix_identity::config"],[64,"actix_identity::error"],[137,"actix_web::request"],[138,"actix_http::payload"],[139,"core::result"],[140,"alloc::string"],[141,"actix_http::extensions"],[142,"actix_web::service"],[143,"actix_service"],[144,"core::any"],[145,"core::fmt"],[146,"core::fmt"],[147,"core::option"],[148,"actix_session::session"],[149,"actix_session::session"],[150,"http::status"]],"d":["A verified user identity. It can be used as a request …","Helper trait to retrieve an Identity instance from various …","Identity management middleware.","","","","","A fluent API to configure IdentityMiddleware.","","","Configuration options to tune the behaviour of …","","Failure modes of identity operations.","Returns the argument unchanged.","Returns the argument unchanged.","","Retrieve the identity attached to the current session, if …","Return the user id associated to the current session.","Calls U::from(self).","Calls U::from(self).","Attach a valid user identity to the current session.","Remove the user identity from the current session.","","","","","","","","","","","When Identity::logout is called, remove the identity …","A fluent builder to construct an IdentityMiddleware …","LogoutBehaviour controls what actions are going to be …","When Identity::logout is called, purge the current session.","","","","","Finalises the builder and returns an IdentityMiddleware …","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Automatically logs out users after a certain amount of …","Determines how Identity::logout affects the current …","","","","","","","","","Automatically logs out users after a certain amount of …","","","Errors that can occur while retrieving an identity.","Error that can occur during login attempts.","The identity information has been lost.","Identity info was lost after being validated.","There is no identity information attached to the current …","No identity is found in a session.","Error encountered when working with a session that has …","The session has expired.","Failed to accessing the session store.","","","","","","","","","","","","","","","","","","","","","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).","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,0,5,2,5,2,2,2,2,0,2,0,5,2,5,26,5,5,2,5,5,2,2,5,2,5,2,5,2,5,2,14,0,0,14,14,1,14,1,1,14,1,14,1,14,1,14,1,14,1,1,1,14,1,14,1,14,1,14,1,1,14,1,0,0,0,6,0,6,0,6,6,10,19,20,21,6,10,19,20,21,6,10,10,19,19,20,20,21,21,6,6,10,10,19,20,21,6,6,6,6,6,10,19,20,21,6,10,6,10,6,10,19,20,21,6,10,19,20,21,6,10,19,20,21,6,10,19,20,21,6,10,19,20,21,6],"f":[0,0,0,[[]],[[]],[[]],[[]],[[],1],[2,2],[[]],0,[[],2],0,[[]],[[]],[[3,4]],[[],[[7,[5,6]]]],[5,[[7,[8,6]]]],[[]],[[]],[[9,8],[[7,[5,10]]]],[5],[[2,[12,[11]]]],[[]],[[],7],[[],7],[[],7],[[],7],[[],13],[[],13],[[]],[[]],0,0,0,0,[[]],[[]],[[]],[[]],[1,2],[14,14],[1,1],[[]],[[]],[[14,15],16],[[1,15],16],[[]],[[]],[[]],[[]],[[1,[18,[17]]],1],[[1,14],1],[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],13],[[],13],[[1,[18,[17]]],1],[[]],[[]],0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[10,15],16],[[10,15],16],[[19,15],16],[[19,15],16],[[20,15],16],[[20,15],16],[[21,15],16],[[21,15],16],[[6,15],16],[[6,15],16],[[]],[22,10],[[]],[[]],[[]],[19,6],[[]],[21,6],[20,6],[23,6],[[]],[[]],[[]],[[]],[[]],[10,[[18,[24]]]],[6,[[18,[24]]]],[10,25],[6,25],[[],8],[[],8],[[],8],[[],8],[[],8],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],13],[[],13],[[],13],[[],13],[[],13],[[]],[[]],[[]],[[]],[[]]],"c":[],"p":[[3,"IdentityMiddlewareBuilder",32],[3,"IdentityMiddleware",0],[3,"HttpRequest",137],[4,"Payload",138],[3,"Identity",0],[4,"GetIdentityError",64],[4,"Result",139],[3,"String",140],[3,"Extensions",141],[3,"LoginError",64],[3,"ServiceRequest",142],[8,"Service",143],[3,"TypeId",144],[4,"LogoutBehaviour",32],[3,"Formatter",145],[6,"Result",145],[3,"Duration",146],[4,"Option",147],[3,"SessionExpiryError",64],[3,"LostIdentityError",64],[3,"MissingIdentityError",64],[3,"SessionInsertError",148],[3,"SessionGetError",148],[8,"Error",149],[3,"StatusCode",150],[8,"IdentityExt",0]]},\ +"actix_limitation":{"doc":"Rate limiter using a fixed window counter for arbitrary …","t":"DNRRRRENDNDDNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["Builder","Client","DEFAULT_COOKIE_NAME","DEFAULT_PERIOD_SECS","DEFAULT_REQUEST_LIMIT","DEFAULT_SESSION_KEY","Error","LimitExceeded","Limiter","Other","RateLimiter","Status","Time","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","builder","clone","clone","clone_into","clone_into","cookie_name","count","default","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","into","into","into","into","into","key_by","limit","limit","new_transform","period","remaining","reset_epoch_utc","session_key","source","to_owned","to_owned","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_limitation"],[82,"core::result"],[83,"alloc::string"],[84,"core::convert"],[85,"alloc::borrow"],[86,"core::fmt"],[87,"core::fmt"],[88,"time::error::component_range"],[89,"core::ops::function"],[90,"core::marker"],[91,"core::marker"],[92,"actix_service"],[93,"core::time"],[94,"core::error"],[95,"core::option"],[96,"core::any"]],"d":["Rate limiter builder.","Redis client failed to connect or run a query.","Default cookie name.","Default period (in seconds).","Default request limit.","Default session key.","Failure modes of the rate limiter.","Limit is exceeded for a key.","Rate limiter.","Generic error.","Rate limit middleware.","A report for a given key containing the limit status.","Time conversion failed.","","","","","","","","","","","Finalizes and returns a Limiter.","Construct rate limiter builder with defaults.","","","","","Sets name of cookie to be sent.","Consumes one rate limit unit, returning the status.","","","","","","","","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).","Sets rate limit key derivation function.","Set upper limit.","Returns the maximum number of requests allowed in the …","","Set limit window/period.","Returns how many requests are left in the current period.","Returns a UNIX timestamp in UTC approximately when the …","Sets session key to be used in backend.","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,3,0,0,0,0,0,3,0,3,0,0,3,1,3,10,7,2,1,3,10,7,2,1,2,7,2,7,2,1,2,10,1,3,3,10,7,2,1,3,3,3,10,7,2,1,3,10,7,2,1,1,7,10,1,7,7,1,3,7,2,3,1,3,10,7,2,1,3,10,7,2,1,3,10,7,2,1,3,10,7,2],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[1,[[4,[2,3]]]],[[[6,[5]]],1],[7,7],[2,2],[[]],[[]],[[1,[6,[[9,[8]]]]],1],[[2,[6,[5]]],[[4,[7,3]]]],[[],10],[[1,11],12],[[3,11],12],[[3,11],12],[[10,11],12],[[7,11],12],[[2,11],12],[[]],[13,3],[[]],[14,3],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[1,[0,[15,16,17]]],1],[[1,18],1],[7,18],[[10,[20,[19]]]],[[1,21],1],[7,18],[7,18],[[1,[6,[[9,[8]]]]],1],[3,[[23,[22]]]],[[]],[[]],[[],5],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],24],[[],24],[[],24],[[],24],[[],24],[[]],[[]],[[]],[[]],[[]]],"c":[29,57],"p":[[3,"Builder",0],[3,"Limiter",0],[4,"Error",0],[4,"Result",82],[3,"String",83],[8,"Into",84],[3,"Status",0],[15,"str"],[4,"Cow",85],[3,"RateLimiter",0],[3,"Formatter",86],[6,"Result",86],[3,"RedisError",87],[3,"ComponentRange",88],[8,"Fn",89],[8,"Send",90],[8,"Sync",90],[15,"usize"],[3,"ServiceRequest",91],[8,"Service",92],[3,"Duration",93],[8,"Error",94],[4,"Option",95],[3,"TypeId",96]]},\ +"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,"prost::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,3,1,16,4,3,1,16,4,1,3,3,4,3,3,4,4,3,1,16,4,4,4,3,3,1,16,4,16,1,16,16,16,25,3,3,3,4,3,1,16,4,3,1,16,4,16,3,1,16,4,3,1,16,4],"f":[0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],1],[[[3,[2]]],2],[[[3,[2]]],2],[4,5],[[[3,[[0,[6,2]]]],7],8],[[[3,[[0,[9,2]]]],7],8],[[4,7],8],[[4,7],8],[[]],[[]],[[]],[10,4],[[]],[11,4],[[12,13]],[[]],[[]],[[]],[[]],[[]],[[1,14],1],[[[16,[[0,[2,15]]]],14],[[16,[[0,[2,15]]]]]],[[12,13],[[16,[[0,[2,15]]]]]],[[[17,[[16,[[0,[2,15]]]]]],18],19],[2,[[21,[5,20]]]],[[],22],[[[3,[[0,[2,15]]]],12],5],[[],23],[[],23],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[],21],[[17,18],19],[[],24],[[],24],[[],24],[[],24],[[]],[[]],[[]],[[]]],"c":[],"p":[[3,"ProtoBufConfig",0],[8,"Message",64],[3,"ProtoBuf",0],[4,"ProtoBufPayloadError",0],[3,"HttpResponse",65],[8,"Debug",66],[3,"Formatter",66],[6,"Result",66],[8,"Display",66],[4,"PayloadError",67],[3,"DecodeError",68],[3,"HttpRequest",69],[4,"Payload",70],[15,"usize"],[8,"Default",71],[3,"ProtoBufMessage",0],[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]]},\ +"actix_redis":{"doc":"Redis integration for actix.","t":"NNDNNENNNNNNNDNNEENNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLOLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","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","equivalent","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"],[98,"core::iter::traits::collect"],[99,"std::io::error"],[100,"actix::actor"],[101,"core::fmt"],[102,"core::fmt"],[103,"alloc::string"],[104,"alloc::alloc"],[105,"alloc::sync"],[106,"alloc::vec"],[107,"core::marker"],[108,"futures_channel::mpsc"],[109,"core::convert"],[110,"core::error"],[111,"core::option"],[112,"actix::address"],[113,"actix::context"],[114,"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,11,0,1,3,1,3,1,11,11,0,3,3,0,0,1,3,1,5,8,11,1,3,5,8,11,1,3,1,3,1,3,1,1,5,8,11,11,1,3,3,5,8,11,11,1,1,1,1,1,1,1,1,3,3,3,1,5,5,5,8,11,1,3,1,0,5,11,3,5,5,1,3,11,3,5,8,11,1,3,5,8,11,1,3,5,8,11,1,3,5,8,11,1,3],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[1,2],1],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[1,1],[3,3],[[]],[[]],[[1,1],4],[[],4],[[5,6],7],[[8,9],10],[[11,9],10],[[11,9],10],[[1,9],[[13,[12]]]],[[3,9],[[13,[12]]]],[[3,9],[[13,[12]]]],[[]],[[]],[[]],[3,11],[14,1],[[[16,[15]]],1],[17,1],[[[19,[17,18]]],1],[[[20,[15,18]]],1],[14,1],[21,1],[[]],[[]],[[[23,[22]]],3],[6,3],[1,[[13,[1,3]]]],[[5,8]],[[5,[13,[1,3]]]],[[]],[[]],[[]],[[]],[[]],[[1,[24,[1]]]],0,[5],[11,[[26,[25]]]],[3,[[26,[25]]]],[[[24,[14]]],[[27,[5]]]],[[5,[28,[5]]]],[[]],[[]],[[],14],[[],14],[[],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[],29],[[],29],[[],29],[[],29],[[],29],[[]],[[]],[[]],[[]],[[]]],"c":[],"p":[[4,"RespValue",0],[8,"IntoIterator",98],[4,"RespError",0],[15,"bool"],[3,"RedisActor",0],[3,"Error",99],[4,"Running",100],[3,"Command",0],[3,"Formatter",101],[6,"Result",101],[4,"Error",0],[3,"Error",101],[4,"Result",102],[3,"String",103],[15,"u8"],[15,"slice"],[15,"str"],[3,"Global",104],[3,"Arc",105],[3,"Vec",106],[15,"usize"],[8,"Send",107],[3,"TrySendError",108],[8,"Into",109],[8,"Error",110],[4,"Option",111],[3,"Addr",112],[3,"Context",113],[3,"TypeId",114]]},\ +"actix_session":{"doc":"Session management for Actix Web.","t":"NNNDIDDDENLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLDNENNDNNEDNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDNENNNDDDDENNDIELLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLKLLLLLLLLLLLL","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","equivalent","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","equivalent","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"],[91,"actix_session::config"],[188,"actix_session::storage"],[325,"cookie::secure::key"],[326,"core::clone"],[327,"alloc::string"],[328,"std::collections::hash::map"],[329,"core::cell"],[330,"actix_http::body::boxed"],[331,"actix_web::response::response"],[332,"core::fmt"],[333,"core::fmt"],[334,"actix_web::request"],[335,"actix_http::payload"],[336,"serde::de"],[337,"core::option"],[338,"core::result"],[339,"core::convert"],[340,"serde::ser"],[341,"actix_web::service"],[342,"actix_service"],[343,"core::error"],[344,"core::any"],[345,"cookie::draft"],[346,"time::duration"],[347,"core::ops::function"],[348,"core::marker"],[349,"core::marker"],[350,"alloc::boxed"],[351,"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":[7,7,7,0,0,0,0,0,0,7,6,4,7,12,15,6,4,7,12,15,6,4,6,4,7,6,4,7,0,7,4,7,7,12,15,7,12,12,15,15,6,4,7,12,12,15,15,4,4,53,4,6,4,7,12,15,6,6,4,4,4,4,12,15,4,0,6,4,7,12,15,6,4,7,12,15,6,4,7,12,15,6,4,7,12,15,6,4,7,12,15,0,31,0,34,34,0,31,35,0,0,35,0,3,31,32,33,34,35,3,31,32,33,34,35,3,31,32,33,34,35,31,32,33,34,35,3,3,3,3,3,3,3,32,33,31,32,33,34,35,3,31,31,31,32,33,34,35,3,31,32,33,34,35,3,33,33,32,32,31,32,33,34,35,3,31,32,33,34,35,3,31,32,33,34,35,3,31,32,33,34,35,3,31,32,33,34,35,0,50,0,50,51,52,0,0,0,0,0,51,52,0,0,0,38,40,39,41,50,51,52,38,46,42,40,39,41,50,51,52,38,46,42,39,41,40,42,39,41,42,42,46,1,40,46,42,38,38,50,50,51,51,52,52,38,40,39,41,50,51,52,38,46,42,40,39,41,50,51,52,38,46,42,1,40,46,42,40,42,1,40,46,42,50,51,52,42,50,51,52,40,39,41,50,51,52,38,38,46,42,40,39,41,50,51,52,38,46,42,40,39,41,50,51,52,38,46,42,1,40,46,42,1,40,46,42,40,39,41,50,51,52,38,46,42],"f":[0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[1,2],[[3,[1]]]],[4],[[[6,[[0,[5,1]]]]],[[6,[[0,[5,1]]]]]],[4,4],[7,7],[[]],[[]],[[]],0,[[],7],[4,[[10,[[9,[8,8]]]]]],[[7,7],11],[[],11],[12,[[14,[13]]]],[15,[[14,[13]]]],[[7,16],17],[[12,16],17],[[12,16],17],[[15,16],17],[[15,16],17],[[]],[[]],[[]],[18,12],[[]],[[]],[18,15],[[19,20]],[[4,21],[[24,[[23,[22]],12]]]],[[],4],[[4,[25,[8]],26],[[24,[15]]]],[[]],[[]],[[]],[[]],[[]],[[1,2],[[6,[1]]]],[[[6,[1]],[28,[27]]]],[4],[[4,21],[[23,[8]]]],[[4,21],[[23,[[24,[22,8]]]]]],[4],[12,[[23,[29]]]],[15,[[23,[29]]]],[4,7],0,[[]],[[]],[[]],[[],8],[[],8],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],30],[[],30],[[],30],[[],30],[[],30],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[3,[1]]],[[6,[1]]]],[31,31],[32,32],[33,33],[34,34],[35,35],[[]],[[]],[[]],[[]],[[]],[[[3,[1]],35],[[3,[1]]]],[[[3,[1]],[23,[8]]],[[3,[1]]]],[[[3,[1]],11],[[3,[1]]]],[[[3,[1]],8],[[3,[1]]]],[[[3,[1]],8],[[3,[1]]]],[[[3,[1]],36],[[3,[1]]]],[[[3,[1]],11],[[3,[1]]]],[[],32],[[],33],[[31,16],17],[[32,16],17],[[33,16],17],[[34,16],17],[[35,16],17],[[]],[32,31],[[]],[33,31],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[3,[1]],[25,[31]]],[[3,[1]]]],[[33,37],33],[[33,34],33],[[32,37],32],[[32,34],32],[[]],[[]],[[]],[[]],[[]],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[38,21],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[39,40],[41,[[24,[42,18]]]],[[[25,[8]]],39],[[[25,[8]]],41],[[39,43],39],[[41,[0,[43,44,45]]],41],[42,42],[[]],[[],46],[38,[[49,[[48,[47]]]]]],[[40,38],[[49,[[48,[47]]]]]],[[46,38],[[49,[[48,[47]]]]]],[[42,38],[[49,[[48,[47]]]]]],[[38,38],11],[[],11],[[50,16],17],[[50,16],17],[[51,16],17],[[51,16],17],[[52,16],17],[[52,16],17],[[38,16],17],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[38,[[49,[[48,[47]]]]]],[[40,38],[[49,[[48,[47]]]]]],[[46,38],[[49,[[48,[47]]]]]],[[42,38],[[49,[[48,[47]]]]]],[[[25,[8]]],40],[[[25,[8]]],[[24,[42,18]]]],[[[9,[8,8]],37],[[49,[[48,[47]]]]]],[[40,[9,[8,8]],37],[[49,[[48,[47]]]]]],[[46,[9,[8,8]],37],[[49,[[48,[47]]]]]],[[42,[9,[8,8]],37],[[49,[[48,[47]]]]]],[50,[[23,[29]]]],[51,[[23,[29]]]],[52,[[23,[29]]]],[[]],[[],8],[[],8],[[],8],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[8,[[24,[38]]]],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[38,[9,[8,8]],37],[[49,[[48,[47]]]]]],[[40,38,[9,[8,8]],37],[[49,[[48,[47]]]]]],[[46,38,[9,[8,8]],37],[[49,[[48,[47]]]]]],[[42,38,[9,[8,8]],37],[[49,[[48,[47]]]]]],[[38,37],[[49,[[48,[47]]]]]],[[40,38,37],[[49,[[48,[47]]]]]],[[46,38,37],[[49,[[48,[47]]]]]],[[42,38,37],[[49,[[48,[47]]]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]]],"c":[],"p":[[8,"SessionStore",188],[3,"Key",325],[3,"SessionMiddlewareBuilder",91],[3,"Session",0],[8,"Clone",326],[3,"SessionMiddleware",0],[4,"SessionStatus",0],[3,"String",327],[3,"HashMap",328],[3,"Ref",329],[15,"bool"],[3,"SessionGetError",0],[3,"BoxBody",330],[3,"HttpResponse",331],[3,"SessionInsertError",0],[3,"Formatter",332],[6,"Result",332],[3,"Error",333],[3,"HttpRequest",334],[4,"Payload",335],[15,"str"],[8,"DeserializeOwned",336],[4,"Option",337],[4,"Result",338],[8,"Into",339],[8,"Serialize",340],[3,"ServiceRequest",341],[8,"Service",342],[8,"Error",343],[3,"TypeId",344],[4,"SessionLifecycle",91],[3,"BrowserSession",91],[3,"PersistentSession",91],[4,"TtlExtensionPolicy",91],[4,"CookieContentSecurity",91],[4,"SameSite",345],[3,"Duration",346],[3,"SessionKey",188],[3,"RedisActorSessionStoreBuilder",188],[3,"RedisActorSessionStore",188],[3,"RedisSessionStoreBuilder",188],[3,"RedisSessionStore",188],[8,"Fn",347],[8,"Send",348],[8,"Sync",348],[3,"CookieSessionStore",188],[8,"Future",349],[3,"Box",350],[3,"Pin",351],[4,"LoadError",188],[4,"SaveError",188],[4,"UpdateError",188],[8,"SessionExt",0]]},\ +"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,"serde::de"],[318,"core::clone"],[319,"serde::de"],[320,"serde::de"],[321,"core::fmt"],[322,"core::fmt"],[323,"core::num::error"],[324,"std::io::error"],[325,"toml::de"],[326,"core::str::error"],[327,"core::hash"],[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 a BasicSettings 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,4,5,6,7,9,10,8,5,20,0,20,20,20,0,4,6,7,9,0,0,10,0,0,0,5,0,20,20,20,8,5,10,0,0,0,20,39,2,39,2,40,12,20,3,4,5,6,7,8,9,10,11,12,2,14,20,3,4,5,6,7,8,9,10,11,12,2,14,11,12,12,3,4,5,6,7,8,9,10,11,12,2,14,3,4,5,6,7,8,9,10,11,12,2,14,3,4,5,6,7,8,9,10,11,12,2,14,12,12,11,3,4,5,6,7,8,9,10,11,12,2,14,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,12,12,12,2,2,2,14,14,14,20,20,3,4,5,6,7,8,9,10,11,12,2,14,20,20,20,20,20,20,3,4,5,6,7,8,9,10,11,12,2,14,2,2,3,4,5,6,7,8,9,10,11,12,2,14,3,12,20,3,4,5,6,7,8,9,10,11,12,2,14,12,12,12,12,12,2,2,32,3,4,5,6,7,8,9,10,2,3,11,12,20,12,3,4,5,6,7,8,9,10,11,12,2,14,20,20,3,4,5,6,7,8,9,10,11,12,2,14,20,3,4,5,6,7,8,9,10,11,12,2,14,20,3,4,5,6,7,8,9,10,11,12,2,14,20,3,4,5,6,7,8,9,10,11,12,2,14,2,41,41,41,41,41],"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,[[[2,[1]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[3,3],[4,4],[5,5],[6,6],[7,7],[8,8],[9,9],[10,10],[11,11],[12,12],[[[2,[13]]],[[2,[13]]]],[14,14],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[15,[[16,[3]]]],[15,[[16,[4]]]],[15,[[16,[5]]]],[15,[[16,[6]]]],[15,[[16,[7]]]],[15,[[16,[8]]]],[15,[[16,[9]]]],[15,[[16,[10]]]],[15,[[16,[11]]]],[15,[[16,[12]]]],[15,[[16,[[2,[17]]]]]],[15,[[16,[14]]]],0,0,0,[[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,11],18],[[12,12],18],[[[2,[19]],[2,[19]]],18],[[14,14],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[20,21],22],[[20,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,21],22],[[12,21],22],[[[2,[23]],21],22],[[14,21],22],[24,20],[[]],[25,20],[26,20],[27,20],[28,20],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[16,[[2,[1]],20]]]],[29,[[16,[[2,[1]],20]]]],[[3,30]],[[4,30]],[[5,30]],[[6,30]],[[7,30]],[[8,30]],[[9,30]],[[10,30]],[[11,30]],[[12,30]],[[[2,[31]],30]],[[14,30]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,[[32,[33,[29]]],[[16,[20]]]],[[32,[33,[29]]],[[16,[20]]]],[29,[[16,[20]]]],[29,[[16,[3,20]]]],[29,[[16,[4,20]]]],[29,[[16,[5,20]]]],[29,[[16,[6,20]]]],[29,[[16,[7,20]]]],[29,[[16,[8,20]]]],[29,[[16,[9,20]]]],[29,[[16,[10,20]]]],[[[33,[34]]],[[16,[[2,[1]],20]]]],0,0,0,[20,[[36,[35]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],37],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[],38],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[33,[34]]],[[16,[20]]]],0,0,0,0,0],"c":[],"p":[[8,"DeserializeOwned",317],[3,"BasicSettings",0],[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],[8,"Clone",318],[3,"NoSettings",0],[8,"Deserializer",317],[4,"Result",319],[8,"Deserialize",317],[15,"bool"],[8,"PartialEq",320],[4,"Error",0],[3,"Formatter",321],[6,"Result",321],[8,"Debug",321],[4,"VarError",322],[3,"ParseIntError",323],[3,"Error",324],[3,"Error",325],[3,"ParseBoolError",326],[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]],"a":{"https":[39],"ssl":[39]}},\ +"actix_web_httpauth":{"doc":"HTTP authentication schemes for Actix Web.","t":"AAAIDQAALLLLLLLLLKLLLLLLLLLLLDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDENNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAADNDDNNNEINNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLIDAALLLLLLLLLLLLLLLKLLLLLLLDLLLLLLLLLLLLLLLLLLLLLLLDDENNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLL","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","equivalent","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","equivalent","equivalent","equivalent","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","equivalent","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","equivalent","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","equivalent","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"],[120,"actix_web_httpauth::headers"],[122,"actix_web_httpauth::headers::authorization"],[223,"actix_web_httpauth::headers::www_authenticate"],[250,"actix_web_httpauth::headers::www_authenticate::basic"],[274,"actix_web_httpauth::headers::www_authenticate::bearer"],[318,"actix_web_httpauth::middleware"],[335,"actix_web::response::response"],[336,"core::fmt"],[337,"core::fmt"],[338,"alloc::string"],[339,"core::result"],[340,"core::any"],[341,"alloc::borrow"],[342,"core::convert"],[343,"actix_web::request"],[344,"actix_http::payload"],[345,"core::option"],[346,"core::cmp"],[347,"core::hash"],[348,"core::clone"],[349,"core::cmp"],[350,"core::cmp"],[351,"base64::decode"],[352,"core::str::error"],[353,"core::hash"],[354,"http::header::value"],[355,"actix_http::error"],[356,"core::cmp"],[357,"bytes::bytes"],[358,"core::fmt"],[359,"actix_web::extract"],[360,"actix_web::service"],[361,"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,2,2,2,2,2,2,2,2,2,7,2,2,2,2,2,2,2,2,2,2,2,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,24,24,25,13,24,25,13,24,25,13,24,25,13,13,24,13,13,24,25,13,13,24,25,13,25,13,24,25,13,24,13,24,24,13,24,25,13,13,25,24,25,13,24,25,13,24,25,13,24,25,13,0,0,0,36,0,0,36,36,36,0,0,36,36,30,30,36,30,20,32,36,30,20,32,30,20,32,30,20,32,30,20,32,30,30,20,32,30,20,32,36,36,30,30,20,20,32,32,36,36,36,36,30,30,30,20,32,30,36,30,20,32,30,30,20,32,29,30,20,32,30,20,32,20,36,30,20,32,36,30,20,32,32,36,30,20,32,36,30,20,32,30,30,20,32,36,30,20,32,20,36,30,20,32,0,0,0,0,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,1,48,48,48,48,48,48,48,0,18,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,51,12,51,12,12,12,12,12,51,12,12,12,51,51,51,51,51,12,12,51,12,12,51,12,12,51,51,12,12,51,12,51,12,12,51,12,51,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,[[]],[[]],[[[2,[1]]],1],[[[2,[1]]],3],[[[2,[[0,[4,1]]]],5],6],[[[2,[1]],5],6],[[]],[7,2],[[]],[[]],[1,[[2,[1]]]],[[[2,[1]]],8],[[[2,[1]]],8],[[],9],[[],10],[[],10],[[],11],[[]],[[[2,[12]],13],[[2,[12]]]],[[[2,[12]],[16,[[15,[14]]]]],[[2,[12]]]],[[[2,[12]],[16,[[15,[14]]]]],[[2,[12]]]],0,0,[17,18],[[]],[[]],[[]],[[]],[17,17],[19,19],[[]],[[]],[[],17],[[17,5],6],[[19,5],6],[[]],[20,19],[[]],[[21,22]],[[]],[[]],[17],[19,[[23,[14]]]],[[17,[16,[[15,[14]]]]],17],[[]],[[]],[[],10],[[],10],[[],10],[[],10],[[],11],[[],11],[19,14],[[]],[[]],0,0,0,0,0,0,[24,12],[[]],[[]],[[]],[[]],[[]],[[]],[24,24],[25,25],[13,13],[[]],[[]],[[]],[[13,13],26],[[],24],[[13,13],27],[[],27],[[24,5],6],[[25,5],6],[[13,5],6],[[13,5],6],[[]],[[]],[[]],[[21,22]],[[13,28]],[[]],[[]],[[]],[24],[[13,13],[[23,[26]]]],[[24,[16,[[15,[14]]]]],24],[[24,[16,[[15,[14]]]]],24],[13,8],[[]],[[]],[[]],[[],9],[25,14],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],11],[[],11],[[],11],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,[[[30,[29]]],29],[[[30,[29]]],29],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[30,[[0,[31,29]]]]],[[30,[[0,[31,29]]]]]],[20,20],[32,32],[[]],[[]],[[]],[[[30,[[0,[33,29]]]],[30,[[0,[33,29]]]]],26],[[20,20],26],[[32,32],26],[[],[[30,[[0,[34,29]]]]]],[[[30,[[0,[35,29]]]],[30,[[0,[35,29]]]]],27],[[20,20],27],[[32,32],27],[[],27],[[],27],[[],27],[[36,5],6],[[36,5],6],[[[30,[29]],5],6],[[[30,[[0,[4,29]]]],5],6],[[20,5],6],[[20,5],6],[[32,5],6],[[32,5],6],[37,36],[[]],[38,36],[39,36],[29,[[30,[29]]]],[[]],[40],[[]],[[]],[[[30,[[0,[41,29]]]],28]],[[]],[[]],[[]],[[]],[[[30,[29]]],29],[[],42],[[[16,[[15,[14]]]],[23,[[16,[[15,[14]]]]]]],20],[[[16,[[15,[14]]]]],32],[43,[[10,[36]]]],[44,[[10,[[30,[29]],45]]]],[43,[[10,[20,36]]]],[43,[[10,[32,36]]]],[[[30,[[0,[46,29]]]],[30,[[0,[46,29]]]]],[[23,[26]]]],[[20,20],[[23,[26]]]],[[32,32],[[23,[26]]]],[20,[[23,[14]]]],[36,[[23,[47]]]],[[]],[[]],[[]],[[],9],[[],9],[[],9],[[],9],[32,14],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[[30,[29]]],[[10,[43]]]],[20,[[10,[43]]]],[32,[[10,[43]]]],[[],11],[[],11],[[],11],[[],11],[20,14],[[]],[[]],[[]],[[]],0,0,0,0,[[]],[[]],[[[48,[[0,[31,1]]]]],[[48,[[0,[31,1]]]]]],[[]],[[[48,[[0,[33,1]]]],[48,[[0,[33,1]]]]],26],[[],[[48,[[0,[34,1]]]]]],[[[48,[[0,[35,1]]]],[48,[[0,[35,1]]]]],27],[[],27],[[[48,[[0,[4,1]]]],5],6],[[]],[[[48,[[0,[41,1]]]],28]],[[]],[[],42],[44,[[10,[[48,[1]],45]]]],[[[48,[[0,[46,1]]]],[48,[[0,[46,1]]]]],[[23,[26]]]],[[],49],[[]],[[],10],[[],10],[[],10],[[[48,[1]]],[[10,[43]]]],[[],11],[[]],0,[[]],[[]],[18,18],[[]],[[18,18],26],[[],18],[[18,18],27],[[],27],[[18,5],6],[[18,5],[[10,[50]]]],[[]],[[18,28]],[[]],[[],18],[[18,18],[[23,[26]]]],[[]],[[],9],[[],10],[[],10],[18,[[10,[43]]]],[[],11],[[]],[[[16,[[15,[14]]]]],18],0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[],51],[12,12],[[]],[[12,12],26],[[],51],[[],12],[[12,12],27],[[],27],[[51,13],51],[[51,[16,[[15,[14]]]]],51],[[51,[16,[[15,[14]]]]],51],[51,12],[[51,5],6],[[12,5],6],[[12,5],[[10,[50]]]],[[]],[[]],[[12,28]],[[]],[[]],[[12,12],[[23,[26]]]],[[51,[16,[[15,[14]]]]],51],[[51,[16,[[15,[14]]]]],51],[[]],[[],9],[[],10],[[],10],[[],10],[[],10],[12,[[10,[43]]]],[[],11],[[],11],[[]],[[]],0,[52,[[53,[19,52]]]],[52,[[53,[25,52]]]],[[]],[[]],[[[53,[[0,[54,31]],31]]],[[53,[[0,[54,31]],31]]]],[[]],[[[53,[[0,[54,4]],4]],5],6],[[]],[[]],[[[53,[54,52]],[56,[55]]]],[[]],[[],10],[[],10],[[],11],[[]],[52,[[53,[54,52]]]]],"c":[],"p":[[8,"Challenge",223],[3,"AuthenticationError",3],[3,"HttpResponse",335],[8,"Debug",336],[3,"Formatter",336],[6,"Result",336],[8,"AuthExtractorConfig",3],[3,"StatusCode",337],[3,"String",338],[4,"Result",339],[3,"TypeId",340],[3,"Bearer",274],[4,"Error",63],[15,"str"],[4,"Cow",341],[8,"Into",342],[3,"Config",29],[3,"Basic",250],[3,"BasicAuth",29],[3,"Basic",122],[3,"HttpRequest",343],[4,"Payload",344],[4,"Option",345],[3,"Config",63],[3,"BearerAuth",63],[4,"Ordering",346],[15,"bool"],[8,"Hasher",347],[8,"Scheme",122],[3,"Authorization",122],[8,"Clone",348],[3,"Bearer",122],[8,"Ord",346],[8,"Default",349],[8,"PartialEq",346],[4,"ParseError",122],[3,"ToStrError",350],[4,"DecodeError",351],[3,"Utf8Error",352],[15,"never"],[8,"Hash",347],[3,"HeaderName",353],[3,"HeaderValue",350],[8,"HttpMessage",354],[4,"ParseError",355],[8,"PartialOrd",346],[8,"Error",356],[3,"WwwAuthenticate",223],[3,"Bytes",357],[3,"Error",336],[3,"BearerBuilder",274],[8,"Fn",358],[3,"HttpAuthentication",318],[8,"FromRequest",359],[3,"ServiceRequest",360],[8,"Service",361]]}\ }'); if (typeof window !== 'undefined' && window.initSearch) {window.initSearch(searchIndex)}; if (typeof exports !== 'undefined') {exports.searchIndex = searchIndex}; diff --git a/settings.html b/settings.html index 7dd82bcb4..fc2e8d5b2 100644 --- a/settings.html +++ b/settings.html @@ -1 +1 @@ -Rustdoc settings

      Rustdoc settings

      Back
      \ No newline at end of file +Rustdoc settings

      Rustdoc settings

      Back
      \ No newline at end of file diff --git a/src/actix_cors/all_or_some.rs.html b/src/actix_cors/all_or_some.rs.html index 0d97b81ab..5e70f6ef6 100644 --- a/src/actix_cors/all_or_some.rs.html +++ b/src/actix_cors/all_or_some.rs.html @@ -1,4 +1,4 @@ -all_or_some.rs - source
      1
      +all_or_some.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_cors/builder.rs.html b/src/actix_cors/builder.rs.html
      index 289342b6f..e6fec2960 100644
      --- a/src/actix_cors/builder.rs.html
      +++ b/src/actix_cors/builder.rs.html
      @@ -1,4 +1,4 @@
      -builder.rs - source
      1
      +builder.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_cors/error.rs.html b/src/actix_cors/error.rs.html
      index bf46406b2..53bba47f0 100644
      --- a/src/actix_cors/error.rs.html
      +++ b/src/actix_cors/error.rs.html
      @@ -1,4 +1,4 @@
      -error.rs - source
      1
      +error.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_cors/inner.rs.html b/src/actix_cors/inner.rs.html
      index aada7139e..eb44a7795 100644
      --- a/src/actix_cors/inner.rs.html
      +++ b/src/actix_cors/inner.rs.html
      @@ -1,4 +1,4 @@
      -inner.rs - source
      1
      +inner.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_cors/lib.rs.html b/src/actix_cors/lib.rs.html
      index c0f855ce5..b74279240 100644
      --- a/src/actix_cors/lib.rs.html
      +++ b/src/actix_cors/lib.rs.html
      @@ -1,4 +1,4 @@
      -lib.rs - source
      1
      +lib.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_cors/middleware.rs.html b/src/actix_cors/middleware.rs.html
      index be5d1e460..2878101fa 100644
      --- a/src/actix_cors/middleware.rs.html
      +++ b/src/actix_cors/middleware.rs.html
      @@ -1,4 +1,4 @@
      -middleware.rs - source
      1
      +middleware.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_identity/config.rs.html b/src/actix_identity/config.rs.html
      index 60a8e35fc..8802500a3 100644
      --- a/src/actix_identity/config.rs.html
      +++ b/src/actix_identity/config.rs.html
      @@ -1,4 +1,4 @@
      -config.rs - source
      1
      +config.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_identity/error.rs.html b/src/actix_identity/error.rs.html
      index 6ab81c226..f968b76b5 100644
      --- a/src/actix_identity/error.rs.html
      +++ b/src/actix_identity/error.rs.html
      @@ -1,4 +1,4 @@
      -error.rs - source
      1
      +error.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_identity/identity.rs.html b/src/actix_identity/identity.rs.html
      index 719de6e41..667d8ec62 100644
      --- a/src/actix_identity/identity.rs.html
      +++ b/src/actix_identity/identity.rs.html
      @@ -1,4 +1,4 @@
      -identity.rs - source
      1
      +identity.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_identity/identity_ext.rs.html b/src/actix_identity/identity_ext.rs.html
      index 452b7270f..8e9c28e7f 100644
      --- a/src/actix_identity/identity_ext.rs.html
      +++ b/src/actix_identity/identity_ext.rs.html
      @@ -1,4 +1,4 @@
      -identity_ext.rs - source
      1
      +identity_ext.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_identity/lib.rs.html b/src/actix_identity/lib.rs.html
      index 18e116ebd..e5e76a95f 100644
      --- a/src/actix_identity/lib.rs.html
      +++ b/src/actix_identity/lib.rs.html
      @@ -1,4 +1,4 @@
      -lib.rs - source
      1
      +lib.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_identity/middleware.rs.html b/src/actix_identity/middleware.rs.html
      index 32c658873..94e328817 100644
      --- a/src/actix_identity/middleware.rs.html
      +++ b/src/actix_identity/middleware.rs.html
      @@ -1,4 +1,4 @@
      -middleware.rs - source
      1
      +middleware.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_limitation/builder.rs.html b/src/actix_limitation/builder.rs.html
      index 109813c0b..e39007086 100644
      --- a/src/actix_limitation/builder.rs.html
      +++ b/src/actix_limitation/builder.rs.html
      @@ -1,4 +1,4 @@
      -builder.rs - source
      1
      +builder.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_limitation/errors.rs.html b/src/actix_limitation/errors.rs.html
      index 04506300a..6138e6e4b 100644
      --- a/src/actix_limitation/errors.rs.html
      +++ b/src/actix_limitation/errors.rs.html
      @@ -1,4 +1,4 @@
      -errors.rs - source
      1
      +errors.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_limitation/lib.rs.html b/src/actix_limitation/lib.rs.html
      index 63cd7abf5..a97c9097d 100644
      --- a/src/actix_limitation/lib.rs.html
      +++ b/src/actix_limitation/lib.rs.html
      @@ -1,4 +1,4 @@
      -lib.rs - source
      1
      +lib.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_limitation/middleware.rs.html b/src/actix_limitation/middleware.rs.html
      index 70bdbd265..88f32c3e6 100644
      --- a/src/actix_limitation/middleware.rs.html
      +++ b/src/actix_limitation/middleware.rs.html
      @@ -1,4 +1,4 @@
      -middleware.rs - source
      1
      +middleware.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_limitation/status.rs.html b/src/actix_limitation/status.rs.html
      index d7294e698..af5969a05 100644
      --- a/src/actix_limitation/status.rs.html
      +++ b/src/actix_limitation/status.rs.html
      @@ -1,4 +1,4 @@
      -status.rs - source
      1
      +status.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_protobuf/lib.rs.html b/src/actix_protobuf/lib.rs.html
      index d2675a30d..6cb00ece4 100644
      --- a/src/actix_protobuf/lib.rs.html
      +++ b/src/actix_protobuf/lib.rs.html
      @@ -1,4 +1,4 @@
      -lib.rs - source
      1
      +lib.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_redis/lib.rs.html b/src/actix_redis/lib.rs.html
      index 7881c2da2..de14600f5 100644
      --- a/src/actix_redis/lib.rs.html
      +++ b/src/actix_redis/lib.rs.html
      @@ -1,4 +1,4 @@
      -lib.rs - source
      1
      +lib.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_redis/redis.rs.html b/src/actix_redis/redis.rs.html
      index 25558faaf..42e95c480 100644
      --- a/src/actix_redis/redis.rs.html
      +++ b/src/actix_redis/redis.rs.html
      @@ -1,4 +1,4 @@
      -redis.rs - source
      1
      +redis.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_session/config.rs.html b/src/actix_session/config.rs.html
      index 45d711960..6e320b8e5 100644
      --- a/src/actix_session/config.rs.html
      +++ b/src/actix_session/config.rs.html
      @@ -1,4 +1,4 @@
      -config.rs - source
      1
      +config.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_session/lib.rs.html b/src/actix_session/lib.rs.html
      index e989b74be..41e73230d 100644
      --- a/src/actix_session/lib.rs.html
      +++ b/src/actix_session/lib.rs.html
      @@ -1,4 +1,4 @@
      -lib.rs - source
      1
      +lib.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_session/middleware.rs.html b/src/actix_session/middleware.rs.html
      index 225967eb8..542fd8479 100644
      --- a/src/actix_session/middleware.rs.html
      +++ b/src/actix_session/middleware.rs.html
      @@ -1,4 +1,4 @@
      -middleware.rs - source
      1
      +middleware.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_session/session.rs.html b/src/actix_session/session.rs.html
      index 5353a4780..6b17f2ba1 100644
      --- a/src/actix_session/session.rs.html
      +++ b/src/actix_session/session.rs.html
      @@ -1,4 +1,4 @@
      -session.rs - source
      1
      +session.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_session/session_ext.rs.html b/src/actix_session/session_ext.rs.html
      index 929e08272..ce97b48ac 100644
      --- a/src/actix_session/session_ext.rs.html
      +++ b/src/actix_session/session_ext.rs.html
      @@ -1,4 +1,4 @@
      -session_ext.rs - source
      1
      +session_ext.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_session/storage/cookie.rs.html b/src/actix_session/storage/cookie.rs.html
      index 38b85bd3d..74b24dbc9 100644
      --- a/src/actix_session/storage/cookie.rs.html
      +++ b/src/actix_session/storage/cookie.rs.html
      @@ -1,4 +1,4 @@
      -cookie.rs - source
      1
      +cookie.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_session/storage/interface.rs.html b/src/actix_session/storage/interface.rs.html
      index f353d06c9..2102a17ae 100644
      --- a/src/actix_session/storage/interface.rs.html
      +++ b/src/actix_session/storage/interface.rs.html
      @@ -1,4 +1,4 @@
      -interface.rs - source
      1
      +interface.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_session/storage/mod.rs.html b/src/actix_session/storage/mod.rs.html
      index 7b1e869b6..98e7176f2 100644
      --- a/src/actix_session/storage/mod.rs.html
      +++ b/src/actix_session/storage/mod.rs.html
      @@ -1,4 +1,4 @@
      -mod.rs - source
      1
      +mod.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_session/storage/redis_actor.rs.html b/src/actix_session/storage/redis_actor.rs.html
      index 8719f6297..2fb1ae638 100644
      --- a/src/actix_session/storage/redis_actor.rs.html
      +++ b/src/actix_session/storage/redis_actor.rs.html
      @@ -1,4 +1,4 @@
      -redis_actor.rs - source
      1
      +redis_actor.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_session/storage/redis_rs.rs.html b/src/actix_session/storage/redis_rs.rs.html
      index 5b747cf3f..8edbc3e47 100644
      --- a/src/actix_session/storage/redis_rs.rs.html
      +++ b/src/actix_session/storage/redis_rs.rs.html
      @@ -1,4 +1,4 @@
      -redis_rs.rs - source
      1
      +redis_rs.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_session/storage/session_key.rs.html b/src/actix_session/storage/session_key.rs.html
      index 020ed2909..ab97f09da 100644
      --- a/src/actix_session/storage/session_key.rs.html
      +++ b/src/actix_session/storage/session_key.rs.html
      @@ -1,4 +1,4 @@
      -session_key.rs - source
      1
      +session_key.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_session/storage/utils.rs.html b/src/actix_session/storage/utils.rs.html
      index 6fc628f1c..59109b279 100644
      --- a/src/actix_session/storage/utils.rs.html
      +++ b/src/actix_session/storage/utils.rs.html
      @@ -1,4 +1,4 @@
      -utils.rs - source
      1
      +utils.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_settings/error.rs.html b/src/actix_settings/error.rs.html
      index a3c736457..103517615 100644
      --- a/src/actix_settings/error.rs.html
      +++ b/src/actix_settings/error.rs.html
      @@ -1,4 +1,4 @@
      -error.rs - source
      1
      +error.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_settings/lib.rs.html b/src/actix_settings/lib.rs.html
      index 28219e735..faeb0e462 100644
      --- a/src/actix_settings/lib.rs.html
      +++ b/src/actix_settings/lib.rs.html
      @@ -1,4 +1,4 @@
      -lib.rs - source
      1
      +lib.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_settings/parse.rs.html b/src/actix_settings/parse.rs.html
      index 919e26344..87c62acb3 100644
      --- a/src/actix_settings/parse.rs.html
      +++ b/src/actix_settings/parse.rs.html
      @@ -1,4 +1,4 @@
      -parse.rs - source
      1
      +parse.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_settings/settings/address.rs.html b/src/actix_settings/settings/address.rs.html
      index 91ca86abf..3efaee2d4 100644
      --- a/src/actix_settings/settings/address.rs.html
      +++ b/src/actix_settings/settings/address.rs.html
      @@ -1,4 +1,4 @@
      -address.rs - source
      1
      +address.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_settings/settings/backlog.rs.html b/src/actix_settings/settings/backlog.rs.html
      index 3d61e1e1a..37234ebfb 100644
      --- a/src/actix_settings/settings/backlog.rs.html
      +++ b/src/actix_settings/settings/backlog.rs.html
      @@ -1,4 +1,4 @@
      -backlog.rs - source
      1
      +backlog.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_settings/settings/keep_alive.rs.html b/src/actix_settings/settings/keep_alive.rs.html
      index 06914559c..34912e122 100644
      --- a/src/actix_settings/settings/keep_alive.rs.html
      +++ b/src/actix_settings/settings/keep_alive.rs.html
      @@ -1,4 +1,4 @@
      -keep_alive.rs - source
      1
      +keep_alive.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_settings/settings/max_connection_rate.rs.html b/src/actix_settings/settings/max_connection_rate.rs.html
      index 0f726f4f5..bc378755b 100644
      --- a/src/actix_settings/settings/max_connection_rate.rs.html
      +++ b/src/actix_settings/settings/max_connection_rate.rs.html
      @@ -1,4 +1,4 @@
      -max_connection_rate.rs - source
      1
      +max_connection_rate.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_settings/settings/max_connections.rs.html b/src/actix_settings/settings/max_connections.rs.html
      index a139dee04..21f1b178f 100644
      --- a/src/actix_settings/settings/max_connections.rs.html
      +++ b/src/actix_settings/settings/max_connections.rs.html
      @@ -1,4 +1,4 @@
      -max_connections.rs - source
      1
      +max_connections.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_settings/settings/mod.rs.html b/src/actix_settings/settings/mod.rs.html
      index 818c7e419..1d4371483 100644
      --- a/src/actix_settings/settings/mod.rs.html
      +++ b/src/actix_settings/settings/mod.rs.html
      @@ -1,4 +1,4 @@
      -mod.rs - source
      1
      +mod.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_settings/settings/mode.rs.html b/src/actix_settings/settings/mode.rs.html
      index 6215e17fb..051c55512 100644
      --- a/src/actix_settings/settings/mode.rs.html
      +++ b/src/actix_settings/settings/mode.rs.html
      @@ -1,4 +1,4 @@
      -mode.rs - source
      1
      +mode.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_settings/settings/num_workers.rs.html b/src/actix_settings/settings/num_workers.rs.html
      index 506846c6a..9673c467a 100644
      --- a/src/actix_settings/settings/num_workers.rs.html
      +++ b/src/actix_settings/settings/num_workers.rs.html
      @@ -1,4 +1,4 @@
      -num_workers.rs - source
      1
      +num_workers.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_settings/settings/timeout.rs.html b/src/actix_settings/settings/timeout.rs.html
      index 6b6ed9f02..624675ed8 100644
      --- a/src/actix_settings/settings/timeout.rs.html
      +++ b/src/actix_settings/settings/timeout.rs.html
      @@ -1,4 +1,4 @@
      -timeout.rs - source
      1
      +timeout.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_settings/settings/tls.rs.html b/src/actix_settings/settings/tls.rs.html
      index aa4423bec..f0bbf7d3a 100644
      --- a/src/actix_settings/settings/tls.rs.html
      +++ b/src/actix_settings/settings/tls.rs.html
      @@ -1,4 +1,4 @@
      -tls.rs - source
      1
      +tls.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/extractors/basic.rs.html b/src/actix_web_httpauth/extractors/basic.rs.html
      index b02abf967..5101cf44b 100644
      --- a/src/actix_web_httpauth/extractors/basic.rs.html
      +++ b/src/actix_web_httpauth/extractors/basic.rs.html
      @@ -1,4 +1,4 @@
      -basic.rs - source
      1
      +basic.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/extractors/bearer.rs.html b/src/actix_web_httpauth/extractors/bearer.rs.html
      index 9dea021c0..75a0126f3 100644
      --- a/src/actix_web_httpauth/extractors/bearer.rs.html
      +++ b/src/actix_web_httpauth/extractors/bearer.rs.html
      @@ -1,4 +1,4 @@
      -bearer.rs - source
      1
      +bearer.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/extractors/config.rs.html b/src/actix_web_httpauth/extractors/config.rs.html
      index ed4abdba1..7d9966ee6 100644
      --- a/src/actix_web_httpauth/extractors/config.rs.html
      +++ b/src/actix_web_httpauth/extractors/config.rs.html
      @@ -1,4 +1,4 @@
      -config.rs - source
      1
      +config.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/extractors/errors.rs.html b/src/actix_web_httpauth/extractors/errors.rs.html
      index e90c4dece..e79669803 100644
      --- a/src/actix_web_httpauth/extractors/errors.rs.html
      +++ b/src/actix_web_httpauth/extractors/errors.rs.html
      @@ -1,4 +1,4 @@
      -errors.rs - source
      1
      +errors.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/extractors/mod.rs.html b/src/actix_web_httpauth/extractors/mod.rs.html
      index 81f7884b1..04bd8b0a2 100644
      --- a/src/actix_web_httpauth/extractors/mod.rs.html
      +++ b/src/actix_web_httpauth/extractors/mod.rs.html
      @@ -1,4 +1,4 @@
      -mod.rs - source
      1
      +mod.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/headers/authorization/errors.rs.html b/src/actix_web_httpauth/headers/authorization/errors.rs.html
      index 26d24bf15..36a4678d1 100644
      --- a/src/actix_web_httpauth/headers/authorization/errors.rs.html
      +++ b/src/actix_web_httpauth/headers/authorization/errors.rs.html
      @@ -1,4 +1,4 @@
      -errors.rs - source
      1
      +errors.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/headers/authorization/header.rs.html b/src/actix_web_httpauth/headers/authorization/header.rs.html
      index be98d2b67..4395f8ce3 100644
      --- a/src/actix_web_httpauth/headers/authorization/header.rs.html
      +++ b/src/actix_web_httpauth/headers/authorization/header.rs.html
      @@ -1,4 +1,4 @@
      -header.rs - source
      1
      +header.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/headers/authorization/mod.rs.html b/src/actix_web_httpauth/headers/authorization/mod.rs.html
      index 1b4a448de..f15070f6b 100644
      --- a/src/actix_web_httpauth/headers/authorization/mod.rs.html
      +++ b/src/actix_web_httpauth/headers/authorization/mod.rs.html
      @@ -1,4 +1,4 @@
      -mod.rs - source
      1
      +mod.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/headers/authorization/scheme/basic.rs.html b/src/actix_web_httpauth/headers/authorization/scheme/basic.rs.html
      index dbd3829cf..321e420f0 100644
      --- a/src/actix_web_httpauth/headers/authorization/scheme/basic.rs.html
      +++ b/src/actix_web_httpauth/headers/authorization/scheme/basic.rs.html
      @@ -1,4 +1,4 @@
      -basic.rs - source
      1
      +basic.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/headers/authorization/scheme/bearer.rs.html b/src/actix_web_httpauth/headers/authorization/scheme/bearer.rs.html
      index eb1b6e44a..ef48ee1b6 100644
      --- a/src/actix_web_httpauth/headers/authorization/scheme/bearer.rs.html
      +++ b/src/actix_web_httpauth/headers/authorization/scheme/bearer.rs.html
      @@ -1,4 +1,4 @@
      -bearer.rs - source
      1
      +bearer.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/headers/authorization/scheme/mod.rs.html b/src/actix_web_httpauth/headers/authorization/scheme/mod.rs.html
      index 769cbedae..67395f8bd 100644
      --- a/src/actix_web_httpauth/headers/authorization/scheme/mod.rs.html
      +++ b/src/actix_web_httpauth/headers/authorization/scheme/mod.rs.html
      @@ -1,4 +1,4 @@
      -mod.rs - source
      1
      +mod.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/headers/mod.rs.html b/src/actix_web_httpauth/headers/mod.rs.html
      index 6dccb8bfd..db3e33c5d 100644
      --- a/src/actix_web_httpauth/headers/mod.rs.html
      +++ b/src/actix_web_httpauth/headers/mod.rs.html
      @@ -1,4 +1,4 @@
      -mod.rs - source
      1
      +mod.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/headers/www_authenticate/challenge/basic.rs.html b/src/actix_web_httpauth/headers/www_authenticate/challenge/basic.rs.html
      index c6179d7f0..6e46da53c 100644
      --- a/src/actix_web_httpauth/headers/www_authenticate/challenge/basic.rs.html
      +++ b/src/actix_web_httpauth/headers/www_authenticate/challenge/basic.rs.html
      @@ -1,4 +1,4 @@
      -basic.rs - source
      1
      +basic.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/builder.rs.html b/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/builder.rs.html
      index eda9bf9ef..960cf6a8e 100644
      --- a/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/builder.rs.html
      +++ b/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/builder.rs.html
      @@ -1,4 +1,4 @@
      -builder.rs - source
      1
      +builder.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/challenge.rs.html b/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/challenge.rs.html
      index be26afef8..fb6376876 100644
      --- a/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/challenge.rs.html
      +++ b/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/challenge.rs.html
      @@ -1,4 +1,4 @@
      -challenge.rs - source
      1
      +challenge.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/errors.rs.html b/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/errors.rs.html
      index e1e8702eb..17973787d 100644
      --- a/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/errors.rs.html
      +++ b/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/errors.rs.html
      @@ -1,4 +1,4 @@
      -errors.rs - source
      1
      +errors.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/mod.rs.html b/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/mod.rs.html
      index 813a25a29..1c098240c 100644
      --- a/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/mod.rs.html
      +++ b/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/mod.rs.html
      @@ -1,4 +1,4 @@
      -mod.rs - source
      1
      +mod.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/headers/www_authenticate/challenge/mod.rs.html b/src/actix_web_httpauth/headers/www_authenticate/challenge/mod.rs.html
      index 23911a920..891d6feb5 100644
      --- a/src/actix_web_httpauth/headers/www_authenticate/challenge/mod.rs.html
      +++ b/src/actix_web_httpauth/headers/www_authenticate/challenge/mod.rs.html
      @@ -1,4 +1,4 @@
      -mod.rs - source
      1
      +mod.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/headers/www_authenticate/header.rs.html b/src/actix_web_httpauth/headers/www_authenticate/header.rs.html
      index 6583cc7e3..f42ed0b96 100644
      --- a/src/actix_web_httpauth/headers/www_authenticate/header.rs.html
      +++ b/src/actix_web_httpauth/headers/www_authenticate/header.rs.html
      @@ -1,4 +1,4 @@
      -header.rs - source
      1
      +header.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/headers/www_authenticate/mod.rs.html b/src/actix_web_httpauth/headers/www_authenticate/mod.rs.html
      index 7fe8970e4..a5c5e4abf 100644
      --- a/src/actix_web_httpauth/headers/www_authenticate/mod.rs.html
      +++ b/src/actix_web_httpauth/headers/www_authenticate/mod.rs.html
      @@ -1,4 +1,4 @@
      -mod.rs - source
      1
      +mod.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/lib.rs.html b/src/actix_web_httpauth/lib.rs.html
      index bdd10e7fa..900928ce6 100644
      --- a/src/actix_web_httpauth/lib.rs.html
      +++ b/src/actix_web_httpauth/lib.rs.html
      @@ -1,4 +1,4 @@
      -lib.rs - source
      1
      +lib.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/middleware.rs.html b/src/actix_web_httpauth/middleware.rs.html
      index 97ada6cc9..be605da76 100644
      --- a/src/actix_web_httpauth/middleware.rs.html
      +++ b/src/actix_web_httpauth/middleware.rs.html
      @@ -1,4 +1,4 @@
      -middleware.rs - source
      1
      +middleware.rs - source
      1
       2
       3
       4
      diff --git a/src/actix_web_httpauth/utils.rs.html b/src/actix_web_httpauth/utils.rs.html
      index a84fe20f8..fd1b28dac 100644
      --- a/src/actix_web_httpauth/utils.rs.html
      +++ b/src/actix_web_httpauth/utils.rs.html
      @@ -1,4 +1,4 @@
      -utils.rs - source
      1
      +utils.rs - source
      1
       2
       3
       4
      diff --git a/static.files/ayu-49e58d069f567085.css b/static.files/ayu-49e58d069f567085.css
      deleted file mode 100644
      index 7a84c0b74..000000000
      --- a/static.files/ayu-49e58d069f567085.css
      +++ /dev/null
      @@ -1 +0,0 @@
      - :root{--main-background-color:#0f1419;--main-color:#c5c5c5;--settings-input-color:#ffb454;--settings-input-border-color:#999;--settings-button-color:#fff;--settings-button-border-focus:#e0e0e0;--sidebar-background-color:#14191f;--sidebar-background-color-hover:rgba(70,70,70,0.33);--code-block-background-color:#191f26;--scrollbar-track-background-color:transparent;--scrollbar-thumb-background-color:#5c6773;--scrollbar-color:#5c6773 #24292f;--headings-border-bottom-color:#5c6773;--border-color:#5c6773;--button-background-color:#141920;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--search-input-focused-border-color:#5c6773;--copy-path-button-color:#fff;--copy-path-img-filter:invert(70%);--copy-path-img-hover-filter:invert(100%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#ffa0a5;--trait-link-color:#39afd7;--assoc-item-link-color:#39afd7;--function-link-color:#fdd687;--macro-link-color:#a37acc;--keyword-link-color:#39afd7;--mod-link-color:#39afd7;--link-color:#39afd7;--sidebar-link-color:#53b1db;--sidebar-current-link-background-color:transparent;--search-result-link-focus-background-color:#3c3c3c;--search-result-border-color:#aaa3;--search-color:#fff;--search-error-code-background-color:#4f4c4c;--search-results-alias-color:#c5c5c5;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:none;--search-tab-button-not-selected-background:transparent !important;--search-tab-button-selected-border-top-color:none;--search-tab-button-selected-background:#141920 !important;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ff7733;--code-highlight-kw-2-color:#ff7733;--code-highlight-lifetime-color:#ff7733;--code-highlight-prelude-color:#69f2df;--code-highlight-prelude-val-color:#ff7733;--code-highlight-number-color:#b8cc52;--code-highlight-string-color:#b8cc52;--code-highlight-literal-color:#ff7733;--code-highlight-attribute-color:#e6e1cf;--code-highlight-self-color:#36a3d9;--code-highlight-macro-color:#a37acc;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#788797;--code-highlight-doc-comment-color:#a1ac88;--src-line-numbers-span-color:#5c6773;--src-line-number-highlighted-background-color:rgba(255,236,164,0.06);--test-arrow-color:#788797;--test-arrow-background-color:rgba(57,175,215,0.09);--test-arrow-hover-color:#c5c5c5;--test-arrow-hover-background-color:rgba(57,175,215,0.368);--target-background-color:rgba(255,236,164,0.06);--target-border-color:rgba(255,180,76,0.85);--kbd-color:#c5c5c5;--kbd-background:#314559;--kbd-box-shadow-color:#5c6773;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(41%) sepia(12%) saturate(487%) hue-rotate(171deg) brightness(94%) contrast(94%);--crate-search-div-hover-filter:invert(98%) sepia(12%) saturate(81%) hue-rotate(343deg) brightness(113%) contrast(76%);--crate-search-hover-border:#e0e0e0;--src-sidebar-background-selected:#14191f;--src-sidebar-background-hover:#14191f;--table-alt-row-background-color:#191f26;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:#5b3b01;--scrape-example-code-line-highlight-focus:#7c4b0f;--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(15,20,25,1);--scrape-example-code-wrapper-background-end:rgba(15,20,25,0);}h1,h2,h3,h4,h1 a,.sidebar h2 a,.sidebar h3 a,#src-sidebar>.title{color:#fff;}h4{border:none;}.docblock code{color:#ffb454;}.docblock a>code{color:#39AFD7 !important;}.code-header,.docblock pre>code,pre,pre>code,.item-info code,.rustdoc.src .example-wrap{color:#e6e1cf;}.sidebar .current,.sidebar a:hover,#src-sidebar div.files>a:hover,details.dir-entry summary:hover,#src-sidebar div.files>a:focus,details.dir-entry summary:focus,#src-sidebar div.files>a.selected{color:#ffb44c;}.sidebar-elems .location{color:#ff7733;}.src-line-numbers .line-highlighted{color:#708090;padding-right:7px;border-right:1px solid #ffb44c;}.search-results a:hover,.search-results a:focus{color:#fff !important;background-color:#3c3c3c;}.search-results a{color:#0096cf;}.search-results a div.desc{color:#c5c5c5;}.result-name .primitive>i,.result-name .keyword>i{color:#788797;}#search-tabs>button.selected{border-bottom:1px solid #ffb44c !important;border-top:none;}#search-tabs>button:not(.selected){border:none;background-color:transparent !important;}#search-tabs>button:hover{border-bottom:1px solid rgba(242,151,24,0.3);}#settings-menu>a img{filter:invert(100);}
      \ No newline at end of file
      diff --git a/static.files/dark-1dd4d1ce031e15de.css b/static.files/dark-1dd4d1ce031e15de.css
      deleted file mode 100644
      index a6623d9ba..000000000
      --- a/static.files/dark-1dd4d1ce031e15de.css
      +++ /dev/null
      @@ -1 +0,0 @@
      -:root{--main-background-color:#353535;--main-color:#ddd;--settings-input-color:#2196f3;--settings-input-border-color:#999;--settings-button-color:#000;--settings-button-border-focus:#ffb900;--sidebar-background-color:#505050;--sidebar-background-color-hover:#676767;--code-block-background-color:#2A2A2A;--scrollbar-track-background-color:#717171;--scrollbar-thumb-background-color:rgba(32,34,37,.6);--scrollbar-color:rgba(32,34,37,.6) #5a5a5a;--headings-border-bottom-color:#d2d2d2;--border-color:#e0e0e0;--button-background-color:#f0f0f0;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--search-input-focused-border-color:#008dfd;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(65%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#2dbfb8;--trait-link-color:#b78cf2;--assoc-item-link-color:#d2991d;--function-link-color:#2bab63;--macro-link-color:#09bd00;--keyword-link-color:#d2991d;--mod-link-color:#d2991d;--link-color:#d2991d;--sidebar-link-color:#fdbf35;--sidebar-current-link-background-color:#444;--search-result-link-focus-background-color:#616161;--search-result-border-color:#aaa3;--search-color:#111;--search-error-code-background-color:#484848;--search-results-alias-color:#fff;--search-results-grey-color:#ccc;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#252525;--search-tab-button-not-selected-background:#252525;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#353535;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ab8ac1;--code-highlight-kw-2-color:#769acb;--code-highlight-lifetime-color:#d97f26;--code-highlight-prelude-color:#769acb;--code-highlight-prelude-val-color:#ee6868;--code-highlight-number-color:#83a300;--code-highlight-string-color:#83a300;--code-highlight-literal-color:#ee6868;--code-highlight-attribute-color:#ee6868;--code-highlight-self-color:#ee6868;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8d8d8b;--code-highlight-doc-comment-color:#8ca375;--src-line-numbers-span-color:#3b91e2;--src-line-number-highlighted-background-color:#0a042f;--test-arrow-color:#dedede;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#dedede;--test-arrow-hover-background-color:#4e8bca;--target-background-color:#494a3d;--target-border-color:#bb7410;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(94%) sepia(0%) saturate(721%) hue-rotate(255deg) brightness(90%) contrast(90%);--crate-search-div-hover-filter:invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);--crate-search-hover-border:#2196f3;--src-sidebar-background-selected:#333;--src-sidebar-background-hover:#444;--table-alt-row-background-color:#2a2a2a;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:#5b3b01;--scrape-example-code-line-highlight-focus:#7c4b0f;--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(53,53,53,1);--scrape-example-code-wrapper-background-end:rgba(53,53,53,0);}
      \ No newline at end of file
      diff --git a/static.files/light-f194925aa375ae96.css b/static.files/light-f194925aa375ae96.css
      deleted file mode 100644
      index 61311db03..000000000
      --- a/static.files/light-f194925aa375ae96.css
      +++ /dev/null
      @@ -1 +0,0 @@
      -:root{--main-background-color:white;--main-color:black;--settings-input-color:#2196f3;--settings-input-border-color:#717171;--settings-button-color:#000;--settings-button-border-focus:#717171;--sidebar-background-color:#f5f5f5;--sidebar-background-color-hover:#e0e0e0;--code-block-background-color:#f5f5f5;--scrollbar-track-background-color:#dcdcdc;--scrollbar-thumb-background-color:rgba(36,37,39,0.6);--scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;--headings-border-bottom-color:#ddd;--border-color:#e0e0e0;--button-background-color:#fff;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:none;--search-input-focused-border-color:#66afe9;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(35%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#ad378a;--trait-link-color:#6e4fc9;--assoc-item-link-color:#3873ad;--function-link-color:#ad7c37;--macro-link-color:#068000;--keyword-link-color:#3873ad;--mod-link-color:#3873ad;--link-color:#3873ad;--sidebar-link-color:#356da4;--sidebar-current-link-background-color:#fff;--search-result-link-focus-background-color:#ccc;--search-result-border-color:#aaa3;--search-color:#000;--search-error-code-background-color:#d0cccc;--search-results-alias-color:#000;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#e6e6e6;--search-tab-button-not-selected-background:#e6e6e6;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#fff;--stab-background-color:#fff5d6;--stab-code-color:#000;--code-highlight-kw-color:#8959a8;--code-highlight-kw-2-color:#4271ae;--code-highlight-lifetime-color:#b76514;--code-highlight-prelude-color:#4271ae;--code-highlight-prelude-val-color:#c82829;--code-highlight-number-color:#718c00;--code-highlight-string-color:#718c00;--code-highlight-literal-color:#c82829;--code-highlight-attribute-color:#c82829;--code-highlight-self-color:#c82829;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8e908c;--code-highlight-doc-comment-color:#4d4d4c;--src-line-numbers-span-color:#c67e2d;--src-line-number-highlighted-background-color:#fdffd3;--test-arrow-color:#f5f5f5;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#f5f5f5;--test-arrow-hover-background-color:rgb(78,139,202);--target-background-color:#fdffd3;--target-border-color:#ad7c37;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:initial;--crate-search-div-filter:invert(100%) sepia(0%) saturate(4223%) hue-rotate(289deg) brightness(114%) contrast(76%);--crate-search-div-hover-filter:invert(44%) sepia(18%) saturate(23%) hue-rotate(317deg) brightness(96%) contrast(93%);--crate-search-hover-border:#717171;--src-sidebar-background-selected:#fff;--src-sidebar-background-hover:#e0e0e0;--table-alt-row-background-color:#f5f5f5;--codeblock-link-background:#eee;--scrape-example-toggle-line-background:#ccc;--scrape-example-toggle-line-hover-background:#999;--scrape-example-code-line-highlight:#fcffd6;--scrape-example-code-line-highlight-focus:#f6fdb0;--scrape-example-help-border-color:#555;--scrape-example-help-color:#333;--scrape-example-help-hover-border-color:#000;--scrape-example-help-hover-color:#000;--scrape-example-code-wrapper-background-start:rgba(255,255,255,1);--scrape-example-code-wrapper-background-end:rgba(255,255,255,0);}
      \ No newline at end of file
      diff --git a/static.files/main-cabe4b1bd7b9da95.js b/static.files/main-f6ec288034ea164c.js
      similarity index 98%
      rename from static.files/main-cabe4b1bd7b9da95.js
      rename to static.files/main-f6ec288034ea164c.js
      index a2fbf6ce8..be5b6fc97 100644
      --- a/static.files/main-cabe4b1bd7b9da95.js
      +++ b/static.files/main-f6ec288034ea164c.js
      @@ -1,4 +1,4 @@
      -"use strict";window.RUSTDOC_TOOLTIP_HOVER_MS=300;window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS=450;function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function preLoadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.rel="preload";link.as="style";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadScript(getVar("static-root-path")+getVar("settings-js"));preLoadCss(getVar("static-root-path")+getVar("theme-light-css"));preLoadCss(getVar("static-root-path")+getVar("theme-dark-css"));preLoadCss(getVar("static-root-path")+getVar("theme-ayu-css"));setTimeout(()=>{const themes=getVar("themes").split(",");for(const theme of themes){if(theme!==""){preLoadCss(getVar("root-path")+theme+".css")}}},0)};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},removeQueryParameters:()=>{document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.hash)}},hideResults:()=>{switchDisplayedElement(null);searchState.removeQueryParameters()},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="

      "+searchState.loadingText+"

      ";searchState.showResults(search)},};const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}const pageId=window.location.hash.replace(/^#/,"");if(savedHash!==pageId){savedHash=pageId;if(pageId!==""){expandSection(pageId)}}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();searchState.hideResults();ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"&&document.activeElement.type!=="radio"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`${longty}`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const name of filtered){let path;if(shortty==="mod"){path=name+"/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("/").pop();const link=document.createElement("a");link.href=path;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Aliases");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector(".main-heading h1 > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=new Set((script?script.getAttribute("data-ignore-extern-crates"):"").split(","));for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.has(lib)){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&!/^(?:[a-z+]+:)?\/\//.test(href)){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"/index.html";if(window.rootPath!=="./"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}})}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\n").length;const elems=[];for(let i=0;i{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}function showSidebar(){window.hideAllModals(false);const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.CURRENT_TOOLTIP_ELEMENT){const base=window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE;const force_visible=base.TOOLTIP_FORCE_VISIBLE;hideTooltip(false);if(force_visible){showTooltip(base);base.TOOLTIP_FORCE_VISIBLE=true}}});const mainElem=document.getElementById(MAIN_ID);if(mainElem){mainElem.addEventListener("click",hideSidebar)}onEachLazy(document.querySelectorAll("a[href^='#']"),el=>{el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})});onEachLazy(document.querySelectorAll(".toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showTooltip(e){const notable_ty=e.getAttribute("data-notable-ty");if(!window.NOTABLE_TRAITS&¬able_ty){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showTooltip() called with notable without any notable traits!")}}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE===e){clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);return}window.hideAllModals(false);const wrapper=document.createElement("div");if(notable_ty){wrapper.innerHTML="
      "+window.NOTABLE_TRAITS[notable_ty]+"
      "}else{if(e.getAttribute("title")!==null){e.setAttribute("data-title",e.getAttribute("title"));e.removeAttribute("title")}if(e.getAttribute("data-title")!==null){const titleContent=document.createElement("div");titleContent.className="content";titleContent.appendChild(document.createTextNode(e.getAttribute("data-title")));wrapper.appendChild(titleContent)}}wrapper.className="tooltip popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideTooltip;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_TOOLTIP_ELEMENT=wrapper;window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE=e;clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);wrapper.onpointerenter=ev=>{if(ev.pointerType!=="mouse"){return}clearTooltipHoverTimeout(e)};wrapper.onpointerleave=ev=>{if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&!elemIsInParent(ev.relatedTarget,e)){setTooltipHoverTimeout(e,false);addClass(wrapper,"fade-out")}}}function setTooltipHoverTimeout(element,show){clearTooltipHoverTimeout(element);if(!show&&!window.CURRENT_TOOLTIP_ELEMENT){return}if(show&&window.CURRENT_TOOLTIP_ELEMENT){return}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE!==element){return}element.TOOLTIP_HOVER_TIMEOUT=setTimeout(()=>{if(show){showTooltip(element)}else if(!element.TOOLTIP_FORCE_VISIBLE){hideTooltip(false)}},show?window.RUSTDOC_TOOLTIP_HOVER_MS:window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS)}function clearTooltipHoverTimeout(element){if(element.TOOLTIP_HOVER_TIMEOUT!==undefined){removeClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out");clearTimeout(element.TOOLTIP_HOVER_TIMEOUT);delete element.TOOLTIP_HOVER_TIMEOUT}}function tooltipBlurHandler(event){if(window.CURRENT_TOOLTIP_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_TOOLTIP_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE)){setTimeout(()=>hideTooltip(false),0)}}function hideTooltip(focus){if(window.CURRENT_TOOLTIP_ELEMENT){if(window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE){if(focus){window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.focus()}window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_TOOLTIP_ELEMENT);clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);window.CURRENT_TOOLTIP_ELEMENT=null}}onEachLazy(document.getElementsByClassName("tooltip"),e=>{e.onclick=()=>{e.TOOLTIP_FORCE_VISIBLE=e.TOOLTIP_FORCE_VISIBLE?false:true;if(window.CURRENT_TOOLTIP_ELEMENT&&!e.TOOLTIP_FORCE_VISIBLE){hideTooltip(true)}else{showTooltip(e);window.CURRENT_TOOLTIP_ELEMENT.setAttribute("tabindex","0");window.CURRENT_TOOLTIP_ELEMENT.focus();window.CURRENT_TOOLTIP_ELEMENT.onblur=tooltipBlurHandler}return false};e.onpointerenter=ev=>{if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(e,true)};e.onpointermove=ev=>{if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(e,true)};e.onpointerleave=ev=>{if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&!elemIsInParent(ev.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT)){setTooltipHoverTimeout(e,false);addClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out")}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");const channel=getVar("channel");book_info.className="top";book_info.innerHTML=`You can find more information in \ +"use strict";window.RUSTDOC_TOOLTIP_HOVER_MS=300;window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS=450;function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function preLoadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.rel="preload";link.as="style";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadScript(getVar("static-root-path")+getVar("settings-js"));setTimeout(()=>{const themes=getVar("themes").split(",");for(const theme of themes){if(theme!==""){preLoadCss(getVar("root-path")+theme+".css")}}},0)};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},removeQueryParameters:()=>{document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.hash)}},hideResults:()=>{switchDisplayedElement(null);searchState.removeQueryParameters()},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="

      "+searchState.loadingText+"

      ";searchState.showResults(search)},};const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}const pageId=window.location.hash.replace(/^#/,"");if(savedHash!==pageId){savedHash=pageId;if(pageId!==""){expandSection(pageId)}}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();searchState.hideResults();ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"&&document.activeElement.type!=="radio"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`${longty}`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const name of filtered){let path;if(shortty==="mod"){path=name+"/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("/").pop();const link=document.createElement("a");link.href=path;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Aliases");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector(".main-heading h1 > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=new Set((script?script.getAttribute("data-ignore-extern-crates"):"").split(","));for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.has(lib)){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&!/^(?:[a-z+]+:)?\/\//.test(href)){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"/index.html";if(window.rootPath!=="./"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}})}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\n").length;const elems=[];for(let i=0;i{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}function showSidebar(){window.hideAllModals(false);const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.CURRENT_TOOLTIP_ELEMENT){const base=window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE;const force_visible=base.TOOLTIP_FORCE_VISIBLE;hideTooltip(false);if(force_visible){showTooltip(base);base.TOOLTIP_FORCE_VISIBLE=true}}});const mainElem=document.getElementById(MAIN_ID);if(mainElem){mainElem.addEventListener("click",hideSidebar)}onEachLazy(document.querySelectorAll("a[href^='#']"),el=>{el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})});onEachLazy(document.querySelectorAll(".toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showTooltip(e){const notable_ty=e.getAttribute("data-notable-ty");if(!window.NOTABLE_TRAITS&¬able_ty){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showTooltip() called with notable without any notable traits!")}}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE===e){clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);return}window.hideAllModals(false);const wrapper=document.createElement("div");if(notable_ty){wrapper.innerHTML="
      "+window.NOTABLE_TRAITS[notable_ty]+"
      "}else{if(e.getAttribute("title")!==null){e.setAttribute("data-title",e.getAttribute("title"));e.removeAttribute("title")}if(e.getAttribute("data-title")!==null){const titleContent=document.createElement("div");titleContent.className="content";titleContent.appendChild(document.createTextNode(e.getAttribute("data-title")));wrapper.appendChild(titleContent)}}wrapper.className="tooltip popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideTooltip;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_TOOLTIP_ELEMENT=wrapper;window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE=e;clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);wrapper.onpointerenter=ev=>{if(ev.pointerType!=="mouse"){return}clearTooltipHoverTimeout(e)};wrapper.onpointerleave=ev=>{if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&!elemIsInParent(ev.relatedTarget,e)){setTooltipHoverTimeout(e,false);addClass(wrapper,"fade-out")}}}function setTooltipHoverTimeout(element,show){clearTooltipHoverTimeout(element);if(!show&&!window.CURRENT_TOOLTIP_ELEMENT){return}if(show&&window.CURRENT_TOOLTIP_ELEMENT){return}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE!==element){return}element.TOOLTIP_HOVER_TIMEOUT=setTimeout(()=>{if(show){showTooltip(element)}else if(!element.TOOLTIP_FORCE_VISIBLE){hideTooltip(false)}},show?window.RUSTDOC_TOOLTIP_HOVER_MS:window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS)}function clearTooltipHoverTimeout(element){if(element.TOOLTIP_HOVER_TIMEOUT!==undefined){removeClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out");clearTimeout(element.TOOLTIP_HOVER_TIMEOUT);delete element.TOOLTIP_HOVER_TIMEOUT}}function tooltipBlurHandler(event){if(window.CURRENT_TOOLTIP_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_TOOLTIP_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE)){setTimeout(()=>hideTooltip(false),0)}}function hideTooltip(focus){if(window.CURRENT_TOOLTIP_ELEMENT){if(window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE){if(focus){window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.focus()}window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_TOOLTIP_ELEMENT);clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);window.CURRENT_TOOLTIP_ELEMENT=null}}onEachLazy(document.getElementsByClassName("tooltip"),e=>{e.onclick=()=>{e.TOOLTIP_FORCE_VISIBLE=e.TOOLTIP_FORCE_VISIBLE?false:true;if(window.CURRENT_TOOLTIP_ELEMENT&&!e.TOOLTIP_FORCE_VISIBLE){hideTooltip(true)}else{showTooltip(e);window.CURRENT_TOOLTIP_ELEMENT.setAttribute("tabindex","0");window.CURRENT_TOOLTIP_ELEMENT.focus();window.CURRENT_TOOLTIP_ELEMENT.onblur=tooltipBlurHandler}return false};e.onpointerenter=ev=>{if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(e,true)};e.onpointermove=ev=>{if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(e,true)};e.onpointerleave=ev=>{if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&!elemIsInParent(ev.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT)){setTooltipHoverTimeout(e,false);addClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out")}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");const channel=getVar("channel");book_info.className="top";book_info.innerHTML=`You can find more information in \ the rustdoc book.`;const shortcuts=[["?","Show this help dialog"],["S","Focus the search field"],["↑","Move up in search results"],["↓","Move down in search results"],["← / →","Switch result tab (when results focused)"],["⏎","Go to active search result"],["+","Expand all sections"],["-","Collapse all sections"],].map(x=>"
      "+x[0].split(" ").map((y,index)=>((index&1)===0?""+y+"":" "+y+" ")).join("")+"
      "+x[1]+"
      ").join("");const div_shortcuts=document.createElement("div");addClass(div_shortcuts,"shortcuts");div_shortcuts.innerHTML="

      Keyboard Shortcuts

      "+shortcuts+"
      ";const infos=[`For a full list of all search features, take a look here.`,"Prefix searches with a type followed by a colon (e.g., fn:) to \ diff --git a/static.files/noscript-5d8b3c7633ad77ba.css b/static.files/noscript-5d8b3c7633ad77ba.css new file mode 100644 index 000000000..8c63ef065 --- /dev/null +++ b/static.files/noscript-5d8b3c7633ad77ba.css @@ -0,0 +1 @@ + #main-content .attributes{margin-left:0 !important;}#copy-path{display:none;}nav.sub{display:none;}.src .sidebar{display:none;}.notable-traits{display:none;}:root{--main-background-color:white;--main-color:black;--settings-input-color:#2196f3;--settings-input-border-color:#717171;--settings-button-color:#000;--settings-button-border-focus:#717171;--sidebar-background-color:#f5f5f5;--sidebar-background-color-hover:#e0e0e0;--code-block-background-color:#f5f5f5;--scrollbar-track-background-color:#dcdcdc;--scrollbar-thumb-background-color:rgba(36,37,39,0.6);--scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;--headings-border-bottom-color:#ddd;--border-color:#e0e0e0;--button-background-color:#fff;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:none;--search-input-focused-border-color:#66afe9;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(35%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#ad378a;--trait-link-color:#6e4fc9;--assoc-item-link-color:#3873ad;--function-link-color:#ad7c37;--macro-link-color:#068000;--keyword-link-color:#3873ad;--mod-link-color:#3873ad;--link-color:#3873ad;--sidebar-link-color:#356da4;--sidebar-current-link-background-color:#fff;--search-result-link-focus-background-color:#ccc;--search-result-border-color:#aaa3;--search-color:#000;--search-error-code-background-color:#d0cccc;--search-results-alias-color:#000;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#e6e6e6;--search-tab-button-not-selected-background:#e6e6e6;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#fff;--stab-background-color:#fff5d6;--stab-code-color:#000;--code-highlight-kw-color:#8959a8;--code-highlight-kw-2-color:#4271ae;--code-highlight-lifetime-color:#b76514;--code-highlight-prelude-color:#4271ae;--code-highlight-prelude-val-color:#c82829;--code-highlight-number-color:#718c00;--code-highlight-string-color:#718c00;--code-highlight-literal-color:#c82829;--code-highlight-attribute-color:#c82829;--code-highlight-self-color:#c82829;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8e908c;--code-highlight-doc-comment-color:#4d4d4c;--src-line-numbers-span-color:#c67e2d;--src-line-number-highlighted-background-color:#fdffd3;--test-arrow-color:#f5f5f5;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#f5f5f5;--test-arrow-hover-background-color:rgb(78,139,202);--target-background-color:#fdffd3;--target-border-color:#ad7c37;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:initial;--crate-search-div-filter:invert(100%) sepia(0%) saturate(4223%) hue-rotate(289deg) brightness(114%) contrast(76%);--crate-search-div-hover-filter:invert(44%) sepia(18%) saturate(23%) hue-rotate(317deg) brightness(96%) contrast(93%);--crate-search-hover-border:#717171;--src-sidebar-background-selected:#fff;--src-sidebar-background-hover:#e0e0e0;--table-alt-row-background-color:#f5f5f5;--codeblock-link-background:#eee;--scrape-example-toggle-line-background:#ccc;--scrape-example-toggle-line-hover-background:#999;--scrape-example-code-line-highlight:#fcffd6;--scrape-example-code-line-highlight-focus:#f6fdb0;--scrape-example-help-border-color:#555;--scrape-example-help-color:#333;--scrape-example-help-hover-border-color:#000;--scrape-example-help-hover-color:#000;--scrape-example-code-wrapper-background-start:rgba(255,255,255,1);--scrape-example-code-wrapper-background-end:rgba(255,255,255,0);}@media (prefers-color-scheme:dark){:root{--main-background-color:#353535;--main-color:#ddd;--settings-input-color:#2196f3;--settings-input-border-color:#999;--settings-button-color:#000;--settings-button-border-focus:#ffb900;--sidebar-background-color:#505050;--sidebar-background-color-hover:#676767;--code-block-background-color:#2A2A2A;--scrollbar-track-background-color:#717171;--scrollbar-thumb-background-color:rgba(32,34,37,.6);--scrollbar-color:rgba(32,34,37,.6) #5a5a5a;--headings-border-bottom-color:#d2d2d2;--border-color:#e0e0e0;--button-background-color:#f0f0f0;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--search-input-focused-border-color:#008dfd;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(65%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#2dbfb8;--trait-link-color:#b78cf2;--assoc-item-link-color:#d2991d;--function-link-color:#2bab63;--macro-link-color:#09bd00;--keyword-link-color:#d2991d;--mod-link-color:#d2991d;--link-color:#d2991d;--sidebar-link-color:#fdbf35;--sidebar-current-link-background-color:#444;--search-result-link-focus-background-color:#616161;--search-result-border-color:#aaa3;--search-color:#111;--search-error-code-background-color:#484848;--search-results-alias-color:#fff;--search-results-grey-color:#ccc;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#252525;--search-tab-button-not-selected-background:#252525;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#353535;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ab8ac1;--code-highlight-kw-2-color:#769acb;--code-highlight-lifetime-color:#d97f26;--code-highlight-prelude-color:#769acb;--code-highlight-prelude-val-color:#ee6868;--code-highlight-number-color:#83a300;--code-highlight-string-color:#83a300;--code-highlight-literal-color:#ee6868;--code-highlight-attribute-color:#ee6868;--code-highlight-self-color:#ee6868;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8d8d8b;--code-highlight-doc-comment-color:#8ca375;--src-line-numbers-span-color:#3b91e2;--src-line-number-highlighted-background-color:#0a042f;--test-arrow-color:#dedede;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#dedede;--test-arrow-hover-background-color:#4e8bca;--target-background-color:#494a3d;--target-border-color:#bb7410;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(94%) sepia(0%) saturate(721%) hue-rotate(255deg) brightness(90%) contrast(90%);--crate-search-div-hover-filter:invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);--crate-search-hover-border:#2196f3;--src-sidebar-background-selected:#333;--src-sidebar-background-hover:#444;--table-alt-row-background-color:#2a2a2a;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:#5b3b01;--scrape-example-code-line-highlight-focus:#7c4b0f;--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(53,53,53,1);--scrape-example-code-wrapper-background-end:rgba(53,53,53,0);}} \ No newline at end of file diff --git a/static.files/noscript-cffde32267a19fd6.css b/static.files/noscript-cffde32267a19fd6.css deleted file mode 100644 index 12d3f6dd5..000000000 --- a/static.files/noscript-cffde32267a19fd6.css +++ /dev/null @@ -1 +0,0 @@ - #main-content .attributes{margin-left:0 !important;}#copy-path{display:none;}nav.sub{display:none;}.src .sidebar{display:none;}.notable-traits{display:none;} \ No newline at end of file diff --git a/static.files/rustdoc-ae1b282cda4c21ec.css b/static.files/rustdoc-085727c29c2fa99e.css similarity index 70% rename from static.files/rustdoc-ae1b282cda4c21ec.css rename to static.files/rustdoc-085727c29c2fa99e.css index 11102a2f5..45cd4d6bd 100644 --- a/static.files/rustdoc-ae1b282cda4c21ec.css +++ b/static.files/rustdoc-085727c29c2fa99e.css @@ -7,4 +7,4 @@ shape-rendering="crispEdges" stroke="black" fill="none" xmlns="http://www.w3.org/2000/svg">') no-repeat top left;content:"";cursor:pointer;width:16px;height:16px;display:inline-block;vertical-align:middle;opacity:.5;filter:var(--toggle-filter);}details.toggle>summary.hideme>span,.more-examples-toggle summary,.more-examples-toggle .hide-more{color:var(--toggles-color);}details.toggle>summary::after{content:"Expand";overflow:hidden;width:0;height:0;position:absolute;}details.toggle>summary.hideme::after{content:"";}details.toggle>summary:focus::before,details.toggle>summary:hover::before{opacity:1;}details.toggle>summary:focus-visible::before{outline:1px dotted #000;outline-offset:1px;}details.non-exhaustive{margin-bottom:8px;}details.toggle>summary.hideme::before{position:relative;}details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;top:4px;}.impl-items>details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;}details.toggle[open] >summary.hideme{position:absolute;}details.toggle[open] >summary.hideme>span{display:none;}details.toggle[open] >summary::before{background:url('data:image/svg+xml,') no-repeat top left;}details.toggle[open] >summary::after{content:"Collapse";}.docblock summary>*{display:inline-block;}.docblock>.example-wrap:first-child .tooltip{margin-top:16px;}@media (max-width:700px){*[id]{scroll-margin-top:45px;}.rustdoc{display:block;}main{padding-left:15px;padding-top:0px;}.main-heading{flex-direction:column;}.out-of-band{text-align:left;margin-left:initial;padding:initial;}.out-of-band .since::before{content:"Since ";}.sidebar .logo-container,.sidebar .location{display:none;}.sidebar{position:fixed;top:45px;left:-1000px;z-index:11;height:calc(100vh - 45px);width:200px;}.src main,.rustdoc.src .sidebar{top:0;padding:0;height:100vh;border:0;}.sidebar.shown,.src-sidebar-expanded .src .sidebar,.rustdoc:not(.src) .sidebar:focus-within{left:0;}.mobile-topbar h2{padding-bottom:0;margin:auto 0.5em auto auto;overflow:hidden;font-size:24px;}.mobile-topbar h2 a{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin:5px 0 5px 20px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.sidebar-menu-toggle{width:45px;font-size:32px;border:none;color:var(--main-color);}.sidebar-elems{margin-top:1em;}.anchor{display:none !important;}#search-tabs .count{display:block;}#main-content>details.toggle>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}#src-sidebar-toggle{position:fixed;left:1px;top:100px;width:30px;font-size:1.5rem;padding:0;z-index:10;border-top-right-radius:3px;border-bottom-right-radius:3px;border:1px solid;border-left:0;}.src-sidebar-expanded #src-sidebar-toggle{left:unset;top:unset;width:unset;border-top-right-radius:unset;border-bottom-right-radius:unset;position:sticky;border:0;border-bottom:1px solid;}#copy-path,#help-button{display:none;}.item-table,.item-row,.item-table>li,.item-table>li>div,.search-results>a,.search-results>a>div{display:block;}.search-results>a{padding:5px 0px;}.search-results>a>div.desc,.item-table>li>div.desc{padding-left:2em;}.search-results .result-name{display:block;}.search-results .result-name .typename{width:initial;margin-right:0;}.search-results .result-name .typename,.search-results .result-name .path{display:inline;}.src-sidebar-expanded .src .sidebar{max-width:100vw;width:100vw;}details.toggle:not(.top-doc)>summary{margin-left:10px;}.impl-items>details.toggle>summary:not(.hideme)::before,#main-content>details.toggle:not(.top-doc)>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}.impl-items>.item-info{margin-left:34px;}.src nav.sub{margin:0;padding:var(--nav-sub-mobile-padding);}}@media (min-width:701px){.scraped-example-title{position:absolute;z-index:10;background:var(--main-background-color);bottom:8px;right:5px;padding:2px 4px;box-shadow:0 0 4px var(--main-background-color);}}@media print{nav.sidebar,nav.sub,.out-of-band,a.src,#copy-path,details.toggle[open] >summary::before,details.toggle>summary::before,details.toggle.top-doc>summary{display:none;}.docblock{margin-left:0;}main{padding:10px;}}@media (max-width:464px){.docblock{margin-left:12px;}.docblock code{overflow-wrap:break-word;overflow-wrap:anywhere;}nav.sub{flex-direction:column;}.search-form{align-self:stretch;}.sub-logo-container>img{height:35px;width:35px;margin-bottom:var(--nav-sub-mobile-padding);}}.variant,.implementors-toggle>summary,.impl,#implementors-list>.docblock,.impl-items>section,.impl-items>.toggle>summary,.methods>section,.methods>.toggle>summary{margin-bottom:0.75em;}.variants>.docblock,.implementors-toggle>.docblock,.impl-items>.toggle[open]:not(:last-child),.methods>.toggle[open]:not(:last-child),.implementors-toggle[open]:not(:last-child){margin-bottom:2em;}#trait-implementations-list .impl-items>.toggle:not(:last-child),#synthetic-implementations-list .impl-items>.toggle:not(:last-child),#blanket-implementations-list .impl-items>.toggle:not(:last-child){margin-bottom:1em;}.scraped-example-list .scrape-help{margin-left:10px;padding:0 4px;font-weight:normal;font-size:12px;position:relative;bottom:1px;border:1px solid var(--scrape-example-help-border-color);border-radius:50px;color:var(--scrape-example-help-color);}.scraped-example-list .scrape-help:hover{border-color:var(--scrape-example-help-hover-border-color);color:var(--scrape-example-help-hover-color);}.scraped-example{position:relative;}.scraped-example .code-wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;}.scraped-example:not(.expanded) .code-wrapper{max-height:calc(1.5em * 5 + 10px);}.scraped-example:not(.expanded) .code-wrapper pre{overflow-y:hidden;padding-bottom:0;max-height:calc(1.5em * 5 + 10px);}.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper,.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper pre{max-height:calc(1.5em * 10 + 10px);}.scraped-example .code-wrapper .next,.scraped-example .code-wrapper .prev,.scraped-example .code-wrapper .expand{color:var(--main-color);position:absolute;top:0.25em;z-index:1;padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.scraped-example .code-wrapper .prev{right:2.25em;}.scraped-example .code-wrapper .next{right:1.25em;}.scraped-example .code-wrapper .expand{right:0.25em;}.scraped-example:not(.expanded) .code-wrapper::before,.scraped-example:not(.expanded) .code-wrapper::after{content:" ";width:100%;height:5px;position:absolute;z-index:1;}.scraped-example:not(.expanded) .code-wrapper::before{top:0;background:linear-gradient(to bottom,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example:not(.expanded) .code-wrapper::after{bottom:0;background:linear-gradient(to top,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example .code-wrapper .example-wrap{width:100%;overflow-y:hidden;margin-bottom:0;}.scraped-example:not(.expanded) .code-wrapper .example-wrap{overflow-x:hidden;}.scraped-example .example-wrap .rust span.highlight{background:var(--scrape-example-code-line-highlight);}.scraped-example .example-wrap .rust span.highlight.focus{background:var(--scrape-example-code-line-highlight-focus);}.more-examples-toggle{max-width:calc(100% + 25px);margin-top:10px;margin-left:-25px;}.more-examples-toggle .hide-more{margin-left:25px;cursor:pointer;}.more-scraped-examples{margin-left:25px;position:relative;}.toggle-line{position:absolute;top:5px;bottom:0;right:calc(100% + 10px);padding:0 4px;cursor:pointer;}.toggle-line-inner{min-width:2px;height:100%;background:var(--scrape-example-toggle-line-background);}.toggle-line:hover .toggle-line-inner{background:var(--scrape-example-toggle-line-hover-background);}.more-scraped-examples .scraped-example,.example-links{margin-top:20px;}.more-scraped-examples .scraped-example:first-child{margin-top:5px;}.example-links ul{margin-bottom:0;} \ No newline at end of file +d="M5 2.5H2.5v12H5m7-12h2.5v12H12M5 8.5h7"/>') no-repeat top left;}details.toggle[open] >summary::after{content:"Collapse";}.docblock summary>*{display:inline-block;}.docblock>.example-wrap:first-child .tooltip{margin-top:16px;}@media (max-width:700px){*[id]{scroll-margin-top:45px;}.rustdoc{display:block;}main{padding-left:15px;padding-top:0px;}.main-heading{flex-direction:column;}.out-of-band{text-align:left;margin-left:initial;padding:initial;}.out-of-band .since::before{content:"Since ";}.sidebar .logo-container,.sidebar .location{display:none;}.sidebar{position:fixed;top:45px;left:-1000px;z-index:11;height:calc(100vh - 45px);width:200px;}.src main,.rustdoc.src .sidebar{top:0;padding:0;height:100vh;border:0;}.sidebar.shown,.src-sidebar-expanded .src .sidebar,.rustdoc:not(.src) .sidebar:focus-within{left:0;}.mobile-topbar h2{padding-bottom:0;margin:auto 0.5em auto auto;overflow:hidden;font-size:24px;}.mobile-topbar h2 a{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin:5px 0 5px 20px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.sidebar-menu-toggle{width:45px;font-size:32px;border:none;color:var(--main-color);}.sidebar-elems{margin-top:1em;}.anchor{display:none !important;}#search-tabs .count{display:block;}#main-content>details.toggle>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}#src-sidebar-toggle{position:fixed;left:1px;top:100px;width:30px;font-size:1.5rem;padding:0;z-index:10;border-top-right-radius:3px;border-bottom-right-radius:3px;border:1px solid;border-left:0;}.src-sidebar-expanded #src-sidebar-toggle{left:unset;top:unset;width:unset;border-top-right-radius:unset;border-bottom-right-radius:unset;position:sticky;border:0;border-bottom:1px solid;}#copy-path,#help-button{display:none;}.item-table,.item-row,.item-table>li,.item-table>li>div,.search-results>a,.search-results>a>div{display:block;}.search-results>a{padding:5px 0px;}.search-results>a>div.desc,.item-table>li>div.desc{padding-left:2em;}.search-results .result-name{display:block;}.search-results .result-name .typename{width:initial;margin-right:0;}.search-results .result-name .typename,.search-results .result-name .path{display:inline;}.src-sidebar-expanded .src .sidebar{max-width:100vw;width:100vw;}details.toggle:not(.top-doc)>summary{margin-left:10px;}.impl-items>details.toggle>summary:not(.hideme)::before,#main-content>details.toggle:not(.top-doc)>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}.impl-items>.item-info{margin-left:34px;}.src nav.sub{margin:0;padding:var(--nav-sub-mobile-padding);}}@media (min-width:701px){.scraped-example-title{position:absolute;z-index:10;background:var(--main-background-color);bottom:8px;right:5px;padding:2px 4px;box-shadow:0 0 4px var(--main-background-color);}}@media print{nav.sidebar,nav.sub,.out-of-band,a.src,#copy-path,details.toggle[open] >summary::before,details.toggle>summary::before,details.toggle.top-doc>summary{display:none;}.docblock{margin-left:0;}main{padding:10px;}}@media (max-width:464px){.docblock{margin-left:12px;}.docblock code{overflow-wrap:break-word;overflow-wrap:anywhere;}nav.sub{flex-direction:column;}.search-form{align-self:stretch;}.sub-logo-container>img{height:35px;width:35px;margin-bottom:var(--nav-sub-mobile-padding);}}.variant,.implementors-toggle>summary,.impl,#implementors-list>.docblock,.impl-items>section,.impl-items>.toggle>summary,.methods>section,.methods>.toggle>summary{margin-bottom:0.75em;}.variants>.docblock,.implementors-toggle>.docblock,.impl-items>.toggle[open]:not(:last-child),.methods>.toggle[open]:not(:last-child),.implementors-toggle[open]:not(:last-child){margin-bottom:2em;}#trait-implementations-list .impl-items>.toggle:not(:last-child),#synthetic-implementations-list .impl-items>.toggle:not(:last-child),#blanket-implementations-list .impl-items>.toggle:not(:last-child){margin-bottom:1em;}.scraped-example-list .scrape-help{margin-left:10px;padding:0 4px;font-weight:normal;font-size:12px;position:relative;bottom:1px;border:1px solid var(--scrape-example-help-border-color);border-radius:50px;color:var(--scrape-example-help-color);}.scraped-example-list .scrape-help:hover{border-color:var(--scrape-example-help-hover-border-color);color:var(--scrape-example-help-hover-color);}.scraped-example{position:relative;}.scraped-example .code-wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;}.scraped-example:not(.expanded) .code-wrapper{max-height:calc(1.5em * 5 + 10px);}.scraped-example:not(.expanded) .code-wrapper pre{overflow-y:hidden;padding-bottom:0;max-height:calc(1.5em * 5 + 10px);}.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper,.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper pre{max-height:calc(1.5em * 10 + 10px);}.scraped-example .code-wrapper .next,.scraped-example .code-wrapper .prev,.scraped-example .code-wrapper .expand{color:var(--main-color);position:absolute;top:0.25em;z-index:1;padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.scraped-example .code-wrapper .prev{right:2.25em;}.scraped-example .code-wrapper .next{right:1.25em;}.scraped-example .code-wrapper .expand{right:0.25em;}.scraped-example:not(.expanded) .code-wrapper::before,.scraped-example:not(.expanded) .code-wrapper::after{content:" ";width:100%;height:5px;position:absolute;z-index:1;}.scraped-example:not(.expanded) .code-wrapper::before{top:0;background:linear-gradient(to bottom,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example:not(.expanded) .code-wrapper::after{bottom:0;background:linear-gradient(to top,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example .code-wrapper .example-wrap{width:100%;overflow-y:hidden;margin-bottom:0;}.scraped-example:not(.expanded) .code-wrapper .example-wrap{overflow-x:hidden;}.scraped-example .example-wrap .rust span.highlight{background:var(--scrape-example-code-line-highlight);}.scraped-example .example-wrap .rust span.highlight.focus{background:var(--scrape-example-code-line-highlight-focus);}.more-examples-toggle{max-width:calc(100% + 25px);margin-top:10px;margin-left:-25px;}.more-examples-toggle .hide-more{margin-left:25px;cursor:pointer;}.more-scraped-examples{margin-left:25px;position:relative;}.toggle-line{position:absolute;top:5px;bottom:0;right:calc(100% + 10px);padding:0 4px;cursor:pointer;}.toggle-line-inner{min-width:2px;height:100%;background:var(--scrape-example-toggle-line-background);}.toggle-line:hover .toggle-line-inner{background:var(--scrape-example-toggle-line-hover-background);}.more-scraped-examples .scraped-example,.example-links{margin-top:20px;}.more-scraped-examples .scraped-example:first-child{margin-top:5px;}.example-links ul{margin-bottom:0;}:root[data-theme="light"]{--main-background-color:white;--main-color:black;--settings-input-color:#2196f3;--settings-input-border-color:#717171;--settings-button-color:#000;--settings-button-border-focus:#717171;--sidebar-background-color:#f5f5f5;--sidebar-background-color-hover:#e0e0e0;--code-block-background-color:#f5f5f5;--scrollbar-track-background-color:#dcdcdc;--scrollbar-thumb-background-color:rgba(36,37,39,0.6);--scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;--headings-border-bottom-color:#ddd;--border-color:#e0e0e0;--button-background-color:#fff;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:none;--search-input-focused-border-color:#66afe9;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(35%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#ad378a;--trait-link-color:#6e4fc9;--assoc-item-link-color:#3873ad;--function-link-color:#ad7c37;--macro-link-color:#068000;--keyword-link-color:#3873ad;--mod-link-color:#3873ad;--link-color:#3873ad;--sidebar-link-color:#356da4;--sidebar-current-link-background-color:#fff;--search-result-link-focus-background-color:#ccc;--search-result-border-color:#aaa3;--search-color:#000;--search-error-code-background-color:#d0cccc;--search-results-alias-color:#000;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#e6e6e6;--search-tab-button-not-selected-background:#e6e6e6;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#fff;--stab-background-color:#fff5d6;--stab-code-color:#000;--code-highlight-kw-color:#8959a8;--code-highlight-kw-2-color:#4271ae;--code-highlight-lifetime-color:#b76514;--code-highlight-prelude-color:#4271ae;--code-highlight-prelude-val-color:#c82829;--code-highlight-number-color:#718c00;--code-highlight-string-color:#718c00;--code-highlight-literal-color:#c82829;--code-highlight-attribute-color:#c82829;--code-highlight-self-color:#c82829;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8e908c;--code-highlight-doc-comment-color:#4d4d4c;--src-line-numbers-span-color:#c67e2d;--src-line-number-highlighted-background-color:#fdffd3;--test-arrow-color:#f5f5f5;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#f5f5f5;--test-arrow-hover-background-color:rgb(78,139,202);--target-background-color:#fdffd3;--target-border-color:#ad7c37;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:initial;--crate-search-div-filter:invert(100%) sepia(0%) saturate(4223%) hue-rotate(289deg) brightness(114%) contrast(76%);--crate-search-div-hover-filter:invert(44%) sepia(18%) saturate(23%) hue-rotate(317deg) brightness(96%) contrast(93%);--crate-search-hover-border:#717171;--src-sidebar-background-selected:#fff;--src-sidebar-background-hover:#e0e0e0;--table-alt-row-background-color:#f5f5f5;--codeblock-link-background:#eee;--scrape-example-toggle-line-background:#ccc;--scrape-example-toggle-line-hover-background:#999;--scrape-example-code-line-highlight:#fcffd6;--scrape-example-code-line-highlight-focus:#f6fdb0;--scrape-example-help-border-color:#555;--scrape-example-help-color:#333;--scrape-example-help-hover-border-color:#000;--scrape-example-help-hover-color:#000;--scrape-example-code-wrapper-background-start:rgba(255,255,255,1);--scrape-example-code-wrapper-background-end:rgba(255,255,255,0);}:root[data-theme="dark"]{--main-background-color:#353535;--main-color:#ddd;--settings-input-color:#2196f3;--settings-input-border-color:#999;--settings-button-color:#000;--settings-button-border-focus:#ffb900;--sidebar-background-color:#505050;--sidebar-background-color-hover:#676767;--code-block-background-color:#2A2A2A;--scrollbar-track-background-color:#717171;--scrollbar-thumb-background-color:rgba(32,34,37,.6);--scrollbar-color:rgba(32,34,37,.6) #5a5a5a;--headings-border-bottom-color:#d2d2d2;--border-color:#e0e0e0;--button-background-color:#f0f0f0;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--search-input-focused-border-color:#008dfd;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(65%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#2dbfb8;--trait-link-color:#b78cf2;--assoc-item-link-color:#d2991d;--function-link-color:#2bab63;--macro-link-color:#09bd00;--keyword-link-color:#d2991d;--mod-link-color:#d2991d;--link-color:#d2991d;--sidebar-link-color:#fdbf35;--sidebar-current-link-background-color:#444;--search-result-link-focus-background-color:#616161;--search-result-border-color:#aaa3;--search-color:#111;--search-error-code-background-color:#484848;--search-results-alias-color:#fff;--search-results-grey-color:#ccc;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#252525;--search-tab-button-not-selected-background:#252525;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#353535;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ab8ac1;--code-highlight-kw-2-color:#769acb;--code-highlight-lifetime-color:#d97f26;--code-highlight-prelude-color:#769acb;--code-highlight-prelude-val-color:#ee6868;--code-highlight-number-color:#83a300;--code-highlight-string-color:#83a300;--code-highlight-literal-color:#ee6868;--code-highlight-attribute-color:#ee6868;--code-highlight-self-color:#ee6868;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8d8d8b;--code-highlight-doc-comment-color:#8ca375;--src-line-numbers-span-color:#3b91e2;--src-line-number-highlighted-background-color:#0a042f;--test-arrow-color:#dedede;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#dedede;--test-arrow-hover-background-color:#4e8bca;--target-background-color:#494a3d;--target-border-color:#bb7410;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(94%) sepia(0%) saturate(721%) hue-rotate(255deg) brightness(90%) contrast(90%);--crate-search-div-hover-filter:invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);--crate-search-hover-border:#2196f3;--src-sidebar-background-selected:#333;--src-sidebar-background-hover:#444;--table-alt-row-background-color:#2a2a2a;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:#5b3b01;--scrape-example-code-line-highlight-focus:#7c4b0f;--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(53,53,53,1);--scrape-example-code-wrapper-background-end:rgba(53,53,53,0);}:root[data-theme="ayu"]{--main-background-color:#0f1419;--main-color:#c5c5c5;--settings-input-color:#ffb454;--settings-input-border-color:#999;--settings-button-color:#fff;--settings-button-border-focus:#e0e0e0;--sidebar-background-color:#14191f;--sidebar-background-color-hover:rgba(70,70,70,0.33);--code-block-background-color:#191f26;--scrollbar-track-background-color:transparent;--scrollbar-thumb-background-color:#5c6773;--scrollbar-color:#5c6773 #24292f;--headings-border-bottom-color:#5c6773;--border-color:#5c6773;--button-background-color:#141920;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--search-input-focused-border-color:#5c6773;--copy-path-button-color:#fff;--copy-path-img-filter:invert(70%);--copy-path-img-hover-filter:invert(100%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#ffa0a5;--trait-link-color:#39afd7;--assoc-item-link-color:#39afd7;--function-link-color:#fdd687;--macro-link-color:#a37acc;--keyword-link-color:#39afd7;--mod-link-color:#39afd7;--link-color:#39afd7;--sidebar-link-color:#53b1db;--sidebar-current-link-background-color:transparent;--search-result-link-focus-background-color:#3c3c3c;--search-result-border-color:#aaa3;--search-color:#fff;--search-error-code-background-color:#4f4c4c;--search-results-alias-color:#c5c5c5;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:none;--search-tab-button-not-selected-background:transparent !important;--search-tab-button-selected-border-top-color:none;--search-tab-button-selected-background:#141920 !important;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ff7733;--code-highlight-kw-2-color:#ff7733;--code-highlight-lifetime-color:#ff7733;--code-highlight-prelude-color:#69f2df;--code-highlight-prelude-val-color:#ff7733;--code-highlight-number-color:#b8cc52;--code-highlight-string-color:#b8cc52;--code-highlight-literal-color:#ff7733;--code-highlight-attribute-color:#e6e1cf;--code-highlight-self-color:#36a3d9;--code-highlight-macro-color:#a37acc;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#788797;--code-highlight-doc-comment-color:#a1ac88;--src-line-numbers-span-color:#5c6773;--src-line-number-highlighted-background-color:rgba(255,236,164,0.06);--test-arrow-color:#788797;--test-arrow-background-color:rgba(57,175,215,0.09);--test-arrow-hover-color:#c5c5c5;--test-arrow-hover-background-color:rgba(57,175,215,0.368);--target-background-color:rgba(255,236,164,0.06);--target-border-color:rgba(255,180,76,0.85);--kbd-color:#c5c5c5;--kbd-background:#314559;--kbd-box-shadow-color:#5c6773;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(41%) sepia(12%) saturate(487%) hue-rotate(171deg) brightness(94%) contrast(94%);--crate-search-div-hover-filter:invert(98%) sepia(12%) saturate(81%) hue-rotate(343deg) brightness(113%) contrast(76%);--crate-search-hover-border:#e0e0e0;--src-sidebar-background-selected:#14191f;--src-sidebar-background-hover:#14191f;--table-alt-row-background-color:#191f26;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:#5b3b01;--scrape-example-code-line-highlight-focus:#7c4b0f;--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(15,20,25,1);--scrape-example-code-wrapper-background-end:rgba(15,20,25,0);}:root[data-theme="ayu"] h1,:root[data-theme="ayu"] h2,:root[data-theme="ayu"] h3,:root[data-theme="ayu"] h4,:where(:root[data-theme="ayu"]) h1 a,:root[data-theme="ayu"] .sidebar h2 a,:root[data-theme="ayu"] .sidebar h3 a,:root[data-theme="ayu"] #source-sidebar>.title{color:#fff;}:root[data-theme="ayu"] .docblock code{color:#ffb454;}:root[data-theme="ayu"] .docblock a>code{color:#39AFD7 !important;}:root[data-theme="ayu"] .code-header,:root[data-theme="ayu"] .docblock pre>code,:root[data-theme="ayu"] pre,:root[data-theme="ayu"] pre>code,:root[data-theme="ayu"] .item-info code,:root[data-theme="ayu"] .rustdoc.source .example-wrap{color:#e6e1cf;}:root[data-theme="ayu"] .sidebar .current,:root[data-theme="ayu"] .sidebar a:hover,:root[data-theme="ayu"] #src-sidebar div.files>a:hover,:root[data-theme="ayu"] details.dir-entry summary:hover,:root[data-theme="ayu"] #src-sidebar div.files>a:focus,:root[data-theme="ayu"] details.dir-entry summary:focus,:root[data-theme="ayu"] #src-sidebar div.files>a.selected{color:#ffb44c;}:root[data-theme="ayu"] .sidebar-elems .location{color:#ff7733;}:root[data-theme="ayu"] .src-line-numbers .line-highlighted{color:#708090;padding-right:7px;border-right:1px solid #ffb44c;}:root[data-theme="ayu"] .search-results a:hover,:root[data-theme="ayu"] .search-results a:focus{color:#fff !important;background-color:#3c3c3c;}:root[data-theme="ayu"] .search-results a{color:#0096cf;}:root[data-theme="ayu"] .search-results a div.desc{color:#c5c5c5;}:root[data-theme="ayu"] .result-name .primitive>i,:root[data-theme="ayu"] .result-name .keyword>i{color:#788797;}:root[data-theme="ayu"] #search-tabs>button.selected{border-bottom:1px solid #ffb44c !important;border-top:none;}:root[data-theme="ayu"] #search-tabs>button:not(.selected){border:none;background-color:transparent !important;}:root[data-theme="ayu"] #search-tabs>button:hover{border-bottom:1px solid rgba(242,151,24,0.3);}:root[data-theme="ayu"] #settings-menu>a img{filter:invert(100);} \ No newline at end of file diff --git a/static.files/storage-db41da1a38ea3cb8.js b/static.files/storage-db41da1a38ea3cb8.js deleted file mode 100644 index b87281359..000000000 --- a/static.files/storage-db41da1a38ea3cb8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");return settingsElement&&settingsElement.dataset?settingsElement.dataset:null})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current===null&&settingsDataset!==null){const def=settingsDataset[settingName.replace(/-/g,"_")];if(def!==undefined){return def}}return current}const localStoredTheme=getSettingValue("theme");function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(elem&&elem.classList){elem.classList.add(className)}}function removeClass(elem,className){if(elem&&elem.classList){elem.classList.remove(className)}}function onEach(arr,func,reversed){if(arr&&arr.length>0){if(reversed){for(let i=arr.length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}const getVar=(function getVar(name){const el=document.querySelector("head > meta[name='rustdoc-vars']");return el?el.attributes["data-"+name].value:null});function switchTheme(newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}let newHref;if(newThemeName==="light"||newThemeName==="dark"||newThemeName==="ayu"){newHref=getVar("static-root-path")+getVar("theme-"+newThemeName+"-css")}else{newHref=getVar("root-path")+newThemeName+getVar("resource-suffix")+".css"}if(!window.currentTheme){document.write(``);window.currentTheme=document.getElementById("themeStyle")}else if(newHref!==window.currentTheme.href){window.currentTheme.href=newHref}}const updateTheme=(function(){const mql=window.matchMedia("(prefers-color-scheme: dark)");function updateTheme(){if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";updateLocalStorage("use-system-theme","true");switchTheme(mql.matches?darkTheme:lightTheme,true)}else{switchTheme(getSettingValue("theme"),false)}}mql.addEventListener("change",updateTheme);return updateTheme})();if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}}updateTheme();if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"src-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(updateTheme,0)}}) \ No newline at end of file diff --git a/static.files/storage-fec3eaa3851e447d.js b/static.files/storage-fec3eaa3851e447d.js new file mode 100644 index 000000000..a687118f3 --- /dev/null +++ b/static.files/storage-fec3eaa3851e447d.js @@ -0,0 +1 @@ +"use strict";const builtinThemes=["light","dark","ayu"];const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");return settingsElement&&settingsElement.dataset?settingsElement.dataset:null})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current===null&&settingsDataset!==null){const def=settingsDataset[settingName.replace(/-/g,"_")];if(def!==undefined){return def}}return current}const localStoredTheme=getSettingValue("theme");function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(elem&&elem.classList){elem.classList.add(className)}}function removeClass(elem,className){if(elem&&elem.classList){elem.classList.remove(className)}}function onEach(arr,func,reversed){if(arr&&arr.length>0){if(reversed){for(let i=arr.length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}const getVar=(function getVar(name){const el=document.querySelector("head > meta[name='rustdoc-vars']");return el?el.attributes["data-"+name].value:null});function switchTheme(newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}document.documentElement.setAttribute("data-theme",newThemeName);if(builtinThemes.indexOf(newThemeName)!==-1){if(window.currentTheme){window.currentTheme.parentNode.removeChild(window.currentTheme);window.currentTheme=null}}else{const newHref=getVar("root-path")+newThemeName+getVar("resource-suffix")+".css";if(!window.currentTheme){if(document.readyState==="loading"){document.write(``);window.currentTheme=document.getElementById("themeStyle")}else{window.currentTheme=document.createElement("link");window.currentTheme.rel="stylesheet";window.currentTheme.id="themeStyle";window.currentTheme.href=newHref;document.documentElement.appendChild(window.currentTheme)}}else if(newHref!==window.currentTheme.href){window.currentTheme.href=newHref}}}const updateTheme=(function(){const mql=window.matchMedia("(prefers-color-scheme: dark)");function updateTheme(){if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";updateLocalStorage("use-system-theme","true");switchTheme(mql.matches?darkTheme:lightTheme,true)}else{switchTheme(getSettingValue("theme"),false)}}mql.addEventListener("change",updateTheme);return updateTheme})();if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}}updateTheme();if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"src-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(updateTheme,0)}}) \ No newline at end of file