From 9cd41f24c6137a7614eb2350c04ffe7357737d31 Mon Sep 17 00:00:00 2001 From: robjtede Date: Sat, 10 Sep 2022 23:05:41 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=2032313?= =?UTF-8?q?c0af620ee1639a5273fc83e2be18b58eefd=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- actix_cors/all.html | 2 +- actix_cors/enum.CorsError.html | 36 ++--- actix_cors/index.html | 2 +- actix_cors/struct.Cors.html | 34 ++--- actix_identity/all.html | 2 +- .../config/enum.LogoutBehaviour.html | 24 +-- actix_identity/config/index.html | 2 +- .../struct.IdentityMiddlewareBuilder.html | 24 +-- actix_identity/index.html | 2 +- actix_identity/struct.Identity.html | 26 ++-- actix_identity/struct.IdentityMiddleware.html | 26 ++-- actix_identity/trait.IdentityExt.html | 6 +- actix_limitation/all.html | 2 +- .../constant.DEFAULT_COOKIE_NAME.html | 4 +- .../constant.DEFAULT_PERIOD_SECS.html | 4 +- .../constant.DEFAULT_REQUEST_LIMIT.html | 4 +- .../constant.DEFAULT_SESSION_KEY.html | 4 +- actix_limitation/enum.Error.html | 32 ++-- actix_limitation/index.html | 16 +- actix_limitation/struct.Builder.html | 44 +++--- actix_limitation/struct.Limiter.html | 36 ++--- actix_limitation/struct.RateLimiter.html | 32 ++-- actix_limitation/struct.Status.html | 24 +-- actix_protobuf/all.html | 2 +- actix_protobuf/enum.ProtoBufPayloadError.html | 24 +-- actix_protobuf/index.html | 2 +- actix_protobuf/struct.ProtoBuf.html | 32 ++-- actix_protobuf/struct.ProtoBufConfig.html | 22 +-- actix_protobuf/struct.ProtoBufMessage.html | 80 +++++----- .../trait.ProtoBufResponseBuilder.html | 2 +- actix_redis/all.html | 2 +- actix_redis/enum.Error.html | 32 ++-- actix_redis/enum.RespError.html | 34 ++--- actix_redis/enum.RespValue.html | 42 ++--- actix_redis/index.html | 2 +- actix_redis/macro.resp_array.html | 2 +- actix_redis/struct.Command.html | 22 +-- actix_redis/struct.RedisActor.html | 28 ++-- actix_session/all.html | 2 +- .../config/enum.CookieContentSecurity.html | 24 +-- .../config/enum.SessionLifecycle.html | 24 +-- .../config/enum.TtlExtensionPolicy.html | 24 +-- actix_session/config/index.html | 2 +- .../config/struct.BrowserSession.html | 24 +-- .../config/struct.PersistentSession.html | 24 +-- .../struct.SessionMiddlewareBuilder.html | 22 +-- actix_session/enum.SessionStatus.html | 26 ++-- actix_session/index.html | 2 +- actix_session/storage/enum.LoadError.html | 42 ++--- actix_session/storage/enum.SaveError.html | 42 ++--- actix_session/storage/enum.UpdateError.html | 42 ++--- actix_session/storage/index.html | 2 +- .../storage/struct.CookieSessionStore.html | 32 ++-- .../struct.RedisActorSessionStore.html | 32 ++-- .../struct.RedisActorSessionStoreBuilder.html | 24 +-- .../storage/struct.RedisSessionStore.html | 36 ++--- .../struct.RedisSessionStoreBuilder.html | 26 ++-- actix_session/storage/struct.SessionKey.html | 24 +-- actix_session/storage/trait.SessionStore.html | 22 +-- actix_session/struct.Session.html | 24 +-- actix_session/struct.SessionGetError.html | 36 ++--- actix_session/struct.SessionInsertError.html | 36 ++--- actix_session/struct.SessionMiddleware.html | 26 ++-- actix_session/trait.SessionExt.html | 2 +- actix_settings/all.html | 2 +- actix_settings/enum.Backlog.html | 30 ++-- actix_settings/enum.Error.html | 24 +-- actix_settings/enum.KeepAlive.html | 30 ++-- actix_settings/enum.MaxConnectionRate.html | 30 ++-- actix_settings/enum.MaxConnections.html | 30 ++-- actix_settings/enum.Mode.html | 30 ++-- actix_settings/enum.NumWorkers.html | 30 ++-- actix_settings/enum.Timeout.html | 30 ++-- actix_settings/index.html | 4 +- actix_settings/struct.ActixSettings.html | 30 ++-- actix_settings/struct.Address.html | 30 ++-- actix_settings/struct.BasicSettings.html | 38 ++--- actix_settings/struct.NoSettings.html | 30 ++-- actix_settings/struct.Tls.html | 30 ++-- actix_settings/trait.ApplySettings.html | 6 +- actix_settings/trait.Parse.html | 2 +- actix_settings/type.Settings.html | 2 +- actix_web_httpauth/all.html | 2 +- .../extractors/basic/index.html | 2 +- .../extractors/basic/struct.BasicAuth.html | 24 +-- .../extractors/basic/struct.Config.html | 26 ++-- .../extractors/bearer/enum.Error.html | 32 ++-- .../extractors/bearer/index.html | 2 +- .../extractors/bearer/struct.BearerAuth.html | 24 +-- .../extractors/bearer/struct.Config.html | 24 +-- actix_web_httpauth/extractors/index.html | 2 +- .../struct.AuthenticationError.html | 40 ++--- .../extractors/trait.AuthExtractorConfig.html | 2 +- .../authorization/enum.ParseError.html | 32 ++-- .../headers/authorization/index.html | 2 +- .../authorization/struct.Authorization.html | 34 ++--- .../headers/authorization/struct.Basic.html | 32 ++-- .../headers/authorization/struct.Bearer.html | 32 ++-- .../headers/authorization/trait.Scheme.html | 2 +- actix_web_httpauth/headers/index.html | 2 +- .../headers/www_authenticate/basic/index.html | 2 +- .../www_authenticate/basic/struct.Basic.html | 34 ++--- .../www_authenticate/bearer/enum.Error.html | 32 ++-- .../www_authenticate/bearer/index.html | 2 +- .../bearer/struct.Bearer.html | 32 ++-- .../bearer/struct.BearerBuilder.html | 30 ++-- .../headers/www_authenticate/index.html | 2 +- .../struct.WwwAuthenticate.html | 30 ++-- .../www_authenticate/trait.Challenge.html | 2 +- actix_web_httpauth/index.html | 2 +- actix_web_httpauth/middleware/index.html | 2 +- .../middleware/struct.HttpAuthentication.html | 38 ++--- ayu.css | 2 +- dark.css | 2 +- .../transform/trait.Transform.js | 10 +- .../actix_web/extract/trait.FromRequest.js | 2 +- implementors/core/clone/trait.Clone.js | 2 +- implementors/core/convert/trait.From.js | 4 +- implementors/core/fmt/trait.Debug.js | 4 +- implementors/core/fmt/trait.Display.js | 2 +- implementors/core/marker/trait.Freeze.js | 8 +- implementors/core/marker/trait.Send.js | 6 +- implementors/core/marker/trait.Sync.js | 6 +- implementors/core/marker/trait.Unpin.js | 8 +- .../panic/unwind_safe/trait.RefUnwindSafe.js | 10 +- .../panic/unwind_safe/trait.UnwindSafe.js | 10 +- implementors/serde/de/trait.Deserialize.js | 2 +- light.css | 2 +- main.js | 2 +- rustdoc.css | 2 +- search-index.js | 12 +- settings.html | 2 +- src/actix_cors/all_or_some.rs.html | 2 +- src/actix_cors/builder.rs.html | 2 +- src/actix_cors/error.rs.html | 2 +- src/actix_cors/inner.rs.html | 2 +- src/actix_cors/lib.rs.html | 2 +- src/actix_cors/middleware.rs.html | 2 +- src/actix_identity/config.rs.html | 2 +- src/actix_identity/identity.rs.html | 2 +- src/actix_identity/identity_ext.rs.html | 2 +- src/actix_identity/lib.rs.html | 2 +- src/actix_identity/middleware.rs.html | 2 +- src/actix_limitation/builder.rs.html | 144 +++++++++++++++--- src/actix_limitation/errors.rs.html | 2 +- src/actix_limitation/lib.rs.html | 70 +++++++-- src/actix_limitation/middleware.rs.html | 32 +--- src/actix_limitation/status.rs.html | 2 +- src/actix_protobuf/lib.rs.html | 2 +- src/actix_redis/lib.rs.html | 2 +- src/actix_redis/redis.rs.html | 2 +- src/actix_session/config.rs.html | 2 +- src/actix_session/lib.rs.html | 2 +- src/actix_session/middleware.rs.html | 2 +- src/actix_session/session.rs.html | 2 +- src/actix_session/session_ext.rs.html | 2 +- src/actix_session/storage/cookie.rs.html | 2 +- src/actix_session/storage/interface.rs.html | 2 +- src/actix_session/storage/mod.rs.html | 2 +- src/actix_session/storage/redis_actor.rs.html | 2 +- src/actix_session/storage/redis_rs.rs.html | 2 +- src/actix_session/storage/session_key.rs.html | 2 +- src/actix_session/storage/utils.rs.html | 2 +- src/actix_settings/error.rs.html | 2 +- src/actix_settings/lib.rs.html | 2 +- src/actix_settings/parse.rs.html | 2 +- src/actix_settings/settings/address.rs.html | 2 +- src/actix_settings/settings/backlog.rs.html | 2 +- .../settings/keep_alive.rs.html | 2 +- .../settings/max_connection_rate.rs.html | 2 +- .../settings/max_connections.rs.html | 2 +- src/actix_settings/settings/mod.rs.html | 2 +- src/actix_settings/settings/mode.rs.html | 2 +- .../settings/num_workers.rs.html | 2 +- src/actix_settings/settings/timeout.rs.html | 2 +- src/actix_settings/settings/tls.rs.html | 2 +- .../extractors/basic.rs.html | 2 +- .../extractors/bearer.rs.html | 2 +- .../extractors/config.rs.html | 2 +- .../extractors/errors.rs.html | 2 +- src/actix_web_httpauth/extractors/mod.rs.html | 2 +- .../headers/authorization/errors.rs.html | 2 +- .../headers/authorization/header.rs.html | 2 +- .../headers/authorization/mod.rs.html | 2 +- .../authorization/scheme/basic.rs.html | 2 +- .../authorization/scheme/bearer.rs.html | 2 +- .../headers/authorization/scheme/mod.rs.html | 2 +- src/actix_web_httpauth/headers/mod.rs.html | 2 +- .../www_authenticate/challenge/basic.rs.html | 2 +- .../challenge/bearer/builder.rs.html | 2 +- .../challenge/bearer/challenge.rs.html | 2 +- .../challenge/bearer/errors.rs.html | 2 +- .../challenge/bearer/mod.rs.html | 2 +- .../www_authenticate/challenge/mod.rs.html | 2 +- .../headers/www_authenticate/header.rs.html | 2 +- .../headers/www_authenticate/mod.rs.html | 2 +- src/actix_web_httpauth/lib.rs.html | 2 +- src/actix_web_httpauth/middleware.rs.html | 2 +- src/actix_web_httpauth/utils.rs.html | 2 +- 199 files changed, 1441 insertions(+), 1301 deletions(-) diff --git a/actix_cors/all.html b/actix_cors/all.html index 4e8394345..a411f41a0 100644 --- a/actix_cors/all.html +++ b/actix_cors/all.html @@ -1,3 +1,3 @@ List of all items in this crate

List of all items

Structs

Enums

\ No newline at end of file + logo

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 e8f302929..3468d4929 100644 --- a/actix_cors/enum.CorsError.html +++ b/actix_cors/enum.CorsError.html @@ -23,36 +23,36 @@ pub enum CorsError {

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

-

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

-
👎Deprecated since 1.42.0:

use the Display impl or to_string()

-
👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

-
🔬This is a nightly-only experimental API. (error_generic_member_access)

Provides type based access to context intended for error reports. Read more

+

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

+
👎Deprecated since 1.42.0:

use the Display impl or to_string()

+
👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

+
🔬This is a nightly-only experimental API. (error_generic_member_access)

Provides type based access to context intended for error reports. Read more

Returns appropriate status code for error. Read more

Creates full response for error. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

Calls U::from(self).

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
🔬This is a nightly-only experimental API. (provide_any)

Data providers should implement this method to provide all values they are able to +

🔬This is a nightly-only experimental API. (provide_any)

Data providers should implement this method to provide all values they are able to provide by using demand. Read more

Should always be Self

-

The resulting type after obtaining ownership.

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

Converts the given value to a String. Read more

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a +

Converts the given value to a String. Read more

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

-
\ No newline at end of file +
\ No newline at end of file diff --git a/actix_cors/index.html b/actix_cors/index.html index dc9b27fbc..119159734 100644 --- a/actix_cors/index.html +++ b/actix_cors/index.html @@ -39,4 +39,4 @@ }

Structs

Builder for CORS middleware.

Enums

Errors that can occur when processing CORS guarded requests.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/actix_cors/struct.Cors.html b/actix_cors/struct.Cors.html index 86fa9ecea..f89b65437 100644 --- a/actix_cors/struct.Cors.html +++ b/actix_cors/struct.Cors.html @@ -45,7 +45,7 @@ allowed origins.

  • If supplied origin is not valid uri
  • If supplied origin is a wildcard (*). Cors::send_wildcard should be used instead.
  • -

    Determinate allowed origins by processing requests which didn’t match any origins specified +

    Determinate allowed origins by processing requests which didn’t match any origins specified in the allowed_origin.

    The function will receive two parameters, the Origin header value, and the RequestHead of each request, which can be used to determine whether to allow the request or not.

    @@ -53,15 +53,15 @@ each request, which can be used to determine whether to allow the request or not into the Access-Control-Allow-Origin response header.

    Resets allowed methods list to all methods.

    See Cors::allowed_methods for more info on allowed methods.

    -

    Set a list of methods which allowed origins can perform.

    +

    Set a list of methods which allowed origins can perform.

    These will be sent in the Access-Control-Allow-Methods response header as specified in the Fetch Standard CORS protocol.

    Defaults to [GET, HEAD, POST, OPTIONS, PUT, PATCH, DELETE]

    Resets allowed request header list to a state where any header is accepted.

    See Cors::allowed_headers for more info on allowed request headers.

    -

    Add an allowed request header.

    +

    Add an allowed request header.

    See Cors::allowed_headers for more info on allowed request headers.

    -

    Set a list of request header field names which can be used when this resource is accessed by +

    Set a list of request header field names which can be used when this resource is accessed by allowed origins.

    If All is set, whatever is requested by the client in Access-Control-Request-Headers will be echoed back in the Access-Control-Allow-Headers header as specified in @@ -69,7 +69,7 @@ the Fetch Standard C

    Defaults to All.

    Resets exposed response header list to a state where all headers are exposed.

    See Cors::expose_headers for more info on exposed response headers.

    -

    Set a list of headers which are safe to expose to the API of a CORS API specification. +

    Set a list of headers which are safe to expose to the API of a CORS API specification. This corresponds to the Access-Control-Expose-Headers response header as specified in the Fetch Standard CORS protocol.

    This defaults to an empty set.

    @@ -108,30 +108,30 @@ This is useful for application level middleware.

    A restrictive (security paranoid) set of defaults.

    No allowed origins, methods, request headers or exposed headers. Credentials not supported. No max age (will use browser’s default).

    -

    Responses produced by the service.

    +

    Responses produced by the service.

    Errors produced by the service.

    Errors produced while building a transform service.

    The TransformService value created by this factory

    The future response value.

    Creates and returns a new Transform component, asynchronously

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_identity/all.html b/actix_identity/all.html index b0d8396d4..262cb90b7 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 15acb9c86..10d5a6da3 100644 --- a/actix_identity/config/enum.LogoutBehaviour.html +++ b/actix_identity/config/enum.LogoutBehaviour.html @@ -14,27 +14,27 @@ is not tied to the user’s identity and should be retained after logout.

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    Formats the value using the given formatter. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_identity/config/index.html b/actix_identity/config/index.html index 1b3d6c62e..8a1dca2ee 100644 --- a/actix_identity/config/index.html +++ b/actix_identity/config/index.html @@ -3,4 +3,4 @@ parameters.

    Enums

    LogoutBehaviour controls what actions are going to be performed when Identity::logout is invoked.

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_identity/config/struct.IdentityMiddlewareBuilder.html b/actix_identity/config/struct.IdentityMiddlewareBuilder.html index f9e8cf618..5da05dea3 100644 --- a/actix_identity/config/struct.IdentityMiddlewareBuilder.html +++ b/actix_identity/config/struct.IdentityMiddlewareBuilder.html @@ -25,27 +25,27 @@ has passed since their last visit.

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    Formats the value using the given formatter. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_identity/index.html b/actix_identity/index.html index 82987dfbf..dd3a2e5e5 100644 --- a/actix_identity/index.html +++ b/actix_identity/index.html @@ -76,4 +76,4 @@ by customising the configuration for

    Structs

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

    Identity management middleware.

    Traits

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

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_identity/struct.Identity.html b/actix_identity/struct.Identity.html index 13b7e6589..65a7922e7 100644 --- a/actix_identity/struct.Identity.html +++ b/actix_identity/struct.Identity.html @@ -49,7 +49,7 @@ control of the error path.

    .finish() } } -

    Implementations

    Return the user id associated to the current session.

    +

    Implementations

    Return the user id associated to the current session.

    Examples
    use actix_web::{get, Responder};
     use actix_identity::Identity;
    @@ -62,7 +62,7 @@ control of the error path.

    "Welcome Anonymous!".to_owned() } }
    -

    Attach a valid user identity to the current session.

    +

    Attach a valid user identity to the current session.

    This method should be called after you have successfully authenticated the user. After login has been called, the user will be able to access all routes that require a valid Identity.

    @@ -105,24 +105,24 @@ require a valid Identity

    Future that resolves to a Self. Read more

    Create a Self from request parts asynchronously.

    Create a Self from request head asynchronously. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_identity/struct.IdentityMiddleware.html b/actix_identity/struct.IdentityMiddleware.html index 67361b471..3eaa8ebfc 100644 --- a/actix_identity/struct.IdentityMiddleware.html +++ b/actix_identity/struct.IdentityMiddleware.html @@ -23,33 +23,33 @@

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

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

    -

    Responses produced by the service.

    +

    Responses produced by the service.

    Errors produced by the service.

    The TransformService value created by this factory

    Errors produced while building a transform service.

    The future response value.

    Creates and returns a new Transform component, asynchronously

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_identity/trait.IdentityExt.html b/actix_identity/trait.IdentityExt.html index eb9b9581c..d69bd40c0 100644 --- a/actix_identity/trait.IdentityExt.html +++ b/actix_identity/trait.IdentityExt.html @@ -1,5 +1,5 @@ IdentityExt in actix_identity - Rust
    pub trait IdentityExt {
    -    fn get_identity(&self) -> Result<Identity, Error>;
    +    fn get_identity(&self) -> Result<Identity, Error>;
     }
    Expand description

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

    -

    Required Methods

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

    -

    Implementations on Foreign Types

    Implementors

    \ No newline at end of file +

    Required Methods

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

    +

    Implementations on Foreign Types

    Implementors

    \ No newline at end of file diff --git a/actix_limitation/all.html b/actix_limitation/all.html index 2d562d00e..cc7a7ac6b 100644 --- a/actix_limitation/all.html +++ b/actix_limitation/all.html @@ -1,3 +1,3 @@ List of all items in this crate
    \ No newline at end of file + logo

    List of all items

    Structs

    Enums

    Constants

    \ 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 aaed91f83..f0488a119 100644 --- a/actix_limitation/constant.DEFAULT_COOKIE_NAME.html +++ b/actix_limitation/constant.DEFAULT_COOKIE_NAME.html @@ -1,4 +1,4 @@ DEFAULT_COOKIE_NAME in actix_limitation - Rust
    pub const DEFAULT_COOKIE_NAME: &'static str = "sid";
    Expand description

    Default cookie name.

    -
    \ No newline at end of file + logo
    pub const DEFAULT_COOKIE_NAME: &'static 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 8ab85ce96..c58890ffa 100644 --- a/actix_limitation/constant.DEFAULT_PERIOD_SECS.html +++ b/actix_limitation/constant.DEFAULT_PERIOD_SECS.html @@ -1,4 +1,4 @@ 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 + logo
    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 29827618f..48e75529d 100644 --- a/actix_limitation/constant.DEFAULT_REQUEST_LIMIT.html +++ b/actix_limitation/constant.DEFAULT_REQUEST_LIMIT.html @@ -1,4 +1,4 @@ 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 + logo
    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 67d6f24cc..f59a04274 100644 --- a/actix_limitation/constant.DEFAULT_SESSION_KEY.html +++ b/actix_limitation/constant.DEFAULT_SESSION_KEY.html @@ -1,4 +1,4 @@ DEFAULT_SESSION_KEY in actix_limitation - Rust
    pub const DEFAULT_SESSION_KEY: &'static str = "rate-api-id";
    Expand description

    Default session key.

    -
    \ No newline at end of file + logo
    pub const DEFAULT_SESSION_KEY: &'static 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 1d66c293a..8ae269189 100644 --- a/actix_limitation/enum.Error.html +++ b/actix_limitation/enum.Error.html @@ -13,32 +13,32 @@

    Trait Implementations

    Formats the value using the given formatter. Read more

    Formats the value using the given formatter. Read more

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

    -
    👎Deprecated since 1.42.0:

    use the Display impl or to_string()

    -
    👎Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    -
    🔬This is a nightly-only experimental API. (error_generic_member_access)

    Provides type based access to context intended for error reports. Read more

    +
    👎Deprecated since 1.42.0:

    use the Display impl or to_string()

    +
    👎Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    +
    🔬This is a nightly-only experimental API. (error_generic_member_access)

    Provides type based access to context intended for error reports. Read more

    Converts to this type from the input type.

    Converts to this type from the input type.

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    🔬This is a nightly-only experimental API. (provide_any)

    Data providers should implement this method to provide all values they are able to +

    🔬This is a nightly-only experimental API. (provide_any)

    Data providers should implement this method to provide all values they are able to provide by using demand. Read more

    Should always be Self

    -

    Converts the given value to a String. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_limitation/index.html b/actix_limitation/index.html index 19f6577c1..32433efc3 100644 --- a/actix_limitation/index.html +++ b/actix_limitation/index.html @@ -1,11 +1,12 @@ actix_limitation - Rust
    Expand description

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

    + logo
    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.3"
    -
    use std::time::Duration;
    -use actix_web::{get, web, App, HttpServer, Responder};
    +
    use std::{sync::Arc, time::Duration};
    +use actix_web::{dev::ServiceRequest, get, web, App, HttpServer, Responder};
    +use actix_session::SessionExt as _;
     use actix_limitation::{Limiter, RateLimiter};
     
     #[get("/{id}/{name}")]
    @@ -17,8 +18,11 @@ actix-limitation = "0.3"
    async fn main() -> std::io::Result<()> { let limiter = web::Data::new( Limiter::builder("redis://127.0.0.1") - .cookie_name("session-id".to_owned()) - .session_key("rate-api-id".to_owned()) + .key_by(|req: &ServiceRequest| { + req.get_session() + .get(&"session-id") + .unwrap_or_else(|_| req.cookie(&"rate-api-id").map(|c| c.to_string())) + }) .limit(5000) .period(Duration::from_secs(3600)) // 60 minutes .build() @@ -44,4 +48,4 @@ actix-limitation = "0.3"

    Default period (in seconds).

    Default request limit.

    Default session key.

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_limitation/struct.Builder.html b/actix_limitation/struct.Builder.html index 285803fa8..f1e47616c 100644 --- a/actix_limitation/struct.Builder.html +++ b/actix_limitation/struct.Builder.html @@ -1,32 +1,38 @@ Builder in actix_limitation - Rust
    pub struct Builder { /* private fields */ }
    Expand description

    Rate limiter builder.

    -

    Implementations

    Set upper limit.

    -

    Set limit window/period.

    -

    Set name of cookie to be sent.

    -

    Set session key to be used in backend.

    -

    Finalizes and returns a Limiter.

    + logo

    Builder

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

    Rate limiter builder.

    +

    Implementations

    Set upper limit.

    +

    Set limit window/period.

    +

    Sets rate limit key derivation function.

    +

    Should not be used in combination with cookie_name or session_key as they conflict.

    +
    👎Deprecated:

    Prefer key_by.

    +

    Sets name of cookie to be sent.

    +

    This method should not be used in combination of key_by as they conflict.

    +
    👎Deprecated:

    Prefer key_by.

    +

    Sets session key to be used in backend.

    +

    This method should not be used in combination of key_by as they conflict.

    +

    Finalizes and returns a Limiter.

    Note that this method will connect to the Redis server to test its connection which is a synchronous operation.

    -

    Trait Implementations

    Formats the value using the given formatter. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Trait Implementations

    Formats the value using the given formatter. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_limitation/struct.Limiter.html b/actix_limitation/struct.Limiter.html index f58045958..6feaad2dd 100644 --- a/actix_limitation/struct.Limiter.html +++ b/actix_limitation/struct.Limiter.html @@ -1,34 +1,34 @@ Limiter in actix_limitation - Rust
    pub struct Limiter { /* private fields */ }
    Expand description

    Rate limiter.

    -

    Implementations

    Construct rate limiter builder with defaults.

    + logo

    Limiter

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

    Rate limiter.

    +

    Implementations

    Construct rate limiter builder with defaults.

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

    -

    Consumes one rate limit unit, returning the status.

    -

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Consumes one rate limit unit, returning the status.

    +

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    -

    Formats the value using the given formatter. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Formats the value using the given formatter. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_limitation/struct.RateLimiter.html b/actix_limitation/struct.RateLimiter.html index 61ceb66d9..817ababb1 100644 --- a/actix_limitation/struct.RateLimiter.html +++ b/actix_limitation/struct.RateLimiter.html @@ -1,32 +1,32 @@ RateLimiter in actix_limitation - Rust
    #[non_exhaustive]
    pub struct RateLimiter;
    Expand description

    Rate limit middleware.

    -

    Trait Implementations

    Formats the value using the given formatter. Read more

    -

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

    -

    Responses produced by the service.

    + logo
    #[non_exhaustive]
    pub struct RateLimiter;
    Expand description

    Rate limit middleware.

    +

    Trait Implementations

    Formats the value using the given formatter. Read more

    +

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

    +

    Responses produced by the service.

    Errors produced by the service.

    The TransformService value created by this factory

    Errors produced while building a transform service.

    The future response value.

    -

    Creates and returns a new Transform component, asynchronously

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Creates and returns a new Transform component, asynchronously

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_limitation/struct.Status.html b/actix_limitation/struct.Status.html index 502d1df65..db1367e43 100644 --- a/actix_limitation/struct.Status.html +++ b/actix_limitation/struct.Status.html @@ -7,27 +7,27 @@

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    Formats the value using the given formatter. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_protobuf/all.html b/actix_protobuf/all.html index e693626ec..e5a2df350 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 50d9df42a..b73f779d3 100644 --- a/actix_protobuf/enum.ProtoBufPayloadError.html +++ b/actix_protobuf/enum.ProtoBufPayloadError.html @@ -15,25 +15,25 @@

    Converts to this type from the input type.

    Creates full response for error. Read more

    Returns appropriate status code for error. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    Converts the given value to a String. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_protobuf/index.html b/actix_protobuf/index.html index 3cca98396..316ad58cd 100644 --- a/actix_protobuf/index.html +++ b/actix_protobuf/index.html @@ -1,2 +1,2 @@ actix_protobuf - Rust
    \ No newline at end of file +

    Structs

    Enums

    Traits

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

    Tuple Fields

    0: T

    Trait Implementations

    Formats the value using the given formatter. Read more

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

    Tuple Fields

    0: T

    Trait Implementations

    Formats the value using the given formatter. Read more

    The resulting type after dereferencing.

    Dereferences the value.

    Mutably dereferences the value.

    -

    Formats the value using the given formatter. Read more

    -

    The associated error which can be returned.

    +

    Formats the value using the given formatter. Read more

    +

    The associated error which can be returned.

    Future that resolves to a Self. Read more

    Create a Self from request parts asynchronously.

    Create a Self from request head asynchronously. Read more

    Convert self to HttpResponse.

    Wraps responder to allow alteration of its response. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -

    Type of resource’s path returned in resource_path.

    +

    Type of resource’s path returned in resource_path.

    Should always be Self

    -

    Converts the given value to a String. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_protobuf/struct.ProtoBufConfig.html b/actix_protobuf/struct.ProtoBufConfig.html index 034d775ed..efd7d521d 100644 --- a/actix_protobuf/struct.ProtoBufConfig.html +++ b/actix_protobuf/struct.ProtoBufConfig.html @@ -1,23 +1,23 @@ ProtoBufConfig in actix_protobuf - Rust
    pub struct ProtoBufConfig { /* private fields */ }

    Implementations

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

    Trait Implementations

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_protobuf/struct.ProtoBufMessage.html b/actix_protobuf/struct.ProtoBufMessage.html index d6bdd9595..d65283345 100644 --- a/actix_protobuf/struct.ProtoBufMessage.html +++ b/actix_protobuf/struct.ProtoBufMessage.html @@ -3,89 +3,89 @@

    Trait Implementations

    The type of value produced on completion.

    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

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    -

    Map this future’s output to a different type, returning a new future of +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    +

    Map this future’s output to a different type, returning a new future of the resulting type. Read more

    -

    Map this future’s output to a different type, returning a new future of +

    Map this future’s output to a different type, returning a new future of the resulting type. Read more

    -

    Chain on a computation for when a future finished, passing the result of +

    Chain on a computation for when a future finished, passing the result of the future to the provided closure f. Read more

    -

    Wrap this future in an Either future, making it the left-hand variant +

    Wrap this future in an Either future, making it the left-hand variant of that Either. Read more

    -

    Wrap this future in an Either future, making it the right-hand variant +

    Wrap this future in an Either future, making it the right-hand variant of that Either. Read more

    Convert this future into a single element stream. Read more

    -

    Flatten the execution of this future when the output of this +

    Flatten the execution of this future when the output of this future is itself another future. Read more

    -

    Flatten the execution of this future when the successful result of this +

    Flatten the execution of this future when the successful result of this future is a stream. Read more

    Fuse a future such that poll will never again be called once it has completed. This method can be used to turn any Future into a FusedFuture. Read more

    -

    Do something with the output of a future before passing it on. Read more

    -

    Catches unwinding panics while polling the future. Read more

    -

    Create a cloneable handle to this future where all handles will resolve +

    Do something with the output of a future before passing it on. Read more

    +

    Catches unwinding panics while polling the future. Read more

    +

    Create a cloneable handle to this future where all handles will resolve to the same result. Read more

    Turn this future into a future that yields () on completion and sends its output to another future on a separate task. Read more

    -

    Wrap the future in a Box, pinning it. Read more

    -

    Wrap the future in a Box, pinning it. Read more

    +

    Wrap the future in a Box, pinning it. Read more

    +

    Wrap the future in a Box, pinning it. Read more

    A convenience for calling Future::poll on Unpin future types.

    +

    A convenience for calling Future::poll on Unpin future types.

    Evaluates and consumes the future, returning the resulting output if the future is ready after the first call to Future::poll. Read more

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -

    The output that the future will produce on completion.

    +

    The output that the future will produce on completion.

    Which kind of future are we turning this into?

    Creates a future from a value. Read more

    Should always be Self

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type of successful values yielded by this future

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type of successful values yielded by this future

    The type of failures yielded by this future

    Poll this TryFuture as if it were a Future. Read more

    -

    Flattens the execution of this future when the successful result of this +

    Flattens the execution of this future when the successful result of this future is a [Sink]. Read more

    -

    Maps this future’s success value to a different value. Read more

    -

    Maps this future’s success value to a different value, and permits for error handling resulting in the same type. Read more

    -

    Maps this future’s error value to a different value. Read more

    -

    Maps this future’s Error to a new error type +

    Maps this future’s success value to a different value. Read more

    +

    Maps this future’s success value to a different value, and permits for error handling resulting in the same type. Read more

    +

    Maps this future’s error value to a different value. Read more

    +

    Maps this future’s Error to a new error type using the Into trait. Read more

    -

    Maps this future’s Ok to a new type +

    Maps this future’s Ok to a new type using the Into trait. Read more

    -

    Executes another future after this one resolves successfully. The +

    Executes another future after this one resolves successfully. The success value is passed to a closure to create this subsequent future. Read more

    -

    Executes another future if this one resolves to an error. The +

    Executes another future if this one resolves to an error. The error value is passed to a closure to create this subsequent future. Read more

    -

    Do something with the success value of a future before passing it on. Read more

    -

    Do something with the error value of a future before passing it on. Read more

    -

    Flatten the execution of this future when the successful result of this +

    Do something with the success value of a future before passing it on. Read more

    +

    Do something with the error value of a future before passing it on. Read more

    +

    Flatten the execution of this future when the successful result of this future is another future. Read more

    -

    Flatten the execution of this future when the successful result of this +

    Flatten the execution of this future when the successful result of this future is a stream. Read more

    -

    Unwraps this future’s output, producing a future with this future’s +

    Unwraps this future’s output, producing a future with this future’s Ok type as its Output type. Read more

    Wraps a [TryFuture] into a type that implements Future. Read more

    -

    A convenience method for calling [TryFuture::try_poll] on Unpin +

    A convenience method for calling [TryFuture::try_poll] on Unpin future types. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_protobuf/trait.ProtoBufResponseBuilder.html b/actix_protobuf/trait.ProtoBufResponseBuilder.html index cbe19d32a..ab9021ffa 100644 --- a/actix_protobuf/trait.ProtoBufResponseBuilder.html +++ b/actix_protobuf/trait.ProtoBufResponseBuilder.html @@ -1,3 +1,3 @@ ProtoBufResponseBuilder in actix_protobuf - Rust
    pub trait ProtoBufResponseBuilder {
         fn protobuf<T: Message>(&mut self, value: T) -> Result<HttpResponse, Error>;
    -}

    Required Methods

    Implementations on Foreign Types

    Implementors

    \ No newline at end of file +}

    Required Methods

    Implementations on Foreign Types

    Implementors

    \ No newline at end of file diff --git a/actix_redis/all.html b/actix_redis/all.html index 10a46fe28..6cac3d77a 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 2771b0aea..e4214ef67 100644 --- a/actix_redis/enum.Error.html +++ b/actix_redis/enum.Error.html @@ -8,33 +8,33 @@

    Trait Implementations

    Formats the value using the given formatter. Read more

    Formats the value using the given formatter. Read more

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

    -
    👎Deprecated since 1.42.0:

    use the Display impl or to_string()

    -
    👎Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    -
    🔬This is a nightly-only experimental API. (error_generic_member_access)

    Provides type based access to context intended for error reports. Read more

    +
    👎Deprecated since 1.42.0:

    use the Display impl or to_string()

    +
    👎Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    +
    🔬This is a nightly-only experimental API. (error_generic_member_access)

    Provides type based access to context intended for error reports. Read more

    Converts to this type from the input type.

    Returns appropriate status code for error. Read more

    Creates full response for error. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    🔬This is a nightly-only experimental API. (provide_any)

    Data providers should implement this method to provide all values they are able to +

    🔬This is a nightly-only experimental API. (provide_any)

    Data providers should implement this method to provide all values they are able to provide by using demand. Read more

    Should always be Self

    -

    Converts the given value to a String. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_redis/enum.RespError.html b/actix_redis/enum.RespError.html index abc46daca..dd527d191 100644 --- a/actix_redis/enum.RespError.html +++ b/actix_redis/enum.RespError.html @@ -19,33 +19,33 @@ a proper option.

    Trait Implementations

    Formats the value using the given formatter. Read more

    Formats the value using the given formatter. Read more

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

    -
    👎Deprecated since 1.42.0:

    use the Display impl or to_string()

    -
    👎Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    -
    🔬This is a nightly-only experimental API. (error_generic_member_access)

    Provides type based access to context intended for error reports. Read more

    +
    👎Deprecated since 1.42.0:

    use the Display impl or to_string()

    +
    👎Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    +
    🔬This is a nightly-only experimental API. (error_generic_member_access)

    Provides type based access to context intended for error reports. Read more

    Converts to this type from the input type.

    Converts to this type from the input type.

    -

    Converts to this type from the input type.

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Converts to this type from the input type.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    🔬This is a nightly-only experimental API. (provide_any)

    Data providers should implement this method to provide all values they are able to +

    🔬This is a nightly-only experimental API. (provide_any)

    Data providers should implement this method to provide all values they are able to provide by using demand. Read more

    Should always be Self

    -

    Converts the given value to a String. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_redis/enum.RespValue.html b/actix_redis/enum.RespValue.html index 56edad891..216c2c91d 100644 --- a/actix_redis/enum.RespValue.html +++ b/actix_redis/enum.RespValue.html @@ -14,49 +14,49 @@ vector of u8s to allow clients to interpret the bytes as appropriat

    Error(String)

    An error from the Redis server

    Integer(i64)

    Redis documentation defines an integer as being a signed 64-bit integer: https://redis.io/topics/protocol#resp-integers

    -

    SimpleString(String)

    Implementations

    Convenience function for building dynamic Redis commands with variable numbers of +

    SimpleString(String)

    Implementations

    Convenience function for building dynamic Redis commands with variable numbers of arguments, e.g. RPUSH

    This will panic if called for anything other than arrays

    -

    Push item to Resp array

    +

    Push item to Resp array

    This will panic if called for anything other than arrays

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    Formats the value using the given formatter. Read more

    -

    Converts to this type from the input type.

    -

    Converts to this type from the input type.

    -

    Converts to this type from the input type.

    -

    Converts to this type from the input type.

    -

    Converts to this type from the input type.

    +

    Converts to this type from the input type.

    +

    Converts to this type from the input type.

    +

    Converts to this type from the input type.

    +

    Converts to this type from the input type.

    +

    Converts to this type from the input type.

    Converts to this type from the input type.

    -

    Converts to this type from the input type.

    +

    Converts to this type from the input type.

    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. Read more

    This method tests for self and other values to be equal, and is used by ==. Read more

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_redis/index.html b/actix_redis/index.html index 673dacfd6..8e6a1327b 100644 --- a/actix_redis/index.html +++ b/actix_redis/index.html @@ -5,4 +5,4 @@ of types, that satisfy Into<RespValue>.

    Redis communication actor.

    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 +
    \ No newline at end of file diff --git a/actix_redis/macro.resp_array.html b/actix_redis/macro.resp_array.html index 2444166e0..1298567ed 100644 --- a/actix_redis/macro.resp_array.html +++ b/actix_redis/macro.resp_array.html @@ -22,4 +22,4 @@ data moved into the corresponding RespValue. If a reference is pro let data = vec!["data", "from", "somewhere", "else"]; let command = resp_array!["RPUSH", "mykey"].append(data); } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_redis/struct.Command.html b/actix_redis/struct.Command.html index f53a8b169..40d241dfb 100644 --- a/actix_redis/struct.Command.html +++ b/actix_redis/struct.Command.html @@ -4,24 +4,24 @@

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

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_redis/struct.RedisActor.html b/actix_redis/struct.RedisActor.html index 7743b3074..50acfe672 100644 --- a/actix_redis/struct.RedisActor.html +++ b/actix_redis/struct.RedisActor.html @@ -4,9 +4,9 @@

    Called when an actor gets polled the first time.

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

    Called after an actor is stopped. Read more

    -

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

    -

    Start new actor in arbiter’s thread.

    -

    Start a new asynchronous actor given a Context. Read more

    +

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

    +

    Start new actor in arbiter’s thread.

    +

    Start a new asynchronous actor given a Context. Read more

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

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

    Called for every message emitted by the stream.

    @@ -15,24 +15,24 @@

    Called when the supervisor restarts a failed actor.

    Called when the writer emits error. Read more

    Called when the writer finishes. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/all.html b/actix_session/all.html index 9122194c2..6320f8ce6 100644 --- a/actix_session/all.html +++ b/actix_session/all.html @@ -1,3 +1,3 @@ List of all items in this crate
    \ No newline at end of file + logo

    List of all items

    Structs

    Enums

    Traits

    \ No newline at end of file diff --git a/actix_session/config/enum.CookieContentSecurity.html b/actix_session/config/enum.CookieContentSecurity.html index 72cb218e4..cedfe2b01 100644 --- a/actix_session/config/enum.CookieContentSecurity.html +++ b/actix_session/config/enum.CookieContentSecurity.html @@ -14,27 +14,27 @@ tamper with the cookie content, but they can read it.

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    Formats the value using the given formatter. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/config/enum.SessionLifecycle.html b/actix_session/config/enum.SessionLifecycle.html index 31c8cf7be..ca2fe7286 100644 --- a/actix_session/config/enum.SessionLifecycle.html +++ b/actix_session/config/enum.SessionLifecycle.html @@ -19,27 +19,27 @@ attribute. They do not disappear when the current browser session ends.

    Formats the value using the given formatter. Read more

    Converts to this type from the input type.

    Converts to this type from the input type.

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/config/enum.TtlExtensionPolicy.html b/actix_session/config/enum.TtlExtensionPolicy.html index 2cdfed995..99b409a83 100644 --- a/actix_session/config/enum.TtlExtensionPolicy.html +++ b/actix_session/config/enum.TtlExtensionPolicy.html @@ -21,27 +21,27 @@ your server.

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    Formats the value using the given formatter. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/config/index.html b/actix_session/config/index.html index fd6b72179..6864b9334 100644 --- a/actix_session/config/index.html +++ b/actix_session/config/index.html @@ -8,4 +8,4 @@ browser’s current session ends.

    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 +
    \ No newline at end of file diff --git a/actix_session/config/struct.BrowserSession.html b/actix_session/config/struct.BrowserSession.html index 9f58cde6d..2a9f2b7c2 100644 --- a/actix_session/config/struct.BrowserSession.html +++ b/actix_session/config/struct.BrowserSession.html @@ -32,27 +32,27 @@ specifying a more aggressive state TTL extension policy - check out

    Formats the value using the given formatter. Read more

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

    Converts to this type from the input type.

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/config/struct.PersistentSession.html b/actix_session/config/struct.PersistentSession.html index ccc5897e4..7e16e99f3 100644 --- a/actix_session/config/struct.PersistentSession.html +++ b/actix_session/config/struct.PersistentSession.html @@ -32,27 +32,27 @@ See TtlE

    Formats the value using the given formatter. Read more

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

    Converts to this type from the input type.

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/config/struct.SessionMiddlewareBuilder.html b/actix_session/config/struct.SessionMiddlewareBuilder.html index ac80c78d0..6b5ba5b40 100644 --- a/actix_session/config/struct.SessionMiddlewareBuilder.html +++ b/actix_session/config/struct.SessionMiddlewareBuilder.html @@ -49,24 +49,24 @@ tamper-proof session key.

    running in the browser.

    Default is true.

    Finalise the builder and return a SessionMiddleware instance.

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/enum.SessionStatus.html b/actix_session/enum.SessionStatus.html index 39a45447a..980157810 100644 --- a/actix_session/enum.SessionStatus.html +++ b/actix_session/enum.SessionStatus.html @@ -22,28 +22,28 @@ extended.

    by ==. Read more

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/index.html b/actix_session/index.html index 898c5b14a..dffd4a2b2 100644 --- a/actix_session/index.html +++ b/actix_session/index.html @@ -109,4 +109,4 @@ actix-session = { version = "...", features = ["redis-rs-session&

    Enums

    Status of a Session.

    Traits

    Extract a Session object from various actix-web types (e.g. HttpRequest, ServiceRequest, ServiceResponse).

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/storage/enum.LoadError.html b/actix_session/storage/enum.LoadError.html index e0ea9451a..734582c1c 100644 --- a/actix_session/storage/enum.LoadError.html +++ b/actix_session/storage/enum.LoadError.html @@ -1,38 +1,38 @@ LoadError in actix_session::storage - Rust

    LoadError

    logo
    pub enum LoadError {
    -    Deserialization(Error),
    -    Other(Error),
    +    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.

    +

    Variants

    Deserialization(Error)

    Failed to deserialize session state.

    +

    Other(Error)

    Something went wrong when retrieving the session state.

    Trait Implementations

    Formats the value using the given formatter. Read more

    Formats the value using the given formatter. Read more

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

    -
    👎Deprecated since 1.42.0:

    use the Display impl or to_string()

    -
    👎Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

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

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +
    👎Deprecated since 1.42.0:

    use the Display impl or to_string()

    +
    👎Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    +
    🔬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

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    🔬This is a nightly-only experimental API. (provide_any)

    Data providers should implement this method to provide all values they are able to +

    🔬This is a nightly-only experimental API. (provide_any)

    Data providers should implement this method to provide all values they are able to provide by using demand. Read more

    Should always be Self

    -

    Converts the given value to a String. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/storage/enum.SaveError.html b/actix_session/storage/enum.SaveError.html index e7b03088b..b0b0f7b7d 100644 --- a/actix_session/storage/enum.SaveError.html +++ b/actix_session/storage/enum.SaveError.html @@ -1,38 +1,38 @@ SaveError in actix_session::storage - Rust

    SaveError

    logo
    pub enum SaveError {
    -    Serialization(Error),
    -    Other(Error),
    +    Serialization(Error),
    +    Other(Error),
     }
    Expand description

    Possible failures modes for SessionStore::save.

    -

    Variants

    Serialization(Error)

    Failed to serialize session state.

    -

    Other(Error)

    Something went wrong when persisting the session state.

    +

    Variants

    Serialization(Error)

    Failed to serialize session state.

    +

    Other(Error)

    Something went wrong when persisting the session state.

    Trait Implementations

    Formats the value using the given formatter. Read more

    Formats the value using the given formatter. Read more

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

    -
    👎Deprecated since 1.42.0:

    use the Display impl or to_string()

    -
    👎Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

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

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +
    👎Deprecated since 1.42.0:

    use the Display impl or to_string()

    +
    👎Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    +
    🔬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

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    🔬This is a nightly-only experimental API. (provide_any)

    Data providers should implement this method to provide all values they are able to +

    🔬This is a nightly-only experimental API. (provide_any)

    Data providers should implement this method to provide all values they are able to provide by using demand. Read more

    Should always be Self

    -

    Converts the given value to a String. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/storage/enum.UpdateError.html b/actix_session/storage/enum.UpdateError.html index 23df04037..345126ec5 100644 --- a/actix_session/storage/enum.UpdateError.html +++ b/actix_session/storage/enum.UpdateError.html @@ -1,38 +1,38 @@ UpdateError in actix_session::storage - Rust

    UpdateError

    logo
    pub enum UpdateError {
    -    Serialization(Error),
    -    Other(Error),
    +    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.

    +

    Variants

    Serialization(Error)

    Failed to serialize session state.

    +

    Other(Error)

    Something went wrong when updating the session state.

    Trait Implementations

    Formats the value using the given formatter. Read more

    Formats the value using the given formatter. Read more

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

    -
    👎Deprecated since 1.42.0:

    use the Display impl or to_string()

    -
    👎Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

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

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +
    👎Deprecated since 1.42.0:

    use the Display impl or to_string()

    +
    👎Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    +
    🔬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

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    🔬This is a nightly-only experimental API. (provide_any)

    Data providers should implement this method to provide all values they are able to +

    🔬This is a nightly-only experimental API. (provide_any)

    Data providers should implement this method to provide all values they are able to provide by using demand. Read more

    Should always be Self

    -

    Converts the given value to a String. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/storage/index.html b/actix_session/storage/index.html index 3ffd00cb6..0d0991929 100644 --- a/actix_session/storage/index.html +++ b/actix_session/storage/index.html @@ -14,4 +14,4 @@ state on the backend.

    Possible failures modes for SessionStore::save.

    Possible failures modes for SessionStore::update.

    Traits

    The interface to retrieve and save the current session data from/to the chosen storage backend.

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/storage/struct.CookieSessionStore.html b/actix_session/storage/struct.CookieSessionStore.html index 02e3aaf84..6e8f00d3c 100644 --- a/actix_session/storage/struct.CookieSessionStore.html +++ b/actix_session/storage/struct.CookieSessionStore.html @@ -31,29 +31,29 @@ using cookies as storage backend.

    There is no way to invalidate a session before its natural expiry when using cookies as the storage backend.

    Trait Implementations

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

    -

    Loads the session state associated to a session key.

    -

    Persist the session state for a newly created session. Read more

    -

    Updates the session state associated to a pre-existing session key.

    -

    Updates the TTL of the session state associated to a pre-existing session key.

    -

    Deletes a session from the store.

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Loads the session state associated to a session key.

    +

    Persist the session state for a newly created session. Read more

    +

    Updates the session state associated to a pre-existing session key.

    +

    Updates the TTL of the session state associated to a pre-existing session key.

    +

    Deletes a session from the store.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/storage/struct.RedisActorSessionStore.html b/actix_session/storage/struct.RedisActorSessionStore.html index f058c460f..d1b0a5440 100644 --- a/actix_session/storage/struct.RedisActorSessionStore.html +++ b/actix_session/storage/struct.RedisActorSessionStore.html @@ -40,29 +40,29 @@ Redis. Use RedisSessionStore

    Create a new instance of RedisActorSessionStore using the default configuration. It takes as input the only required input to create a new instance of RedisActorSessionStore - a connection string for Redis.

    -

    Trait Implementations

    Loads the session state associated to a session key.

    -

    Persist the session state for a newly created session. Read more

    -

    Updates the session state associated to a pre-existing session key.

    -

    Updates the TTL of the session state associated to a pre-existing session key.

    -

    Deletes a session from the store.

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Trait Implementations

    Loads the session state associated to a session key.

    +

    Persist the session state for a newly created session. Read more

    +

    Updates the session state associated to a pre-existing session key.

    +

    Updates the TTL of the session state associated to a pre-existing session key.

    +

    Deletes a session from the store.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/storage/struct.RedisActorSessionStoreBuilder.html b/actix_session/storage/struct.RedisActorSessionStoreBuilder.html index 9b5bf3fe5..078f96dbc 100644 --- a/actix_session/storage/struct.RedisActorSessionStoreBuilder.html +++ b/actix_session/storage/struct.RedisActorSessionStoreBuilder.html @@ -2,26 +2,26 @@ logo

    RedisActorSessionStoreBuilder

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

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

    -

    Implementations

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

    +

    Implementations

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

    Finalise the builder and return a RedisActorSessionStore instance.

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/storage/struct.RedisSessionStore.html b/actix_session/storage/struct.RedisSessionStore.html index dcde923d0..4293f1882 100644 --- a/actix_session/storage/struct.RedisSessionStore.html +++ b/actix_session/storage/struct.RedisSessionStore.html @@ -41,37 +41,37 @@ connection to Redis using the rediss:// URL scheme:

    Implementations

    A fluent API to configure RedisSessionStore. It takes as input the only required input to create a new instance of RedisSessionStore - a connection string for Redis.

    -

    Create a new instance of RedisSessionStore using the default configuration. +

    Create a new instance of RedisSessionStore using the default configuration. It takes as input the only required input to create a new instance of RedisSessionStore - a connection string for Redis.

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    -

    Loads the session state associated to a session key.

    -

    Persist the session state for a newly created session. Read more

    -

    Updates the session state associated to a pre-existing session key.

    -

    Updates the TTL of the session state associated to a pre-existing session key.

    -

    Deletes a session from the store.

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Loads the session state associated to a session key.

    +

    Persist the session state for a newly created session. Read more

    +

    Updates the session state associated to a pre-existing session key.

    +

    Updates the TTL of the session state associated to a pre-existing session key.

    +

    Deletes a session from the store.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/storage/struct.RedisSessionStoreBuilder.html b/actix_session/storage/struct.RedisSessionStoreBuilder.html index 9b014d366..acbe49a61 100644 --- a/actix_session/storage/struct.RedisSessionStoreBuilder.html +++ b/actix_session/storage/struct.RedisSessionStoreBuilder.html @@ -2,26 +2,26 @@ logo

    RedisSessionStoreBuilder

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

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

    -

    Implementations

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

    -

    Finalise the builder and return a RedisActorSessionStore instance.

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Implementations

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

    +

    Finalise the builder and return a RedisActorSessionStore instance.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/storage/struct.SessionKey.html b/actix_session/storage/struct.SessionKey.html index 054cd2297..768b02ad4 100644 --- a/actix_session/storage/struct.SessionKey.html +++ b/actix_session/storage/struct.SessionKey.html @@ -20,25 +20,25 @@ by ==. Read more

    The type returned in the event of a conversion error.

    Performs the conversion.

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/storage/trait.SessionStore.html b/actix_session/storage/trait.SessionStore.html index d614a750b..4facbb3c6 100644 --- a/actix_session/storage/trait.SessionStore.html +++ b/actix_session/storage/trait.SessionStore.html @@ -1,20 +1,20 @@ SessionStore in actix_session::storage - Rust
    logo
    pub trait SessionStore {
    -    fn load<'life0, 'life1, 'async_trait>(
            &'life0 self,
            session_key: &'life1 SessionKey
        ) -> Pin<Box<dyn Future<Output = Result<Option<HashMap<String, String>>, LoadError>> + 'async_trait>>
        where
            'life0: 'async_trait,
            'life1: 'async_trait,
            Self: 'async_trait
    ; - fn save<'life0, 'life1, 'async_trait>(
            &'life0 self,
            session_state: HashMap<String, String>,
            ttl: &'life1 Duration
        ) -> Pin<Box<dyn Future<Output = Result<SessionKey, SaveError>> + 'async_trait>>
        where
            'life0: 'async_trait,
            'life1: 'async_trait,
            Self: 'async_trait
    ; - fn update<'life0, 'life1, 'async_trait>(
            &'life0 self,
            session_key: SessionKey,
            session_state: HashMap<String, String>,
            ttl: &'life1 Duration
        ) -> Pin<Box<dyn Future<Output = Result<SessionKey, UpdateError>> + 'async_trait>>
        where
            'life0: 'async_trait,
            'life1: 'async_trait,
            Self: 'async_trait
    ; - fn update_ttl<'life0, 'life1, 'life2, 'async_trait>(
            &'life0 self,
            session_key: &'life1 SessionKey,
            ttl: &'life2 Duration
        ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait>>
        where
            'life0: 'async_trait,
            'life1: 'async_trait,
            'life2: 'async_trait,
            Self: 'async_trait
    ; - fn delete<'life0, 'life1, 'async_trait>(
            &'life0 self,
            session_key: &'life1 SessionKey
        ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait>>
        where
            'life0: 'async_trait,
            'life1: 'async_trait,
            Self: 'async_trait
    ; + fn load<'life0, 'life1, 'async_trait>(
            &'life0 self,
            session_key: &'life1 SessionKey
        ) -> Pin<Box<dyn Future<Output = Result<Option<HashMap<String, String>>, LoadError>> + 'async_trait>>
       where
            'life0: 'async_trait,
            'life1: 'async_trait,
            Self: 'async_trait
    ; + fn save<'life0, 'life1, 'async_trait>(
            &'life0 self,
            session_state: HashMap<String, String>,
            ttl: &'life1 Duration
        ) -> Pin<Box<dyn Future<Output = Result<SessionKey, SaveError>> + 'async_trait>>
       where
            'life0: 'async_trait,
            'life1: 'async_trait,
            Self: 'async_trait
    ; + fn update<'life0, 'life1, 'async_trait>(
            &'life0 self,
            session_key: SessionKey,
            session_state: HashMap<String, String>,
            ttl: &'life1 Duration
        ) -> Pin<Box<dyn Future<Output = Result<SessionKey, UpdateError>> + 'async_trait>>
       where
            'life0: 'async_trait,
            'life1: 'async_trait,
            Self: 'async_trait
    ; + fn update_ttl<'life0, 'life1, 'life2, 'async_trait>(
            &'life0 self,
            session_key: &'life1 SessionKey,
            ttl: &'life2 Duration
        ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait>>
       where
            'life0: 'async_trait,
            'life1: 'async_trait,
            'life2: 'async_trait,
            Self: 'async_trait
    ; + fn delete<'life0, 'life1, 'async_trait>(
            &'life0 self,
            session_key: &'life1 SessionKey
        ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait>>
       where
            'life0: 'async_trait,
            'life1: 'async_trait,
            Self: 'async_trait
    ; }
    Expand description

    The interface to retrieve and save the current session data from/to the chosen storage backend.

    You can provide your own custom session store backend by implementing this trait.

    async-trait is used for this trait’s definition. Therefore, it is required for implementations, too. In particular, we use the send-optional variant: #[async_trait(?Send)].

    -

    Required Methods

    Loads the session state associated to a session key.

    -

    Persist the session state for a newly created session.

    +

    Required Methods

    Loads the session state associated to a session key.

    +

    Persist the session state for a newly created session.

    Returns the corresponding session key.

    -

    Updates the session state associated to a pre-existing session key.

    -

    Updates the TTL of the session state associated to a pre-existing session key.

    -

    Deletes a session from the store.

    -

    Implementors

    \ No newline at end of file +

    Updates the session state associated to a pre-existing session key.

    +

    Updates the TTL of the session state associated to a pre-existing session key.

    +

    Deletes a session from the store.

    +

    Implementors

    \ No newline at end of file diff --git a/actix_session/struct.Session.html b/actix_session/struct.Session.html index 8905715c1..51c1ec6f0 100644 --- a/actix_session/struct.Session.html +++ b/actix_session/struct.Session.html @@ -57,27 +57,27 @@ otherwise returns un-deserialized JSON string.

    Future that resolves to a Self. Read more

    Create a Self from request parts asynchronously.

    Create a Self from request head asynchronously. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/struct.SessionGetError.html b/actix_session/struct.SessionGetError.html index 5a9e91dfc..8e591e84e 100644 --- a/actix_session/struct.SessionGetError.html +++ b/actix_session/struct.SessionGetError.html @@ -1,36 +1,36 @@ SessionGetError in actix_session - Rust

    SessionGetError

    logo
    pub struct SessionGetError(_);
    Expand description

    Error returned by Session::get.

    Trait Implementations

    Formats the value using the given formatter. Read more

    Formats the value using the given formatter. Read more

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

    -
    👎Deprecated since 1.42.0:

    use the Display impl or to_string()

    -
    👎Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    -
    🔬This is a nightly-only experimental API. (error_generic_member_access)

    Provides type based access to context intended for error reports. Read more

    -

    Converts to this type from the input type.

    +
    👎Deprecated since 1.42.0:

    use the Display impl or to_string()

    +
    👎Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    +
    🔬This is a nightly-only experimental API. (error_generic_member_access)

    Provides type based access to context intended for error reports. Read more

    +

    Converts to this type from the input type.

    Creates full response for error. Read more

    Returns appropriate status code for error. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    🔬This is a nightly-only experimental API. (provide_any)

    Data providers should implement this method to provide all values they are able to +

    🔬This is a nightly-only experimental API. (provide_any)

    Data providers should implement this method to provide all values they are able to provide by using demand. Read more

    Should always be Self

    -

    Converts the given value to a String. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/struct.SessionInsertError.html b/actix_session/struct.SessionInsertError.html index dc817db99..94fddcae3 100644 --- a/actix_session/struct.SessionInsertError.html +++ b/actix_session/struct.SessionInsertError.html @@ -1,36 +1,36 @@ SessionInsertError in actix_session - Rust

    SessionInsertError

    logo
    pub struct SessionInsertError(_);
    Expand description

    Error returned by Session::insert.

    Trait Implementations

    Formats the value using the given formatter. Read more

    Formats the value using the given formatter. Read more

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

    -
    👎Deprecated since 1.42.0:

    use the Display impl or to_string()

    -
    👎Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    -
    🔬This is a nightly-only experimental API. (error_generic_member_access)

    Provides type based access to context intended for error reports. Read more

    -

    Converts to this type from the input type.

    +
    👎Deprecated since 1.42.0:

    use the Display impl or to_string()

    +
    👎Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    +
    🔬This is a nightly-only experimental API. (error_generic_member_access)

    Provides type based access to context intended for error reports. Read more

    +

    Converts to this type from the input type.

    Creates full response for error. Read more

    Returns appropriate status code for error. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    🔬This is a nightly-only experimental API. (provide_any)

    Data providers should implement this method to provide all values they are able to +

    🔬This is a nightly-only experimental API. (provide_any)

    Data providers should implement this method to provide all values they are able to provide by using demand. Read more

    Should always be Self

    -

    Converts the given value to a String. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/struct.SessionMiddleware.html b/actix_session/struct.SessionMiddleware.html index 2f355ce48..105483179 100644 --- a/actix_session/struct.SessionMiddleware.html +++ b/actix_session/struct.SessionMiddleware.html @@ -101,33 +101,33 @@ parameters.

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    -

    Responses produced by the service.

    +

    Responses produced by the service.

    Errors produced by the service.

    The TransformService value created by this factory

    Errors produced while building a transform service.

    The future response value.

    Creates and returns a new Transform component, asynchronously

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_session/trait.SessionExt.html b/actix_session/trait.SessionExt.html index 2ae84f0c0..d85e86eb6 100644 --- a/actix_session/trait.SessionExt.html +++ b/actix_session/trait.SessionExt.html @@ -5,4 +5,4 @@ }
    Expand description

    Extract a Session object from various actix-web types (e.g. HttpRequest, ServiceRequest, ServiceResponse).

    Required Methods

    Extract a Session object.

    -

    Implementations on Foreign Types

    Implementors

    \ No newline at end of file +

    Implementations on Foreign Types

    Implementors

    \ No newline at end of file diff --git a/actix_settings/all.html b/actix_settings/all.html index 6b013d683..c823179ab 100644 --- a/actix_settings/all.html +++ b/actix_settings/all.html @@ -1,3 +1,3 @@ List of all items in this crate
    \ No newline at end of file + logo

    List of all items

    Structs

    Enums

    Traits

    Typedefs

    \ No newline at end of file diff --git a/actix_settings/enum.Backlog.html b/actix_settings/enum.Backlog.html index c5925b988..987401e8d 100644 --- a/actix_settings/enum.Backlog.html +++ b/actix_settings/enum.Backlog.html @@ -14,36 +14,36 @@ under significant load.

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    Formats the value using the given formatter. Read more

    -

    Deserialize this value from the given Serde deserializer. Read more

    +

    Deserialize this value from the given Serde deserializer. Read more

    Feeds this value into the given Hasher. Read more

    -

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

    +

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

    Parse Self from string.

    This method tests for self and other values to be equal, and is used by ==. Read more

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_settings/enum.Error.html b/actix_settings/enum.Error.html index f971f338b..6973ba315 100644 --- a/actix_settings/enum.Error.html +++ b/actix_settings/enum.Error.html @@ -34,27 +34,27 @@

    Converts to this type from the input type.

    Converts to this type from the input type.

    Converts to this type from the input type.

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_settings/enum.KeepAlive.html b/actix_settings/enum.KeepAlive.html index 7c2d95574..f7e1c960e 100644 --- a/actix_settings/enum.KeepAlive.html +++ b/actix_settings/enum.KeepAlive.html @@ -16,36 +16,36 @@

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    Formats the value using the given formatter. Read more

    -

    Deserialize this value from the given Serde deserializer. Read more

    +

    Deserialize this value from the given Serde deserializer. Read more

    Feeds this value into the given Hasher. Read more

    -

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

    +

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

    Parse Self from string.

    This method tests for self and other values to be equal, and is used by ==. Read more

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_settings/enum.MaxConnectionRate.html b/actix_settings/enum.MaxConnectionRate.html index f1c082444..277297edd 100644 --- a/actix_settings/enum.MaxConnectionRate.html +++ b/actix_settings/enum.MaxConnectionRate.html @@ -12,36 +12,36 @@ value: Either “default”, or an integer N > 0 e.g. “6”.

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    Formats the value using the given formatter. Read more

    -

    Deserialize this value from the given Serde deserializer. Read more

    +

    Deserialize this value from the given Serde deserializer. Read more

    Feeds this value into the given Hasher. Read more

    -

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

    +

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

    Parse Self from string.

    This method tests for self and other values to be equal, and is used by ==. Read more

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_settings/enum.MaxConnections.html b/actix_settings/enum.MaxConnections.html index 42785da70..6c623c8fa 100644 --- a/actix_settings/enum.MaxConnections.html +++ b/actix_settings/enum.MaxConnections.html @@ -12,36 +12,36 @@ integer N > 0 e.g. “6”.

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    Formats the value using the given formatter. Read more

    -

    Deserialize this value from the given Serde deserializer. Read more

    +

    Deserialize this value from the given Serde deserializer. Read more

    Feeds this value into the given Hasher. Read more

    -

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

    +

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

    Parse Self from string.

    This method tests for self and other values to be equal, and is used by ==. Read more

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_settings/enum.Mode.html b/actix_settings/enum.Mode.html index 8d0bece0e..ba99c3a0c 100644 --- a/actix_settings/enum.Mode.html +++ b/actix_settings/enum.Mode.html @@ -9,36 +9,36 @@

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    Formats the value using the given formatter. Read more

    -

    Deserialize this value from the given Serde deserializer. Read more

    +

    Deserialize this value from the given Serde deserializer. Read more

    Feeds this value into the given Hasher. Read more

    -

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

    +

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

    Parse Self from string.

    This method tests for self and other values to be equal, and is used by ==. Read more

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_settings/enum.NumWorkers.html b/actix_settings/enum.NumWorkers.html index 8cbf4bfc6..776137dab 100644 --- a/actix_settings/enum.NumWorkers.html +++ b/actix_settings/enum.NumWorkers.html @@ -11,36 +11,36 @@

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    Formats the value using the given formatter. Read more

    -

    Deserialize this value from the given Serde deserializer. Read more

    +

    Deserialize this value from the given Serde deserializer. Read more

    Feeds this value into the given Hasher. Read more

    -

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

    +

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

    Parse Self from string.

    This method tests for self and other values to be equal, and is used by ==. Read more

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_settings/enum.Timeout.html b/actix_settings/enum.Timeout.html index 4af361f71..108562f71 100644 --- a/actix_settings/enum.Timeout.html +++ b/actix_settings/enum.Timeout.html @@ -11,36 +11,36 @@

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    Formats the value using the given formatter. Read more

    -

    Deserialize this value from the given Serde deserializer. Read more

    +

    Deserialize this value from the given Serde deserializer. Read more

    Feeds this value into the given Hasher. Read more

    -

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

    +

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

    Parse Self from string.

    This method tests for self and other values to be equal, and is used by ==. Read more

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_settings/index.html b/actix_settings/index.html index 58c573c0c..bf766e878 100644 --- a/actix_settings/index.html +++ b/actix_settings/index.html @@ -10,7 +10,7 @@ the environment using Examples

    See examples folder on GitHub for complete example.

    -
    use actix_settings::{ApplySettings as _, Mode, Settings};
    +
    use actix_settings::{ApplySettings as _, Mode, Settings};
     
     #[actix_web::main]
     async fn main() -> std::io::Result<()> {
    @@ -66,4 +66,4 @@ the environment using Traits

    Extension trait for applying parsed settings to the server object.

    A specialized FromStr trait that returns [AtError] errors

    Type Definitions

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

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_settings/struct.ActixSettings.html b/actix_settings/struct.ActixSettings.html index 03903fbe9..1254d8e18 100644 --- a/actix_settings/struct.ActixSettings.html +++ b/actix_settings/struct.ActixSettings.html @@ -31,35 +31,35 @@

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    Formats the value using the given formatter. Read more

    -

    Deserialize this value from the given Serde deserializer. Read more

    +

    Deserialize this value from the given Serde deserializer. Read more

    Feeds this value into the given Hasher. Read more

    -

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

    +

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

    This method tests for self and other values to be equal, and is used by ==. Read more

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_settings/struct.Address.html b/actix_settings/struct.Address.html index b6329f9d9..8f92a5a2b 100644 --- a/actix_settings/struct.Address.html +++ b/actix_settings/struct.Address.html @@ -9,36 +9,36 @@

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    Formats the value using the given formatter. Read more

    -

    Deserialize this value from the given Serde deserializer. Read more

    +

    Deserialize this value from the given Serde deserializer. Read more

    Feeds this value into the given Hasher. Read more

    -

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

    +

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

    Parse Self from string.

    This method tests for self and other values to be equal, and is used by ==. Read more

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_settings/struct.BasicSettings.html b/actix_settings/struct.BasicSettings.html index 32491a56d..663e8c51c 100644 --- a/actix_settings/struct.BasicSettings.html +++ b/actix_settings/struct.BasicSettings.html @@ -6,16 +6,16 @@ }
    Expand description

    Wrapper for server and application-specific settings.

    Fields

    actix: ActixSettings

    Actix Web server settings.

    application: A

    Application-specific settings.

    -

    Implementations

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

    +

    Implementations

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

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

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

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

    -

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

    +

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

    Errors

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

    -

    Attempts to parse value and override the referenced field.

    +

    Attempts to parse value and override the referenced field.

    Examples
    use actix_settings::{Settings, Mode};
     
    @@ -24,7 +24,7 @@ location.

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

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

    +

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

    Examples
    use actix_settings::{Settings, Mode};
     
    @@ -38,35 +38,35 @@ Settings::override_field_with_env_var(&mut setting
     

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    Formats the value using the given formatter. Read more

    -

    Deserialize this value from the given Serde deserializer. Read more

    +

    Deserialize this value from the given Serde deserializer. Read more

    Feeds this value into the given Hasher. Read more

    -

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

    +

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

    This method tests for self and other values to be equal, and is used by ==. Read more

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_settings/struct.NoSettings.html b/actix_settings/struct.NoSettings.html index 8c990cf2f..9cc0fb394 100644 --- a/actix_settings/struct.NoSettings.html +++ b/actix_settings/struct.NoSettings.html @@ -4,35 +4,35 @@

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    Formats the value using the given formatter. Read more

    -

    Deserialize this value from the given Serde deserializer. Read more

    +

    Deserialize this value from the given Serde deserializer. Read more

    Feeds this value into the given Hasher. Read more

    -

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

    +

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

    This method tests for self and other values to be equal, and is used by ==. Read more

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_settings/struct.Tls.html b/actix_settings/struct.Tls.html index bfd3d90fb..9a74f1c97 100644 --- a/actix_settings/struct.Tls.html +++ b/actix_settings/struct.Tls.html @@ -11,35 +11,35 @@

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    Formats the value using the given formatter. Read more

    -

    Deserialize this value from the given Serde deserializer. Read more

    +

    Deserialize this value from the given Serde deserializer. Read more

    Feeds this value into the given Hasher. Read more

    -

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

    +

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

    This method tests for self and other values to be equal, and is used by ==. Read more

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_settings/trait.ApplySettings.html b/actix_settings/trait.ApplySettings.html index 05394a0cc..ee4936cf7 100644 --- a/actix_settings/trait.ApplySettings.html +++ b/actix_settings/trait.ApplySettings.html @@ -1,7 +1,7 @@ ApplySettings in actix_settings - Rust
    logo
    pub trait ApplySettings {
    -    fn apply_settings<A>(self, settings: &BasicSettings<A>) -> Self
        where
            A: DeserializeOwned
    ; + fn apply_settings<A>(self, settings: &BasicSettings<A>) -> Self
       where
            A: DeserializeOwned
    ; }
    Expand description

    Extension trait for applying parsed settings to the server object.

    -

    Required Methods

    Apply a BasicSettings value to self.

    -

    Implementations on Foreign Types

    Implementors

    \ No newline at end of file +

    Required Methods

    Apply a BasicSettings value to self.

    +

    Implementations on Foreign Types

    Implementors

    \ No newline at end of file diff --git a/actix_settings/trait.Parse.html b/actix_settings/trait.Parse.html index 2362431b0..a2d2e1302 100644 --- a/actix_settings/trait.Parse.html +++ b/actix_settings/trait.Parse.html @@ -4,4 +4,4 @@ fn parse(string: &str) -> Result<Self, Error>; }
    Expand description

    A specialized FromStr trait that returns [AtError] errors

    Required Methods

    Parse Self from string.

    -

    Implementations on Foreign Types

    Implementors

    \ No newline at end of file +

    Implementations on Foreign Types

    Implementors

    \ No newline at end of file diff --git a/actix_settings/type.Settings.html b/actix_settings/type.Settings.html index 9c20d45da..60b9bbc47 100644 --- a/actix_settings/type.Settings.html +++ b/actix_settings/type.Settings.html @@ -1,4 +1,4 @@ Settings in actix_settings - Rust
    logo

    Type Definition actix_settings::Settings

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

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

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_web_httpauth/all.html b/actix_web_httpauth/all.html index c4aeab90f..1c679a183 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 f86c127bd..9f7de19cd 100644 --- a/actix_web_httpauth/extractors/basic/index.html +++ b/actix_web_httpauth/extractors/basic/index.html @@ -1,4 +1,4 @@ actix_web_httpauth::extractors::basic - Rust
    Expand description

    Extractor for the “Basic” HTTP Authentication Scheme.

    Structs

    Extractor for HTTP Basic auth.

    BasicAuth extractor configuration used for WWW-Authenticate header later.

    -
    \ No newline at end of file +
    \ 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 10edca4b2..8fd7a5cb0 100644 --- a/actix_web_httpauth/extractors/basic/struct.BasicAuth.html +++ b/actix_web_httpauth/extractors/basic/struct.BasicAuth.html @@ -27,27 +27,27 @@ App::new()

    The associated error which can be returned.

    Create a Self from request parts asynchronously.

    Create a Self from request head asynchronously. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_web_httpauth/extractors/basic/struct.Config.html b/actix_web_httpauth/extractors/basic/struct.Config.html index eee06fb57..2a5eea71c 100644 --- a/actix_web_httpauth/extractors/basic/struct.Config.html +++ b/actix_web_httpauth/extractors/basic/struct.Config.html @@ -1,5 +1,5 @@ Config in actix_web_httpauth::extractors::basic - Rust
    pub struct Config(_);
    Expand description

    BasicAuth extractor configuration used for WWW-Authenticate header later.

    -

    Implementations

    Set challenge realm attribute.

    +

    Implementations

    Set challenge realm attribute.

    The “realm” attribute indicates the scope of protection in the manner described in HTTP/1.1 RFC 2617 §1.2.

    Trait Implementations

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

    @@ -9,27 +9,27 @@

    Performs copy-assignment from source. Read more

    Formats the value using the given formatter. Read more

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_web_httpauth/extractors/bearer/enum.Error.html b/actix_web_httpauth/extractors/bearer/enum.Error.html index 051d6e29f..894437b61 100644 --- a/actix_web_httpauth/extractors/bearer/enum.Error.html +++ b/actix_web_httpauth/extractors/bearer/enum.Error.html @@ -14,11 +14,11 @@ or is otherwise malformed.

    Formats the value using the given formatter. Read more

    Formats the value using the given formatter. Read more

    Feeds this value into the given Hasher. Read more

    -

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

    +

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

    This method returns an Ordering between self and other. Read more

    Compares and returns the maximum of two values. Read more

    Compares and returns the minimum of two values. Read more

    -

    Restrict a value to a certain interval. Read more

    +

    Restrict a value to a certain interval. Read more

    This method tests for self and other values to be equal, and is used by ==. Read more

    This method tests for !=. The default implementation is almost always @@ -30,29 +30,29 @@ operator.

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

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    Converts the given value to a String. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_web_httpauth/extractors/bearer/index.html b/actix_web_httpauth/extractors/bearer/index.html index 0e7d95465..346bff696 100644 --- a/actix_web_httpauth/extractors/bearer/index.html +++ b/actix_web_httpauth/extractors/bearer/index.html @@ -2,4 +2,4 @@

    Structs

    Extractor for HTTP Bearer auth

    BearerAuth extractor configuration.

    Enums

    Bearer authorization error types, described in RFC 6750.

    -
    \ No newline at end of file +
    \ 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 42b7a2e16..7626f66d4 100644 --- a/actix_web_httpauth/extractors/bearer/struct.BearerAuth.html +++ b/actix_web_httpauth/extractors/bearer/struct.BearerAuth.html @@ -31,27 +31,27 @@ App::new()

    The associated error which can be returned.

    Create a Self from request parts asynchronously.

    Create a Self from request head asynchronously. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_web_httpauth/extractors/bearer/struct.Config.html b/actix_web_httpauth/extractors/bearer/struct.Config.html index 7edb3a7c4..609dfd713 100644 --- a/actix_web_httpauth/extractors/bearer/struct.Config.html +++ b/actix_web_httpauth/extractors/bearer/struct.Config.html @@ -13,27 +13,27 @@ described in HTTP/1.1

    Performs copy-assignment from source. Read more

    Formats the value using the given formatter. Read more

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_web_httpauth/extractors/index.html b/actix_web_httpauth/extractors/index.html index fe694650c..cb1669299 100644 --- a/actix_web_httpauth/extractors/index.html +++ b/actix_web_httpauth/extractors/index.html @@ -4,4 +4,4 @@

    Structs

    Authentication error returned by authentication extractors.

    Traits

    Trait implemented for types that provides configuration for the authentication extractors.

    -
    \ No newline at end of file +
    \ 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 8858686fe..5ddc35995 100644 --- a/actix_web_httpauth/extractors/struct.AuthenticationError.html +++ b/actix_web_httpauth/extractors/struct.AuthenticationError.html @@ -5,8 +5,8 @@ inner challenge fields.

    Attach Error to the current Authentication error.

    Error status code will be changed to the one provided by the kind Error.

    -

    Attach error description to the current Authentication error.

    -

    Attach error URI to the current Authentication error.

    +

    Attach error description to the current Authentication error.

    +

    Attach error URI to the current Authentication error.

    It is up to implementor to provide properly formed absolute URI.

    Creates new authentication error from the provided challenge.

    By default returned error will resolve into the HTTP 401 status code.

    @@ -16,34 +16,34 @@ Error.

    RFC, so it might be unreasonable.

    Trait Implementations

    Formats the value using the given formatter. Read more

    Formats the value using the given formatter. Read more

    -

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

    -
    👎Deprecated since 1.42.0:

    use the Display impl or to_string()

    -
    👎Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    -
    🔬This is a nightly-only experimental API. (error_generic_member_access)

    Provides type based access to context intended for error reports. Read more

    -

    Converts to this type from the input type.

    +

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

    +
    👎Deprecated since 1.42.0:

    use the Display impl or to_string()

    +
    👎Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    +
    🔬This is a nightly-only experimental API. (error_generic_member_access)

    Provides type based access to context intended for error reports. Read more

    +

    Converts to this type from the input type.

    Returns appropriate status code for error. Read more

    Creates full response for error. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    🔬This is a nightly-only experimental API. (provide_any)

    Data providers should implement this method to provide all values they are able to +

    🔬This is a nightly-only experimental API. (provide_any)

    Data providers should implement this method to provide all values they are able to provide by using demand. Read more

    Should always be Self

    -

    Converts the given value to a String. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_web_httpauth/extractors/trait.AuthExtractorConfig.html b/actix_web_httpauth/extractors/trait.AuthExtractorConfig.html index 604f655ff..e7fbf0ab2 100644 --- a/actix_web_httpauth/extractors/trait.AuthExtractorConfig.html +++ b/actix_web_httpauth/extractors/trait.AuthExtractorConfig.html @@ -6,4 +6,4 @@ extractors.

    Required Associated Types

    Associated challenge type.

    Required Methods

    Convert the config instance into a HTTP challenge.

    -

    Implementors

    \ No newline at end of file +

    Implementors

    \ No newline at end of file diff --git a/actix_web_httpauth/headers/authorization/enum.ParseError.html b/actix_web_httpauth/headers/authorization/enum.ParseError.html index c08c644c0..811a1ebd5 100644 --- a/actix_web_httpauth/headers/authorization/enum.ParseError.html +++ b/actix_web_httpauth/headers/authorization/enum.ParseError.html @@ -17,33 +17,33 @@

    Trait Implementations

    Formats the value using the given formatter. Read more

    Formats the value using the given formatter. Read more

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

    -
    👎Deprecated since 1.42.0:

    use the Display impl or to_string()

    -
    👎Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    -
    🔬This is a nightly-only experimental API. (error_generic_member_access)

    Provides type based access to context intended for error reports. Read more

    +
    👎Deprecated since 1.42.0:

    use the Display impl or to_string()

    +
    👎Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    +
    🔬This is a nightly-only experimental API. (error_generic_member_access)

    Provides type based access to context intended for error reports. Read more

    Converts to this type from the input type.

    Converts to this type from the input type.

    Converts to this type from the input type.

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    🔬This is a nightly-only experimental API. (provide_any)

    Data providers should implement this method to provide all values they are able to +

    🔬This is a nightly-only experimental API. (provide_any)

    Data providers should implement this method to provide all values they are able to provide by using demand. Read more

    Should always be Self

    -

    Converts the given value to a String. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_web_httpauth/headers/authorization/index.html b/actix_web_httpauth/headers/authorization/index.html index 282390488..2fb7a122e 100644 --- a/actix_web_httpauth/headers/authorization/index.html +++ b/actix_web_httpauth/headers/authorization/index.html @@ -4,4 +4,4 @@

    Credentials for Bearer authentication scheme, defined in RFC 6750.

    Enums

    Possible errors while parsing Authorization header.

    Traits

    Authentication scheme for Authorization header.

    -
    \ No newline at end of file +
    \ 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 af7fb1c10..62eba7e01 100644 --- a/actix_web_httpauth/headers/authorization/struct.Authorization.html +++ b/actix_web_httpauth/headers/authorization/struct.Authorization.html @@ -20,13 +20,13 @@ realm of the resource being requested.

    Formats the value using the given formatter. Read more

    Converts to this type from the input type.

    Feeds this value into the given Hasher. Read more

    -

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

    +

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

    Returns the name of the header field.

    Parse the header from a HTTP message.

    This method returns an Ordering between self and other. Read more

    Compares and returns the maximum of two values. Read more

    Compares and returns the minimum of two values. Read more

    -

    Restrict a value to a certain interval. Read more

    +

    Restrict a value to a certain interval. Read more

    This method tests for self and other values to be equal, and is used by ==. Read more

    This method tests for !=. The default implementation is almost always @@ -40,30 +40,30 @@ operator. Read more

    The type returned in the event of a conversion error.

    Try to convert value to a HeaderValue.

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Converts to this type from the input type.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Converts to this type from the input type.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    Converts the given value to a String. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_web_httpauth/headers/authorization/struct.Basic.html b/actix_web_httpauth/headers/authorization/struct.Basic.html index 401f60d45..ff764498d 100644 --- a/actix_web_httpauth/headers/authorization/struct.Basic.html +++ b/actix_web_httpauth/headers/authorization/struct.Basic.html @@ -1,5 +1,5 @@ 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

    Creates Basic credentials with provided user_id and optional +

    Implementations

    Creates Basic credentials with provided user_id and optional password.

    Examples
    let credentials = Basic::new("Alladin", Some("open sesame"));
    @@ -12,7 +12,7 @@

    This method returns an Ordering between self and other. Read more

    Compares and returns the maximum of two values. Read more

    Compares and returns the minimum of two values. Read more

    -

    Restrict a value to a certain interval. Read more

    +

    Restrict a value to a certain interval. Read more

    This method tests for self and other values to be equal, and is used by ==. Read more

    This method tests for !=. The default implementation is almost always @@ -27,29 +27,29 @@ operator.

    Try to parse an authentication scheme from the Authorization header.

    The type returned in the event of a conversion error.

    Try to convert value to a HeaderValue.

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    Converts the given value to a String. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_web_httpauth/headers/authorization/struct.Bearer.html b/actix_web_httpauth/headers/authorization/struct.Bearer.html index 8bfb471fc..af3030974 100644 --- a/actix_web_httpauth/headers/authorization/struct.Bearer.html +++ b/actix_web_httpauth/headers/authorization/struct.Bearer.html @@ -1,6 +1,6 @@ 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

    Creates new Bearer credentials with the token provided.

    +

    Implementations

    Creates new Bearer credentials with the token provided.

    Example
    let credentials = Bearer::new("mF_9.B5f-4.1JqM");

    Gets reference to the credentials token.

    @@ -11,7 +11,7 @@

    This method returns an Ordering between self and other. Read more

    Compares and returns the maximum of two values. Read more

    Compares and returns the minimum of two values. Read more

    -

    Restrict a value to a certain interval. Read more

    +

    Restrict a value to a certain interval. Read more

    This method tests for self and other values to be equal, and is used by ==. Read more

    This method tests for !=. The default implementation is almost always @@ -26,29 +26,29 @@ operator.

    Try to parse an authentication scheme from the Authorization header.

    The type returned in the event of a conversion error.

    Try to convert value to a HeaderValue.

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    Converts the given value to a String. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_web_httpauth/headers/authorization/trait.Scheme.html b/actix_web_httpauth/headers/authorization/trait.Scheme.html index 6fa88caa7..26539a34f 100644 --- a/actix_web_httpauth/headers/authorization/trait.Scheme.html +++ b/actix_web_httpauth/headers/authorization/trait.Scheme.html @@ -2,4 +2,4 @@ fn parse(header: &HeaderValue) -> Result<Self, ParseError>; }
    Expand description

    Authentication scheme for Authorization header.

    Required Methods

    Try to parse an authentication scheme from the Authorization header.

    -

    Implementors

    \ No newline at end of file +

    Implementors

    \ No newline at end of file diff --git a/actix_web_httpauth/headers/index.html b/actix_web_httpauth/headers/index.html index 3409d8230..7eea34dac 100644 --- a/actix_web_httpauth/headers/index.html +++ b/actix_web_httpauth/headers/index.html @@ -1,4 +1,4 @@ actix_web_httpauth::headers - Rust
    Expand description

    Typed HTTP headers.

    Modules

    Authorization header and various auth schemes.

    WWW-Authenticate header and various auth challenges.

    -
    \ No newline at end of file +
    \ 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 0dc139370..5b487864b 100644 --- a/actix_web_httpauth/headers/www_authenticate/basic/index.html +++ b/actix_web_httpauth/headers/www_authenticate/basic/index.html @@ -1,4 +1,4 @@ actix_web_httpauth::headers::www_authenticate::basic - Rust
    Expand description

    Challenge for the “Basic” HTTP Authentication Scheme.

    Structs

    Challenge for WWW-Authenticate header with HTTP Basic auth scheme, described in RFC 7617

    -
    \ No newline at end of file +
    \ 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 0a7d76205..cce937a17 100644 --- a/actix_web_httpauth/headers/www_authenticate/basic/struct.Basic.html +++ b/actix_web_httpauth/headers/www_authenticate/basic/struct.Basic.html @@ -14,7 +14,7 @@ described in RFC 7617

    Implementations

    Creates new Basic challenge with an empty realm field.

    Examples
    let challenge = Basic::new();
    -

    Creates new Basic challenge from the provided realm field value.

    +

    Creates new Basic challenge from the provided realm field value.

    Examples
    let challenge = Basic::with_realm("Restricted area");
    @@ -27,11 +27,11 @@ described in RFC 7617

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

    Formats the value using the given formatter. Read more

    Feeds this value into the given Hasher. Read more

    -

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

    +

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

    This method returns an Ordering between self and other. Read more

    Compares and returns the maximum of two values. Read more

    Compares and returns the minimum of two values. Read more

    -

    Restrict a value to a certain interval. Read more

    +

    Restrict a value to a certain interval. Read more

    This method tests for self and other values to be equal, and is used by ==. Read more

    This method tests for !=. The default implementation is almost always @@ -45,29 +45,29 @@ operator. Read more

    The type returned in the event of a conversion error.

    Try to convert value to a HeaderValue.

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    Converts the given value to a String. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file 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 2883b3d88..093480de1 100644 --- a/actix_web_httpauth/headers/www_authenticate/bearer/enum.Error.html +++ b/actix_web_httpauth/headers/www_authenticate/bearer/enum.Error.html @@ -14,11 +14,11 @@ or is otherwise malformed.

    Formats the value using the given formatter. Read more

    Formats the value using the given formatter. Read more

    Feeds this value into the given Hasher. Read more

    -

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

    +

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

    This method returns an Ordering between self and other. Read more

    Compares and returns the maximum of two values. Read more

    Compares and returns the minimum of two values. Read more

    -

    Restrict a value to a certain interval. Read more

    +

    Restrict a value to a certain interval. Read more

    This method tests for self and other values to be equal, and is used by ==. Read more

    This method tests for !=. The default implementation is almost always @@ -30,29 +30,29 @@ operator.

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

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    Converts the given value to a String. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_web_httpauth/headers/www_authenticate/bearer/index.html b/actix_web_httpauth/headers/www_authenticate/bearer/index.html index 9e47e3b15..4f66c5ce6 100644 --- a/actix_web_httpauth/headers/www_authenticate/bearer/index.html +++ b/actix_web_httpauth/headers/www_authenticate/bearer/index.html @@ -2,4 +2,4 @@

    Structs

    Challenge for WWW-Authenticate header with HTTP Bearer auth scheme, described in RFC 6750.

    Builder for the Bearer challenge.

    Enums

    Bearer authorization error types, described in RFC 6750.

    -
    \ No newline at end of file +
    \ 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 a3c8a76fd..bcc871c35 100644 --- a/actix_web_httpauth/headers/www_authenticate/bearer/struct.Bearer.html +++ b/actix_web_httpauth/headers/www_authenticate/bearer/struct.Bearer.html @@ -31,11 +31,11 @@

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

    Formats the value using the given formatter. Read more

    Feeds this value into the given Hasher. Read more

    -

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

    +

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

    This method returns an Ordering between self and other. Read more

    Compares and returns the maximum of two values. Read more

    Compares and returns the minimum of two values. Read more

    -

    Restrict a value to a certain interval. Read more

    +

    Restrict a value to a certain interval. Read more

    This method tests for self and other values to be equal, and is used by ==. Read more

    This method tests for !=. The default implementation is almost always @@ -49,29 +49,29 @@ operator. Read more

    The type returned in the event of a conversion error.

    Try to convert value to a HeaderValue.

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    Converts the given value to a String. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file 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 1cf0a61cc..c7d81e84f 100644 --- a/actix_web_httpauth/headers/www_authenticate/bearer/struct.BearerBuilder.html +++ b/actix_web_httpauth/headers/www_authenticate/bearer/struct.BearerBuilder.html @@ -1,34 +1,34 @@ BearerBuilder in actix_web_httpauth::headers::www_authenticate::bearer - Rust
    pub struct BearerBuilder(_);
    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

    Provides the scope attribute, as defined in RFC 6749 §3.3.

    -

    Provides the realm attribute, as defined in RFC 2617.

    +

    Implementations

    Provides the scope attribute, as defined in RFC 6749 §3.3.

    +

    Provides the realm attribute, as defined in RFC 2617.

    Provides the error attribute, as defined in [RFC 6750, Section 3.1].

    -

    Provides the error_description attribute, as defined in [RFC 6750, Section 3].

    -

    Provides the error_uri attribute, as defined in [RFC 6750 §3].

    +

    Provides the error_description attribute, as defined in [RFC 6750, Section 3].

    +

    Provides the error_uri attribute, as defined in [RFC 6750 §3].

    It is up to implementor to provide properly-formed absolute URI.

    RFC 6750 §3

    Consumes the builder and returns built Bearer instance.

    Trait Implementations

    Formats the value using the given formatter. Read more

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

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_web_httpauth/headers/www_authenticate/index.html b/actix_web_httpauth/headers/www_authenticate/index.html index 9c4b47762..94959ff82 100644 --- a/actix_web_httpauth/headers/www_authenticate/index.html +++ b/actix_web_httpauth/headers/www_authenticate/index.html @@ -3,4 +3,4 @@

    Challenge for the “Bearer” HTTP Authentication Scheme.

    Structs

    WWW-Authenticate header, described in RFC 7235.

    Traits

    Authentication challenge for WWW-Authenticate header.

    -
    \ No newline at end of file +
    \ 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 7f437fe19..a748875fb 100644 --- a/actix_web_httpauth/headers/www_authenticate/struct.WwwAuthenticate.html +++ b/actix_web_httpauth/headers/www_authenticate/struct.WwwAuthenticate.html @@ -6,13 +6,13 @@

    Formats the value using the given formatter. Read more

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

    Feeds this value into the given Hasher. Read more

    -

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

    +

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

    Returns the name of the header field.

    Parse the header from a HTTP message.

    This method returns an Ordering between self and other. Read more

    Compares and returns the maximum of two values. Read more

    Compares and returns the minimum of two values. Read more

    -

    Restrict a value to a certain interval. Read more

    +

    Restrict a value to a certain interval. Read more

    This method tests for self and other values to be equal, and is used by ==. Read more

    This method tests for !=. The default implementation is almost always @@ -26,28 +26,28 @@ operator. Read more

    The type returned in the event of a conversion error.

    Try to convert value to a HeaderValue.

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Compare self to key and return true if they are equal.

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_web_httpauth/headers/www_authenticate/trait.Challenge.html b/actix_web_httpauth/headers/www_authenticate/trait.Challenge.html index 36207be77..e8f0d550f 100644 --- a/actix_web_httpauth/headers/www_authenticate/trait.Challenge.html +++ b/actix_web_httpauth/headers/www_authenticate/trait.Challenge.html @@ -2,4 +2,4 @@ fn to_bytes(&self) -> Bytes; }
    Expand description

    Authentication challenge for WWW-Authenticate header.

    Required Methods

    Converts the challenge into a bytes suitable for HTTP transmission.

    -

    Implementors

    \ No newline at end of file +

    Implementors

    \ No newline at end of file diff --git a/actix_web_httpauth/index.html b/actix_web_httpauth/index.html index a35284483..f7a0c6097 100644 --- a/actix_web_httpauth/index.html +++ b/actix_web_httpauth/index.html @@ -13,4 +13,4 @@

    Modules

    Type-safe authentication information extractors.

    Typed HTTP headers.

    HTTP Authentication middleware.

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/actix_web_httpauth/middleware/index.html b/actix_web_httpauth/middleware/index.html index aa81db8ba..9a2d7ba9d 100644 --- a/actix_web_httpauth/middleware/index.html +++ b/actix_web_httpauth/middleware/index.html @@ -1,3 +1,3 @@ actix_web_httpauth::middleware - Rust
    Expand description

    HTTP Authentication middleware.

    Structs

    Middleware for checking HTTP authentication.

    -
    \ No newline at end of file +
    \ 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 8493391b8..f55a2e6c6 100644 --- a/actix_web_httpauth/middleware/struct.HttpAuthentication.html +++ b/actix_web_httpauth/middleware/struct.HttpAuthentication.html @@ -1,11 +1,11 @@ -HttpAuthentication in actix_web_httpauth::middleware - Rust
    pub struct HttpAuthentication<T, F> where
        T: FromRequest, 
    { /* private fields */ }
    Expand description

    Middleware for checking HTTP authentication.

    +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.

    Otherwise, it will pass both the request and the parsed credentials into it. In case of successful validation F callback is required to return the ServiceRequest back.

    -

    Implementations

    Construct HttpAuthentication middleware with the provided auth extractor T and +

    Implementations

    Construct HttpAuthentication middleware with the provided auth extractor T and validation callback F.

    -

    Construct HttpAuthentication middleware for the HTTP “Basic” authentication scheme.

    +

    Construct HttpAuthentication middleware for the HTTP “Basic” authentication scheme.

    Examples
    // In this example validator returns immediately, but since it is required to return
     // anything that implements `IntoFuture` trait, it can be extended to query database or to
    @@ -19,7 +19,7 @@ validation callback F.

    } let middleware = HttpAuthentication::basic(validator);
    -

    Construct HttpAuthentication middleware for the HTTP “Bearer” authentication scheme.

    +

    Construct HttpAuthentication middleware for the HTTP “Bearer” authentication scheme.

    Examples
    async fn validator(
         req: ServiceRequest,
    @@ -38,36 +38,36 @@ validation callback F.

    } let middleware = HttpAuthentication::bearer(validator);
    -

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Trait Implementations

    Returns a copy of the value. Read more

    Performs copy-assignment from source. Read more

    -

    Formats the value using the given formatter. Read more

    -

    Responses produced by the service.

    +

    Formats the value using the given formatter. Read more

    +

    Responses produced by the service.

    Errors produced by the service.

    The TransformService value created by this factory

    Errors produced while building a transform service.

    The future response value.

    Creates and returns a new Transform component, asynchronously

    -

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    -

    Immutably borrows from an owned value. Read more

    -

    Mutably borrows from an owned value. Read more

    -

    Returns the argument unchanged.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Returns the argument unchanged.

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    Calls U::from(self).

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Should always be Self

    -

    The resulting type after obtaining ownership.

    +

    The resulting type after obtaining ownership.

    Creates owned data from borrowed data, usually by cloning. Read more

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    The type returned in the event of a conversion error.

    -

    Performs the conversion.

    -

    Attaches the provided Subscriber to this type, returning a +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/ayu.css b/ayu.css index df1be0748..6e100d715 100644 --- a/ayu.css +++ b/ayu.css @@ -1 +1 @@ - :root{--main-background-color:#0f1419;--main-color:#c5c5c5;--settings-input-color:#ffb454;--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;}.slider{background-color:#ccc;}.slider:before{background-color:white;}input:focus+.slider{box-shadow:0 0 0 2px #0a84ff,0 0 0 6px rgba(10,132,255,0.3);}h1,h2,h3,h4{color:white;}h1.fqn a{color:#fff;}h4{border:none;}.docblock code{color:#ffb454;}.code-header{color:#e6e1cf;}.docblock pre>code,pre>code{color:#e6e1cf;}.item-info code{color:#e6e1cf;}.docblock a>code{color:#39AFD7 !important;}pre,.rustdoc.source .example-wrap{color:#e6e1cf;}.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);}.sidebar .current,.sidebar a:hover{background-color:transparent;color:#ffb44c;}.sidebar-elems .location{color:#ff7733;}.line-numbers span{color:#5c6773;}.line-numbers .line-highlighted{color:#708090;background-color:rgba(255,236,164,0.06);padding-right:4px;border-right:1px solid #ffb44c;}.search-results a:hover{background-color:#777;}.search-results a:focus{color:#000 !important;background-color:#c6afb3;}.search-results a{color:#0096cf;}.search-results a div.desc{color:#c5c5c5;}.content .item-info::before{color:#ccc;}.content span.foreigntype,.content a.foreigntype{color:#ffa0a5;}.content span.union,.content a.union{color:#ffa0a5;}.content span.constant,.content a.constant,.content span.static,.content a.static{color:#39AFD7;}.content span.primitive,.content a.primitive{color:#ffa0a5;}.content span.traitalias,.content a.traitalias{color:#39AFD7;}.content span.keyword,.content a.keyword{color:#39AFD7;}.content span.externcrate,.content span.mod,.content a.mod{color:#39AFD7;}.content span.struct,.content a.struct{color:#ffa0a5;}.content span.enum,.content a.enum{color:#ffa0a5;}.content span.trait,.content a.trait{color:#39AFD7;}.content span.type,.content a.type{color:#39AFD7;}.content span.type,.content a.type,.block a.current.type{color:#39AFD7;}.content span.associatedtype,.content a.associatedtype,.block a.current.associatedtype{color:#39AFD7;}.content span.fn,.content a.fn,.content span.method,.content a.method,.content span.tymethod,.content a.tymethod,.content .fnname{color:#fdd687;}.content span.attr,.content a.attr,.content span.derive,.content a.derive,.content span.macro,.content a.macro{color:#a37acc;}.sidebar a{color:#53b1db;}.sidebar a.current.type{color:#53b1db;}.sidebar a.current.associatedtype{color:#53b1db;}pre.rust .comment{color:#788797;}pre.rust .doccomment{color:#a1ac88;}a{color:#39AFD7;}.sidebar h2 a,.sidebar h3 a{color:white;}body.source .example-wrap pre.rust a{background:#333;}details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before{color:#999;}details.rustdoc-toggle>summary::before{filter:invert(100%);}#crate-search-div::after{filter:invert(41%) sepia(12%) saturate(487%) hue-rotate(171deg) brightness(94%) contrast(94%);}#crate-search:hover,#crate-search:focus{border-color:#e0e0e0 !important;}#crate-search-div:hover::after,#crate-search-div:focus-within::after{filter:invert(98%) sepia(12%) saturate(81%) hue-rotate(343deg) brightness(113%) contrast(76%);}.search-input{color:#fff;}.module-item .stab,.import-item .stab{color:#000;}.stab{color:#c5c5c5;background:#314559 !important;}.stab.portability>code{color:#e6e1cf;background:none;}.rightside:not(a),.out-of-band{color:grey;}.result-name .primitive>i,.result-name .keyword>i{color:#788797;}.line-numbers :target{background-color:transparent;}pre.rust .number,pre.rust .string{color:#b8cc52;}pre.rust .kw,pre.rust .kw-2,pre.rust .prelude-ty,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .lifetime{color:#ff7733;}pre.rust .macro,pre.rust .macro-nonterminal{color:#a37acc;}pre.rust .question-mark{color:#ff9011;}pre.rust .self{color:#36a3d9;font-style:italic;}pre.rust .attribute{color:#e6e1cf;}.example-wrap>pre.line-number{color:#5c67736e;border:none;}a.test-arrow{font-size:100%;color:#788797;border-radius:4px;background-color:rgba(57,175,215,0.09);}a.test-arrow:hover{background-color:rgba(57,175,215,0.368);color:#c5c5c5;}.toggle-label,.code-attribute{color:#999;}:target{background:rgba(255,236,164,0.06);border-right:3px solid rgba(255,180,76,0.85);}pre.compile_fail{border-left:2px solid rgba(255,0,0,.4);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.4);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.5);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.5);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#39AFD7;}.tooltip::after{background-color:#314559;color:#c5c5c5;}.tooltip::before{border-color:transparent #314559 transparent transparent;}.notable-traits-tooltiptext{background-color:#314559;}#titles>button.selected{background-color:#141920 !important;border-bottom:1px solid #ffb44c !important;border-top:none;}#titles>button:not(.selected){background-color:transparent !important;border:none;}#titles>button:hover{border-bottom:1px solid rgba(242,151,24,0.3);}#titles>button>div.count{color:#888;}.search-input:focus{}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{}.content span.struct,.content a.struct,.block a.current.struct{}#titles>button:hover,#titles>button.selected{}.content span.typedef,.content a.typedef,.block a.current.typedef{}.content span.union,.content a.union,.block a.current.union{}pre.rust .lifetime{}.stab.unstable{}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){}.content span.enum,.content a.enum,.block a.current.enum{}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{}.content span.keyword,.content a.keyword,.block a.current.keyword{}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{}pre.rust .kw{}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute{}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{}.stab.deprecated{}.content a.attr,.content a.derive,.content a.macro{}.stab.portability{}.content span.primitive,.content a.primitive,.block a.current.primitive{}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{}pre.rust .kw-2,pre.rust .prelude-ty{}.content span.trait,.content a.trait,.block a.current.trait{}.search-results a:focus span{}a.result-trait:focus{}a.result-traitalias:focus{}a.result-mod:focus,a.result-externcrate:focus{}a.result-mod:focus{}a.result-externcrate:focus{}a.result-enum:focus{}a.result-struct:focus{}a.result-union:focus{}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{}a.result-type:focus{}a.result-associatedtype:focus{}a.result-foreigntype:focus{}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{}a.result-constant:focus,a.result-static:focus{}a.result-primitive:focus{}a.result-keyword:focus{}.sidebar a.current.enum{}.sidebar a.current.struct{}.sidebar a.current.foreigntype{}.sidebar a.current.attr,.sidebar a.current.derive,.sidebar a.current.macro{}.sidebar a.current.union{}.sidebar a.current.constant .sidebar a.current.static{}.sidebar a.current.primitive{}.sidebar a.current.externcrate .sidebar a.current.mod{}.sidebar a.current.trait{}.sidebar a.current.traitalias{}.sidebar a.current.fn,.sidebar a.current.method,.sidebar a.current.tymethod{}.sidebar a.current.keyword{}kbd{color:#c5c5c5;background-color:#314559;box-shadow:inset 0 -1px 0 #5c6773;}#settings-menu>a,#help-button>button{color:#fff;}#settings-menu>a img{filter:invert(100);}#copy-path{color:#fff;}#copy-path>img{filter:invert(70%);}#copy-path:hover>img{filter:invert(100%);}#settings-menu>a:hover,#settings-menu>a:focus,#help-button>button:hover,#help-button>button:focus{border-color:#e0e0e0;}.search-results .result-name span.alias{color:#c5c5c5;}.search-results .result-name span.grey{color:#999;}#source-sidebar>.title{color:#fff;}#source-sidebar div.files>a:hover,details.dir-entry summary:hover,#source-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:#14191f;color:#ffb44c;}#source-sidebar div.files>a.selected{background-color:#14191f;color:#ffb44c;}.scraped-example-list .scrape-help{border-color:#aaa;color:#eee;}.scraped-example-list .scrape-help:hover{border-color:white;color:white;}.more-examples-toggle summary,.more-examples-toggle .hide-more{color:#999;}.scraped-example .example-wrap .rust span.highlight{background:rgb(91,59,1);}.scraped-example .example-wrap .rust span.highlight.focus{background:rgb(124,75,15);}.scraped-example:not(.expanded) .code-wrapper:before{background:linear-gradient(to bottom,rgba(15,20,25,1),rgba(15,20,25,0));}.scraped-example:not(.expanded) .code-wrapper:after{background:linear-gradient(to top,rgba(15,20,25,1),rgba(15,20,25,0));}.toggle-line-inner{background:#999;}.toggle-line:hover .toggle-line-inner{background:#c5c5c5;} \ No newline at end of file + :root{--main-background-color:#0f1419;--main-color:#c5c5c5;--settings-input-color:#ffb454;--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;--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);}.slider{background-color:#ccc;}.slider:before{background-color:white;}input:focus+.slider{box-shadow:0 0 0 2px #0a84ff,0 0 0 6px rgba(10,132,255,0.3);}h1,h2,h3,h4{color:white;}h1.fqn a{color:#fff;}h4{border:none;}.docblock code{color:#ffb454;}.code-header{color:#e6e1cf;}.docblock pre>code,pre>code{color:#e6e1cf;}.item-info code{color:#e6e1cf;}.docblock a>code{color:#39AFD7 !important;}pre,.rustdoc.source .example-wrap{color:#e6e1cf;}.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);}.sidebar .current,.sidebar a:hover{background-color:transparent;color:#ffb44c;}.sidebar-elems .location{color:#ff7733;}.line-numbers span{color:#5c6773;}.line-numbers .line-highlighted{color:#708090;background-color:rgba(255,236,164,0.06);padding-right:4px;border-right:1px solid #ffb44c;}.search-results a:hover{color:#fff !important;background-color:#3c3c3c;}.search-results a:focus{color:#fff !important;background-color:#3c3c3c;}.search-results a{color:#0096cf;}.search-results a div.desc{color:#c5c5c5;}.content .item-info::before{color:#ccc;}.content span.foreigntype,.content a.foreigntype{color:#ffa0a5;}.content span.union,.content a.union{color:#ffa0a5;}.content span.constant,.content a.constant,.content span.static,.content a.static{color:#39AFD7;}.content span.primitive,.content a.primitive{color:#ffa0a5;}.content span.traitalias,.content a.traitalias{color:#39AFD7;}.content span.keyword,.content a.keyword{color:#39AFD7;}.content span.externcrate,.content span.mod,.content a.mod{color:#39AFD7;}.content span.struct,.content a.struct{color:#ffa0a5;}.content span.enum,.content a.enum{color:#ffa0a5;}.content span.trait,.content a.trait{color:#39AFD7;}.content span.type,.content a.type{color:#39AFD7;}.content span.type,.content a.type,.block a.current.type{color:#39AFD7;}.content span.associatedtype,.content a.associatedtype,.block a.current.associatedtype{color:#39AFD7;}.content span.fn,.content a.fn,.content span.method,.content a.method,.content span.tymethod,.content a.tymethod,.content .fnname{color:#fdd687;}.content span.attr,.content a.attr,.content span.derive,.content a.derive,.content span.macro,.content a.macro{color:#a37acc;}.sidebar a{color:#53b1db;}.sidebar a.current.type{color:#53b1db;}.sidebar a.current.associatedtype{color:#53b1db;}pre.rust .comment{color:#788797;}pre.rust .doccomment{color:#a1ac88;}a{color:#39AFD7;}.sidebar h2 a,.sidebar h3 a{color:white;}body.source .example-wrap pre.rust a{background:#333;}details.rustdoc-toggle>summary::before{filter:invert(100%);}#crate-search-div::after{filter:invert(41%) sepia(12%) saturate(487%) hue-rotate(171deg) brightness(94%) contrast(94%);}#crate-search:hover,#crate-search:focus{border-color:#e0e0e0 !important;}#crate-search-div:hover::after,#crate-search-div:focus-within::after{filter:invert(98%) sepia(12%) saturate(81%) hue-rotate(343deg) brightness(113%) contrast(76%);}.search-input{color:#fff;}.module-item .stab,.import-item .stab{color:#000;}.stab{color:#c5c5c5;background:#314559 !important;}.stab.portability>code{color:#e6e1cf;background:none;}.result-name .primitive>i,.result-name .keyword>i{color:#788797;}.line-numbers :target{background-color:transparent;}pre.rust .number,pre.rust .string{color:#b8cc52;}pre.rust .kw,pre.rust .kw-2,pre.rust .prelude-ty,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .lifetime{color:#ff7733;}pre.rust .macro,pre.rust .macro-nonterminal{color:#a37acc;}pre.rust .question-mark{color:#ff9011;}pre.rust .self{color:#36a3d9;font-style:italic;}pre.rust .attribute{color:#e6e1cf;}.example-wrap>pre.line-number{color:#5c67736e;border:none;}a.test-arrow{font-size:100%;color:#788797;border-radius:4px;background-color:rgba(57,175,215,0.09);}a.test-arrow:hover{background-color:rgba(57,175,215,0.368);color:#c5c5c5;}:target{background:rgba(255,236,164,0.06);border-right:3px solid rgba(255,180,76,0.85);}.search-failed a{color:#39AFD7;}.tooltip::after{background-color:#314559;color:#c5c5c5;}.tooltip::before{border-color:transparent #314559 transparent transparent;}.notable-traits-tooltiptext{background-color:#314559;}#titles>button.selected{background-color:#141920 !important;border-bottom:1px solid #ffb44c !important;border-top:none;}#titles>button:not(.selected){background-color:transparent !important;border:none;}#titles>button:hover{border-bottom:1px solid rgba(242,151,24,0.3);}#titles>button>div.count{color:#888;}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{}.content span.struct,.content a.struct,.block a.current.struct{}#titles>button:hover,#titles>button.selected{}.content span.typedef,.content a.typedef,.block a.current.typedef{}.content span.union,.content a.union,.block a.current.union{}pre.rust .lifetime{}.stab.unstable{}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){}.content span.enum,.content a.enum,.block a.current.enum{}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{}.content span.keyword,.content a.keyword,.block a.current.keyword{}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{}pre.rust .kw{}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute{}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{}.stab.deprecated{}.content a.attr,.content a.derive,.content a.macro{}.stab.portability{}.content span.primitive,.content a.primitive,.block a.current.primitive{}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{}pre.rust .kw-2,pre.rust .prelude-ty{}.content span.trait,.content a.trait,.block a.current.trait{}.search-results a:focus span{}a.result-trait:focus{}a.result-traitalias:focus{}a.result-mod:focus,a.result-externcrate:focus{}a.result-mod:focus{}a.result-externcrate:focus{}a.result-enum:focus{}a.result-struct:focus{}a.result-union:focus{}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{}a.result-type:focus{}a.result-associatedtype:focus{}a.result-foreigntype:focus{}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{}a.result-constant:focus,a.result-static:focus{}a.result-primitive:focus{}a.result-keyword:focus{}.sidebar a.current.enum{}.sidebar a.current.struct{}.sidebar a.current.foreigntype{}.sidebar a.current.attr,.sidebar a.current.derive,.sidebar a.current.macro{}.sidebar a.current.union{}.sidebar a.current.constant .sidebar a.current.static{}.sidebar a.current.primitive{}.sidebar a.current.externcrate .sidebar a.current.mod{}.sidebar a.current.trait{}.sidebar a.current.traitalias{}.sidebar a.current.fn,.sidebar a.current.method,.sidebar a.current.tymethod{}.sidebar a.current.keyword{}kbd{color:#c5c5c5;background-color:#314559;box-shadow:inset 0 -1px 0 #5c6773;}#settings-menu>a,#help-button>button{color:#fff;}#settings-menu>a img{filter:invert(100);}#settings-menu>a:hover,#settings-menu>a:focus,#help-button>button:hover,#help-button>button:focus{border-color:#e0e0e0;}.search-results .result-name span.alias{color:#c5c5c5;}.search-results .result-name span.grey{color:#999;}#source-sidebar>.title{color:#fff;}#source-sidebar div.files>a:hover,details.dir-entry summary:hover,#source-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:#14191f;color:#ffb44c;}#source-sidebar div.files>a.selected{background-color:#14191f;color:#ffb44c;}.scraped-example-list .scrape-help{border-color:#aaa;color:#eee;}.scraped-example-list .scrape-help:hover{border-color:white;color:white;}.scraped-example .example-wrap .rust span.highlight{background:rgb(91,59,1);}.scraped-example .example-wrap .rust span.highlight.focus{background:rgb(124,75,15);}.scraped-example:not(.expanded) .code-wrapper:before{background:linear-gradient(to bottom,rgba(15,20,25,1),rgba(15,20,25,0));}.scraped-example:not(.expanded) .code-wrapper:after{background:linear-gradient(to top,rgba(15,20,25,1),rgba(15,20,25,0));}.toggle-line-inner{background:#999;}.toggle-line:hover .toggle-line-inner{background:#c5c5c5;} \ No newline at end of file diff --git a/dark.css b/dark.css index 4562c575d..4f61a4d2e 100644 --- a/dark.css +++ b/dark.css @@ -1 +1 @@ -:root{--main-background-color:#353535;--main-color:#ddd;--settings-input-color:#2196f3;--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;}.slider{background-color:#ccc;}.slider:before{background-color:white;}input:focus+.slider{box-shadow:0 0 0 2px #0a84ff,0 0 0 6px rgba(10,132,255,0.3);}.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)}.sidebar .current,.sidebar a:hover{background:#444;}.line-numbers span{color:#3B91E2;}.line-numbers .line-highlighted{background-color:#0a042f !important;}.search-results a:hover{background-color:#777;}.search-results a:focus{color:#eee !important;background-color:#616161;}.search-results a:focus span{color:#eee !important;}a.result-trait:focus{background-color:#013191;}a.result-traitalias:focus{background-color:#013191;}a.result-mod:focus,a.result-externcrate:focus{background-color:#884719;}a.result-enum:focus{background-color:#194e9f;}a.result-struct:focus{background-color:#194e9f;}a.result-union:focus{background-color:#194e9f;}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{background-color:#4950ed;}a.result-type:focus{background-color:#194e9f;}a.result-associatedtype:focus{background-color:#884719;}a.result-foreigntype:focus{background-color:#194e9f;}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{background-color:#217d1c;}a.result-constant:focus,a.result-static:focus{background-color:#884719;}a.result-primitive:focus{background-color:#194e9f;}a.result-keyword:focus{background-color:#884719;}.content .item-info::before{color:#ccc;}.content span.enum,.content a.enum,.block a.current.enum{color:#2dbfb8;}.content span.struct,.content a.struct,.block a.current.struct{color:#2dbfb8;}.content span.type,.content a.type,.block a.current.type{color:#2dbfb8;}.content span.associatedtype,.content a.associatedtype,.block a.current.associatedtype{color:#D2991D;}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{color:#2dbfb8;}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{color:#09bd00;}.content span.union,.content a.union,.block a.current.union{color:#2dbfb8;}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{color:#D2991D;}.content span.primitive,.content a.primitive,.block a.current.primitive{color:#2dbfb8;}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{color:#D2991D;}.content span.trait,.content a.trait,.block a.current.trait{color:#b78cf2;}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{color:#b78cf2;}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{color:#2BAB63;}.content span.keyword,.content a.keyword,.block a.current.keyword{color:#D2991D;}.sidebar a{color:#fdbf35;}.sidebar a.current.enum{color:#12ece2;}.sidebar a.current.struct{color:#12ece2;}.sidebar a.current.type{color:#12ece2;}.sidebar a.current.associatedtype{color:#fdbf35;}.sidebar a.current.foreigntype{color:#12ece2;}.sidebar a.current.attr,.sidebar a.current.derive,.sidebar a.current.macro{color:#0be900;}.sidebar a.current.union{color:#12ece2;}.sidebar a.current.constant .sidebar a.current.static{color:#fdbf35;}.sidebar a.current.primitive{color:#12ece2;}.sidebar a.current.externcrate .sidebar a.current.mod{color:#fdbf35;}.sidebar a.current.trait{color:#cca7ff;}.sidebar a.current.traitalias{color:#cca7ff;}.sidebar a.current.fn,.sidebar a.current.method,.sidebar a.current.tymethod{color:#32d479;}.sidebar a.current.keyword{color:#fdbf35;}pre.rust .comment{color:#8d8d8b;}pre.rust .doccomment{color:#8ca375;}a{color:#D2991D;}body.source .example-wrap pre.rust a{background:#333;}details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before{color:#999;}details.rustdoc-toggle>summary::before{filter:invert(100%);}.search-input{color:#111;border-color:#f0f0f0;}#crate-search-div::after{filter:invert(94%) sepia(0%) saturate(721%) hue-rotate(255deg) brightness(90%) contrast(90%);}#crate-search:hover,#crate-search:focus{border-color:#2196f3 !important;}#crate-search-div:hover::after,#crate-search-div:focus-within::after{filter:invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);}.search-input:focus{border-color:#008dfd;}.stab{background:#314559;}.stab.portability>code{color:#e6e1cf;background:none;}.rightside:not(a),.out-of-band{color:grey;}.line-numbers :target{background-color:transparent;}pre.rust .kw{color:#ab8ac1;}pre.rust .kw-2,pre.rust .prelude-ty{color:#769acb;}pre.rust .number,pre.rust .string{color:#83a300;}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute{color:#ee6868;}pre.rust .macro,pre.rust .macro-nonterminal{color:#3E999F;}pre.rust .lifetime{color:#d97f26;}pre.rust .question-mark{color:#ff9011;}.example-wrap>pre.line-number{border-color:#4a4949;}a.test-arrow{color:#dedede;background-color:rgba(78,139,202,0.2);}a.test-arrow:hover{background-color:#4e8bca;}.toggle-label,.code-attribute{color:#999;}:target{background-color:#494a3d;border-right:3px solid #bb7410;}pre.compile_fail{border-left:2px solid rgba(255,0,0,.8);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.8);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.8);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.8);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#0089ff;}.tooltip::after{background-color:#000;color:#fff;border-color:#000;}.tooltip::before{border-color:transparent black transparent transparent;}.notable-traits-tooltiptext{background-color:#111;}#titles>button:not(.selected){background-color:#252525;border-top-color:#252525;}#titles>button:hover,#titles>button.selected{border-top-color:#0089ff;background-color:#353535;}#titles>button>div.count{color:#888;}kbd{color:#000;background-color:#fafbfc;box-shadow:inset 0 -1px 0 #c6cbd1;}#settings-menu>a,#help-button>button{color:#000;}#settings-menu>a:hover,#settings-menu>a:focus,#help-button>button:hover,#help-button>button:focus{border-color:#ffb900;}#copy-path{color:#999;}#copy-path>img{filter:invert(50%);}#copy-path:hover>img{filter:invert(65%);}.search-results .result-name span.alias{color:#fff;}.search-results .result-name span.grey{color:#ccc;}#source-sidebar div.files>a:hover,details.dir-entry summary:hover,#source-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:#444;}#source-sidebar div.files>a.selected{background-color:#333;}.scraped-example-list .scrape-help{border-color:#aaa;color:#eee;}.scraped-example-list .scrape-help:hover{border-color:white;color:white;}.more-examples-toggle summary,.more-examples-toggle .hide-more{color:#999;}.scraped-example .example-wrap .rust span.highlight{background:rgb(91,59,1);}.scraped-example .example-wrap .rust span.highlight.focus{background:rgb(124,75,15);}.scraped-example:not(.expanded) .code-wrapper:before{background:linear-gradient(to bottom,rgba(53,53,53,1),rgba(53,53,53,0));}.scraped-example:not(.expanded) .code-wrapper:after{background:linear-gradient(to top,rgba(53,53,53,1),rgba(53,53,53,0));}.toggle-line-inner{background:#999;}.toggle-line:hover .toggle-line-inner{background:#c5c5c5;} \ No newline at end of file +:root{--main-background-color:#353535;--main-color:#ddd;--settings-input-color:#2196f3;--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;--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);}.slider{background-color:#ccc;}.slider:before{background-color:white;}input:focus+.slider{box-shadow:0 0 0 2px #0a84ff,0 0 0 6px rgba(10,132,255,0.3);}.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)}.sidebar .current,.sidebar a:hover{background:#444;}.line-numbers span{color:#3B91E2;}.line-numbers .line-highlighted{background-color:#0a042f !important;}.search-results a:hover{background-color:#777;}.search-results a:focus{color:#eee !important;background-color:#616161;}.search-results a:focus span{color:#eee !important;}a.result-trait:focus{background-color:#013191;}a.result-traitalias:focus{background-color:#013191;}a.result-mod:focus,a.result-externcrate:focus{background-color:#884719;}a.result-enum:focus{background-color:#194e9f;}a.result-struct:focus{background-color:#194e9f;}a.result-union:focus{background-color:#194e9f;}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{background-color:#4950ed;}a.result-type:focus{background-color:#194e9f;}a.result-associatedtype:focus{background-color:#884719;}a.result-foreigntype:focus{background-color:#194e9f;}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{background-color:#217d1c;}a.result-constant:focus,a.result-static:focus{background-color:#884719;}a.result-primitive:focus{background-color:#194e9f;}a.result-keyword:focus{background-color:#884719;}.content .item-info::before{color:#ccc;}.content span.enum,.content a.enum,.block a.current.enum{color:#2dbfb8;}.content span.struct,.content a.struct,.block a.current.struct{color:#2dbfb8;}.content span.type,.content a.type,.block a.current.type{color:#2dbfb8;}.content span.associatedtype,.content a.associatedtype,.block a.current.associatedtype{color:#D2991D;}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{color:#2dbfb8;}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{color:#09bd00;}.content span.union,.content a.union,.block a.current.union{color:#2dbfb8;}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{color:#D2991D;}.content span.primitive,.content a.primitive,.block a.current.primitive{color:#2dbfb8;}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{color:#D2991D;}.content span.trait,.content a.trait,.block a.current.trait{color:#b78cf2;}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{color:#b78cf2;}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{color:#2BAB63;}.content span.keyword,.content a.keyword,.block a.current.keyword{color:#D2991D;}.sidebar a{color:#fdbf35;}.sidebar a.current.enum{color:#12ece2;}.sidebar a.current.struct{color:#12ece2;}.sidebar a.current.type{color:#12ece2;}.sidebar a.current.associatedtype{color:#fdbf35;}.sidebar a.current.foreigntype{color:#12ece2;}.sidebar a.current.attr,.sidebar a.current.derive,.sidebar a.current.macro{color:#0be900;}.sidebar a.current.union{color:#12ece2;}.sidebar a.current.constant .sidebar a.current.static{color:#fdbf35;}.sidebar a.current.primitive{color:#12ece2;}.sidebar a.current.externcrate .sidebar a.current.mod{color:#fdbf35;}.sidebar a.current.trait{color:#cca7ff;}.sidebar a.current.traitalias{color:#cca7ff;}.sidebar a.current.fn,.sidebar a.current.method,.sidebar a.current.tymethod{color:#32d479;}.sidebar a.current.keyword{color:#fdbf35;}pre.rust .comment{color:#8d8d8b;}pre.rust .doccomment{color:#8ca375;}a{color:#D2991D;}body.source .example-wrap pre.rust a{background:#333;}details.rustdoc-toggle>summary::before{filter:invert(100%);}.search-input{color:#111;}#crate-search-div::after{filter:invert(94%) sepia(0%) saturate(721%) hue-rotate(255deg) brightness(90%) contrast(90%);}#crate-search:hover,#crate-search:focus{border-color:#2196f3 !important;}#crate-search-div:hover::after,#crate-search-div:focus-within::after{filter:invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);}.stab{background:#314559;}.stab.portability>code{color:#e6e1cf;background:none;}.line-numbers :target{background-color:transparent;}pre.rust .kw{color:#ab8ac1;}pre.rust .kw-2,pre.rust .prelude-ty{color:#769acb;}pre.rust .number,pre.rust .string{color:#83a300;}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute{color:#ee6868;}pre.rust .macro,pre.rust .macro-nonterminal{color:#3E999F;}pre.rust .lifetime{color:#d97f26;}pre.rust .question-mark{color:#ff9011;}.example-wrap>pre.line-number{border-color:#4a4949;}a.test-arrow{color:#dedede;background-color:rgba(78,139,202,0.2);}a.test-arrow:hover{background-color:#4e8bca;}:target{background-color:#494a3d;border-right:3px solid #bb7410;}.search-failed a{color:#0089ff;}.tooltip::after{background-color:#000;color:#fff;border-color:#000;}.tooltip::before{border-color:transparent black transparent transparent;}.notable-traits-tooltiptext{background-color:#111;}#titles>button:not(.selected){background-color:#252525;border-top-color:#252525;}#titles>button:hover,#titles>button.selected{border-top-color:#0089ff;background-color:#353535;}#titles>button>div.count{color:#888;}kbd{color:#000;background-color:#fafbfc;box-shadow:inset 0 -1px 0 #c6cbd1;}#settings-menu>a,#help-button>button{color:#000;}#settings-menu>a:hover,#settings-menu>a:focus,#help-button>button:hover,#help-button>button:focus{border-color:#ffb900;}.search-results .result-name span.alias{color:#fff;}.search-results .result-name span.grey{color:#ccc;}#source-sidebar div.files>a:hover,details.dir-entry summary:hover,#source-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:#444;}#source-sidebar div.files>a.selected{background-color:#333;}.scraped-example-list .scrape-help{border-color:#aaa;color:#eee;}.scraped-example-list .scrape-help:hover{border-color:white;color:white;}.scraped-example .example-wrap .rust span.highlight{background:rgb(91,59,1);}.scraped-example .example-wrap .rust span.highlight.focus{background:rgb(124,75,15);}.scraped-example:not(.expanded) .code-wrapper:before{background:linear-gradient(to bottom,rgba(53,53,53,1),rgba(53,53,53,0));}.scraped-example:not(.expanded) .code-wrapper:after{background:linear-gradient(to top,rgba(53,53,53,1),rgba(53,53,53,0));}.toggle-line-inner{background:#999;}.toggle-line:hover .toggle-line-inner{background:#c5c5c5;} \ No newline at end of file diff --git a/implementors/actix_service/transform/trait.Transform.js b/implementors/actix_service/transform/trait.Transform.js index a1db1b461..b6a82b2fb 100644 --- a/implementors/actix_service/transform/trait.Transform.js +++ b/implementors/actix_service/transform/trait.Transform.js @@ -1,7 +1,7 @@ (function() {var implementors = { -"actix_cors":[["impl<S, B> Transform<S, ServiceRequest> for Cors where
        S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error>,
        S::Future: 'static,
        B: MessageBody + 'static, 
    "]], -"actix_identity":[["impl<S, B> Transform<S, ServiceRequest> for IdentityMiddleware where
        S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error> + 'static,
        S::Future: 'static,
        B: MessageBody + 'static, 
    "]], -"actix_limitation":[["impl<S, B> Transform<S, ServiceRequest> for RateLimiter where
        S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error> + 'static,
        S::Future: 'static,
        B: 'static, 
    "]], -"actix_session":[["impl<S, B, Store> Transform<S, ServiceRequest> for SessionMiddleware<Store> where
        S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error> + 'static,
        S::Future: 'static,
        B: MessageBody + 'static,
        Store: SessionStore + 'static, 
    "]], -"actix_web_httpauth":[["impl<S, B, T, F, O> Transform<S, ServiceRequest> for HttpAuthentication<T, F> where
        S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error> + 'static,
        S::Future: 'static,
        F: Fn(ServiceRequest, T) -> O + 'static,
        O: Future<Output = Result<ServiceRequest, (Error, ServiceRequest)>> + 'static,
        T: FromRequest + 'static,
        B: MessageBody + 'static, 
    "]] +"actix_cors":[["impl<S, B> Transform<S, ServiceRequest> for Corswhere
        S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error>,
        S::Future: 'static,
        B: MessageBody + 'static,
    "]], +"actix_identity":[["impl<S, B> Transform<S, ServiceRequest> for IdentityMiddlewarewhere
        S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error> + 'static,
        S::Future: 'static,
        B: MessageBody + 'static,
    "]], +"actix_limitation":[["impl<S, B> Transform<S, ServiceRequest> for RateLimiterwhere
        S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error> + 'static,
        S::Future: 'static,
        B: 'static,
    "]], +"actix_session":[["impl<S, B, Store> Transform<S, ServiceRequest> for SessionMiddleware<Store>where
        S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error> + 'static,
        S::Future: 'static,
        B: MessageBody + 'static,
        Store: SessionStore + 'static,
    "]], +"actix_web_httpauth":[["impl<S, B, T, F, O> Transform<S, ServiceRequest> for HttpAuthentication<T, F>where
        S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error> + 'static,
        S::Future: 'static,
        F: Fn(ServiceRequest, T) -> O + 'static,
        O: Future<Output = Result<ServiceRequest, (Error, ServiceRequest)>> + 'static,
        T: FromRequest + 'static,
        B: MessageBody + 'static,
    "]] };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 513052dae..7edc3337d 100644 --- a/implementors/actix_web/extract/trait.FromRequest.js +++ b/implementors/actix_web/extract/trait.FromRequest.js @@ -1,6 +1,6 @@ (function() {var implementors = { "actix_identity":[["impl FromRequest for Identity"]], -"actix_protobuf":[["impl<T> FromRequest for ProtoBuf<T> where
        T: Message + Default + 'static, 
    "]], +"actix_protobuf":[["impl<T> FromRequest for ProtoBuf<T>where
        T: Message + Default + 'static,
    "]], "actix_session":[["impl FromRequest for Session"]], "actix_web_httpauth":[["impl FromRequest for BasicAuth"],["impl FromRequest for BearerAuth"]] };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 4ce651292..96ccb625a 100644 --- a/implementors/core/clone/trait.Clone.js +++ b/implementors/core/clone/trait.Clone.js @@ -4,5 +4,5 @@ "actix_limitation":[["impl Clone for Status"],["impl Clone for Limiter"]], "actix_session":[["impl Clone for SessionLifecycle"],["impl Clone for BrowserSession"],["impl Clone for PersistentSession"],["impl Clone for TtlExtensionPolicy"],["impl Clone for CookieContentSecurity"],["impl<Store: Clone + SessionStore> Clone for SessionMiddleware<Store>"],["impl Clone for Session"],["impl Clone for SessionStatus"],["impl Clone for RedisSessionStore"]], "actix_settings":[["impl Clone for Error"],["impl Clone for Address"],["impl Clone for Backlog"],["impl Clone for KeepAlive"],["impl Clone for MaxConnectionRate"],["impl Clone for MaxConnections"],["impl Clone for Mode"],["impl Clone for NumWorkers"],["impl Clone for Timeout"],["impl Clone for Tls"],["impl Clone for ActixSettings"],["impl<A: Clone> Clone for BasicSettings<A>"],["impl Clone for NoSettings"]], -"actix_web_httpauth":[["impl Clone for Config"],["impl Clone for BasicAuth"],["impl Clone for Config"],["impl Clone for BearerAuth"],["impl<S: Clone + Scheme> Clone for Authorization<S>"],["impl Clone for Basic"],["impl Clone for Bearer"],["impl Clone for Basic"],["impl Clone for Bearer"],["impl Clone for Error"],["impl<C: Clone + Challenge> Clone for WwwAuthenticate<C>"],["impl<T: Clone, F: Clone> Clone for HttpAuthentication<T, F> where
        T: FromRequest, 
    "]] +"actix_web_httpauth":[["impl Clone for Config"],["impl Clone for BasicAuth"],["impl Clone for Config"],["impl Clone for BearerAuth"],["impl<S: Clone + Scheme> Clone for Authorization<S>"],["impl Clone for Basic"],["impl Clone for Bearer"],["impl Clone for Basic"],["impl Clone for Bearer"],["impl Clone for Error"],["impl<C: Clone + Challenge> Clone for WwwAuthenticate<C>"],["impl<T: Clone, F: Clone> Clone for HttpAuthentication<T, F>where
        T: FromRequest,
    "]] };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 1efb212af..a0dd98764 100644 --- a/implementors/core/convert/trait.From.js +++ b/implementors/core/convert/trait.From.js @@ -2,7 +2,7 @@ "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_redis":[["impl From<Error> for Error"]], -"actix_session":[["impl From<PersistentSession> for SessionLifecycle"],["impl From<BrowserSession> for SessionLifecycle"],["impl From<Error> for SessionGetError"],["impl From<Error> for SessionInsertError"],["impl From<SessionKey> for String"]], +"actix_session":[["impl From<PersistentSession> for SessionLifecycle"],["impl From<BrowserSession> for SessionLifecycle"],["impl From<Error> for SessionGetError"],["impl From<Error> for SessionInsertError"],["impl From<SessionKey> for String"]], "actix_settings":[["impl From<Error> for Error"],["impl From<IoError> for Error"],["impl From<ParseBoolError> 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<T> From<T> for AuthenticationError<<T as AuthExtractorConfig>::Inner> where
        T: AuthExtractorConfig
    "],["impl From<ToStrError> for ParseError"],["impl From<DecodeError> for ParseError"],["impl From<Utf8Error> for ParseError"],["impl<S: Scheme> From<S> for Authorization<S>"]] +"actix_web_httpauth":[["impl<T> From<T> for AuthenticationError<<T as AuthExtractorConfig>::Inner>where
        T: AuthExtractorConfig,
    "],["impl From<ToStrError> for ParseError"],["impl From<DecodeError> for ParseError"],["impl From<Utf8Error> for ParseError"],["impl<S: Scheme> From<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/fmt/trait.Debug.js b/implementors/core/fmt/trait.Debug.js index 55ddc3bc5..2b671c584 100644 --- a/implementors/core/fmt/trait.Debug.js +++ b/implementors/core/fmt/trait.Debug.js @@ -2,9 +2,9 @@ "actix_cors":[["impl Debug for Cors"],["impl Debug for CorsError"]], "actix_identity":[["impl Debug for LogoutBehaviour"],["impl Debug for IdentityMiddlewareBuilder"]], "actix_limitation":[["impl Debug for Builder"],["impl Debug for Error"],["impl Debug for RateLimiter"],["impl Debug for Status"],["impl Debug for Limiter"]], -"actix_protobuf":[["impl Debug for ProtoBufPayloadError"],["impl<T: Message> Debug for ProtoBuf<T> where
        T: Debug
    "]], +"actix_protobuf":[["impl Debug for ProtoBufPayloadError"],["impl<T: Message> Debug for ProtoBuf<T>where
        T: Debug,
    "]], "actix_redis":[["impl Debug for Command"],["impl Debug for Error"]], "actix_session":[["impl Debug for SessionLifecycle"],["impl Debug for BrowserSession"],["impl Debug for PersistentSession"],["impl Debug for TtlExtensionPolicy"],["impl Debug for CookieContentSecurity"],["impl Debug for SessionStatus"],["impl Debug for SessionGetError"],["impl Debug for SessionInsertError"],["impl Debug for LoadError"],["impl Debug for SaveError"],["impl Debug for UpdateError"],["impl Debug for SessionKey"]], "actix_settings":[["impl Debug for Error"],["impl Debug for Address"],["impl Debug for Backlog"],["impl Debug for KeepAlive"],["impl Debug for MaxConnectionRate"],["impl Debug for MaxConnections"],["impl Debug for Mode"],["impl Debug for NumWorkers"],["impl Debug for Timeout"],["impl Debug for Tls"],["impl Debug for ActixSettings"],["impl<A: Debug> Debug for BasicSettings<A>"],["impl Debug for NoSettings"]], -"actix_web_httpauth":[["impl Debug for Config"],["impl Debug for BasicAuth"],["impl Debug for Config"],["impl Debug for BearerAuth"],["impl<C: Debug + Challenge> Debug for AuthenticationError<C>"],["impl Debug for ParseError"],["impl<S: Debug + Scheme> Debug for Authorization<S>"],["impl Debug for Basic"],["impl Debug for Bearer"],["impl Debug for Basic"],["impl Debug for BearerBuilder"],["impl Debug for Bearer"],["impl Debug for Error"],["impl<C: Debug + Challenge> Debug for WwwAuthenticate<C>"],["impl<T: Debug, F: Debug> Debug for HttpAuthentication<T, F> where
        T: FromRequest, 
    "]] +"actix_web_httpauth":[["impl Debug for Config"],["impl Debug for BasicAuth"],["impl Debug for Config"],["impl Debug for BearerAuth"],["impl<C: Debug + Challenge> Debug for AuthenticationError<C>"],["impl Debug for ParseError"],["impl<S: Debug + Scheme> Debug for Authorization<S>"],["impl Debug for Basic"],["impl Debug for Bearer"],["impl Debug for Basic"],["impl Debug for BearerBuilder"],["impl Debug for Bearer"],["impl Debug for Error"],["impl<C: Debug + Challenge> Debug for WwwAuthenticate<C>"],["impl<T: Debug, F: Debug> Debug for HttpAuthentication<T, F>where
        T: FromRequest,
    "]] };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 4e17a9919..07185276c 100644 --- a/implementors/core/fmt/trait.Display.js +++ b/implementors/core/fmt/trait.Display.js @@ -1,7 +1,7 @@ (function() {var implementors = { "actix_cors":[["impl Display for CorsError"]], "actix_limitation":[["impl Display for Error"]], -"actix_protobuf":[["impl Display for ProtoBufPayloadError"],["impl<T: Message> Display for ProtoBuf<T> where
        T: Display
    "]], +"actix_protobuf":[["impl Display for ProtoBufPayloadError"],["impl<T: Message> Display for ProtoBuf<T>where
        T: Display,
    "]], "actix_redis":[["impl Display for Error"]], "actix_session":[["impl Display for SessionGetError"],["impl Display for SessionInsertError"],["impl Display for LoadError"],["impl Display for SaveError"],["impl Display for UpdateError"]], "actix_web_httpauth":[["impl<C: Challenge> Display for AuthenticationError<C>"],["impl Display for ParseError"],["impl<S: Scheme> Display for Authorization<S>"],["impl Display for Basic"],["impl Display for Bearer"],["impl Display for Basic"],["impl Display for Bearer"],["impl Display for Error"]] diff --git a/implementors/core/marker/trait.Freeze.js b/implementors/core/marker/trait.Freeze.js index 6942edb8f..edce669c7 100644 --- a/implementors/core/marker/trait.Freeze.js +++ b/implementors/core/marker/trait.Freeze.js @@ -2,9 +2,9 @@ "actix_cors":[["impl Freeze for Cors",1,["actix_cors::builder::Cors"]],["impl Freeze for CorsError",1,["actix_cors::error::CorsError"]]], "actix_identity":[["impl Freeze for LogoutBehaviour",1,["actix_identity::config::LogoutBehaviour"]],["impl Freeze for IdentityMiddlewareBuilder",1,["actix_identity::config::IdentityMiddlewareBuilder"]],["impl Freeze for Identity",1,["actix_identity::identity::Identity"]],["impl Freeze for IdentityMiddleware",1,["actix_identity::middleware::IdentityMiddleware"]]], "actix_limitation":[["impl Freeze for Builder",1,["actix_limitation::builder::Builder"]],["impl Freeze for Error",1,["actix_limitation::errors::Error"]],["impl Freeze for RateLimiter",1,["actix_limitation::middleware::RateLimiter"]],["impl Freeze for Status",1,["actix_limitation::status::Status"]],["impl Freeze for Limiter",1,["actix_limitation::Limiter"]]], -"actix_protobuf":[["impl !Freeze for ProtoBufPayloadError",1,["actix_protobuf::ProtoBufPayloadError"]],["impl<T> Freeze for ProtoBuf<T> where
        T: Freeze, 
    ",1,["actix_protobuf::ProtoBuf"]],["impl Freeze for ProtoBufConfig",1,["actix_protobuf::ProtoBufConfig"]],["impl<T> !Freeze for ProtoBufMessage<T>",1,["actix_protobuf::ProtoBufMessage"]]], +"actix_protobuf":[["impl !Freeze for ProtoBufPayloadError",1,["actix_protobuf::ProtoBufPayloadError"]],["impl<T> Freeze for ProtoBuf<T>where
        T: Freeze,
    ",1,["actix_protobuf::ProtoBuf"]],["impl Freeze for ProtoBufConfig",1,["actix_protobuf::ProtoBufConfig"]],["impl<T> !Freeze for ProtoBufMessage<T>",1,["actix_protobuf::ProtoBufMessage"]]], "actix_redis":[["impl Freeze for Command",1,["actix_redis::redis::Command"]],["impl Freeze for RedisActor",1,["actix_redis::redis::RedisActor"]],["impl Freeze for Error",1,["actix_redis::Error"]]], -"actix_session":[["impl Freeze for SessionLifecycle",1,["actix_session::config::SessionLifecycle"]],["impl Freeze for BrowserSession",1,["actix_session::config::BrowserSession"]],["impl Freeze for PersistentSession",1,["actix_session::config::PersistentSession"]],["impl Freeze for TtlExtensionPolicy",1,["actix_session::config::TtlExtensionPolicy"]],["impl Freeze for CookieContentSecurity",1,["actix_session::config::CookieContentSecurity"]],["impl<Store> Freeze for SessionMiddlewareBuilder<Store> where
        Store: Freeze, 
    ",1,["actix_session::config::SessionMiddlewareBuilder"]],["impl<Store> Freeze for SessionMiddleware<Store>",1,["actix_session::middleware::SessionMiddleware"]],["impl Freeze for Session",1,["actix_session::session::Session"]],["impl Freeze for SessionStatus",1,["actix_session::session::SessionStatus"]],["impl Freeze for SessionGetError",1,["actix_session::session::SessionGetError"]],["impl Freeze for SessionInsertError",1,["actix_session::session::SessionInsertError"]],["impl Freeze for LoadError",1,["actix_session::storage::interface::LoadError"]],["impl Freeze for SaveError",1,["actix_session::storage::interface::SaveError"]],["impl Freeze for UpdateError",1,["actix_session::storage::interface::UpdateError"]],["impl Freeze for SessionKey",1,["actix_session::storage::session_key::SessionKey"]],["impl Freeze for CookieSessionStore",1,["actix_session::storage::cookie::CookieSessionStore"]],["impl Freeze for RedisActorSessionStore",1,["actix_session::storage::redis_actor::RedisActorSessionStore"]],["impl Freeze for RedisActorSessionStoreBuilder",1,["actix_session::storage::redis_actor::RedisActorSessionStoreBuilder"]],["impl Freeze for RedisSessionStore",1,["actix_session::storage::redis_rs::RedisSessionStore"]],["impl Freeze for RedisSessionStoreBuilder",1,["actix_session::storage::redis_rs::RedisSessionStoreBuilder"]]], -"actix_settings":[["impl Freeze for Error",1,["actix_settings::error::Error"]],["impl Freeze for Address",1,["actix_settings::settings::address::Address"]],["impl Freeze for Backlog",1,["actix_settings::settings::backlog::Backlog"]],["impl Freeze for KeepAlive",1,["actix_settings::settings::keep_alive::KeepAlive"]],["impl Freeze for MaxConnectionRate",1,["actix_settings::settings::max_connection_rate::MaxConnectionRate"]],["impl Freeze for MaxConnections",1,["actix_settings::settings::max_connections::MaxConnections"]],["impl Freeze for Mode",1,["actix_settings::settings::mode::Mode"]],["impl Freeze for NumWorkers",1,["actix_settings::settings::num_workers::NumWorkers"]],["impl Freeze for Timeout",1,["actix_settings::settings::timeout::Timeout"]],["impl Freeze for Tls",1,["actix_settings::settings::tls::Tls"]],["impl Freeze for ActixSettings",1,["actix_settings::settings::ActixSettings"]],["impl<A> Freeze for BasicSettings<A> where
        A: Freeze, 
    ",1,["actix_settings::BasicSettings"]],["impl Freeze for NoSettings",1,["actix_settings::NoSettings"]]], -"actix_web_httpauth":[["impl Freeze for Config",1,["actix_web_httpauth::extractors::basic::Config"]],["impl Freeze for BasicAuth",1,["actix_web_httpauth::extractors::basic::BasicAuth"]],["impl Freeze for Error",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::errors::Error"]],["impl Freeze for Config",1,["actix_web_httpauth::extractors::bearer::Config"]],["impl Freeze for BearerAuth",1,["actix_web_httpauth::extractors::bearer::BearerAuth"]],["impl<C> Freeze for AuthenticationError<C> where
        C: Freeze, 
    ",1,["actix_web_httpauth::extractors::errors::AuthenticationError"]],["impl Freeze for ParseError",1,["actix_web_httpauth::headers::authorization::errors::ParseError"]],["impl<S> Freeze for Authorization<S> where
        S: Freeze, 
    ",1,["actix_web_httpauth::headers::authorization::header::Authorization"]],["impl Freeze for Basic",1,["actix_web_httpauth::headers::authorization::scheme::basic::Basic"]],["impl Freeze for Bearer",1,["actix_web_httpauth::headers::authorization::scheme::bearer::Bearer"]],["impl Freeze for Basic",1,["actix_web_httpauth::headers::www_authenticate::challenge::basic::Basic"]],["impl Freeze for BearerBuilder",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::builder::BearerBuilder"]],["impl Freeze for Bearer",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::challenge::Bearer"]],["impl<C> Freeze for WwwAuthenticate<C> where
        C: Freeze, 
    ",1,["actix_web_httpauth::headers::www_authenticate::header::WwwAuthenticate"]],["impl<T, F> Freeze for HttpAuthentication<T, F>",1,["actix_web_httpauth::middleware::HttpAuthentication"]]] +"actix_session":[["impl Freeze for SessionLifecycle",1,["actix_session::config::SessionLifecycle"]],["impl Freeze for BrowserSession",1,["actix_session::config::BrowserSession"]],["impl Freeze for PersistentSession",1,["actix_session::config::PersistentSession"]],["impl Freeze for TtlExtensionPolicy",1,["actix_session::config::TtlExtensionPolicy"]],["impl Freeze for CookieContentSecurity",1,["actix_session::config::CookieContentSecurity"]],["impl<Store> Freeze for SessionMiddlewareBuilder<Store>where
        Store: Freeze,
    ",1,["actix_session::config::SessionMiddlewareBuilder"]],["impl<Store> Freeze for SessionMiddleware<Store>",1,["actix_session::middleware::SessionMiddleware"]],["impl Freeze for Session",1,["actix_session::session::Session"]],["impl Freeze for SessionStatus",1,["actix_session::session::SessionStatus"]],["impl Freeze for SessionGetError",1,["actix_session::session::SessionGetError"]],["impl Freeze for SessionInsertError",1,["actix_session::session::SessionInsertError"]],["impl Freeze for LoadError",1,["actix_session::storage::interface::LoadError"]],["impl Freeze for SaveError",1,["actix_session::storage::interface::SaveError"]],["impl Freeze for UpdateError",1,["actix_session::storage::interface::UpdateError"]],["impl Freeze for SessionKey",1,["actix_session::storage::session_key::SessionKey"]],["impl Freeze for CookieSessionStore",1,["actix_session::storage::cookie::CookieSessionStore"]],["impl Freeze for RedisActorSessionStore",1,["actix_session::storage::redis_actor::RedisActorSessionStore"]],["impl Freeze for RedisActorSessionStoreBuilder",1,["actix_session::storage::redis_actor::RedisActorSessionStoreBuilder"]],["impl Freeze for RedisSessionStore",1,["actix_session::storage::redis_rs::RedisSessionStore"]],["impl Freeze for RedisSessionStoreBuilder",1,["actix_session::storage::redis_rs::RedisSessionStoreBuilder"]]], +"actix_settings":[["impl Freeze for Error",1,["actix_settings::error::Error"]],["impl Freeze for Address",1,["actix_settings::settings::address::Address"]],["impl Freeze for Backlog",1,["actix_settings::settings::backlog::Backlog"]],["impl Freeze for KeepAlive",1,["actix_settings::settings::keep_alive::KeepAlive"]],["impl Freeze for MaxConnectionRate",1,["actix_settings::settings::max_connection_rate::MaxConnectionRate"]],["impl Freeze for MaxConnections",1,["actix_settings::settings::max_connections::MaxConnections"]],["impl Freeze for Mode",1,["actix_settings::settings::mode::Mode"]],["impl Freeze for NumWorkers",1,["actix_settings::settings::num_workers::NumWorkers"]],["impl Freeze for Timeout",1,["actix_settings::settings::timeout::Timeout"]],["impl Freeze for Tls",1,["actix_settings::settings::tls::Tls"]],["impl Freeze for ActixSettings",1,["actix_settings::settings::ActixSettings"]],["impl<A> Freeze for BasicSettings<A>where
        A: Freeze,
    ",1,["actix_settings::BasicSettings"]],["impl Freeze for NoSettings",1,["actix_settings::NoSettings"]]], +"actix_web_httpauth":[["impl Freeze for Config",1,["actix_web_httpauth::extractors::basic::Config"]],["impl Freeze for BasicAuth",1,["actix_web_httpauth::extractors::basic::BasicAuth"]],["impl Freeze for Error",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::errors::Error"]],["impl Freeze for Config",1,["actix_web_httpauth::extractors::bearer::Config"]],["impl Freeze for BearerAuth",1,["actix_web_httpauth::extractors::bearer::BearerAuth"]],["impl<C> Freeze for AuthenticationError<C>where
        C: Freeze,
    ",1,["actix_web_httpauth::extractors::errors::AuthenticationError"]],["impl Freeze for ParseError",1,["actix_web_httpauth::headers::authorization::errors::ParseError"]],["impl<S> Freeze for Authorization<S>where
        S: Freeze,
    ",1,["actix_web_httpauth::headers::authorization::header::Authorization"]],["impl Freeze for Basic",1,["actix_web_httpauth::headers::authorization::scheme::basic::Basic"]],["impl Freeze for Bearer",1,["actix_web_httpauth::headers::authorization::scheme::bearer::Bearer"]],["impl Freeze for Basic",1,["actix_web_httpauth::headers::www_authenticate::challenge::basic::Basic"]],["impl Freeze for BearerBuilder",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::builder::BearerBuilder"]],["impl Freeze for Bearer",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::challenge::Bearer"]],["impl<C> Freeze for WwwAuthenticate<C>where
        C: Freeze,
    ",1,["actix_web_httpauth::headers::www_authenticate::header::WwwAuthenticate"]],["impl<T, F> Freeze for HttpAuthentication<T, F>",1,["actix_web_httpauth::middleware::HttpAuthentication"]]] };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.Send.js b/implementors/core/marker/trait.Send.js index d7b11ca46..f4269f1e9 100644 --- a/implementors/core/marker/trait.Send.js +++ b/implementors/core/marker/trait.Send.js @@ -4,7 +4,7 @@ "actix_limitation":[["impl Send for Builder",1,["actix_limitation::builder::Builder"]],["impl Send for Error",1,["actix_limitation::errors::Error"]],["impl Send for RateLimiter",1,["actix_limitation::middleware::RateLimiter"]],["impl Send for Status",1,["actix_limitation::status::Status"]],["impl Send for Limiter",1,["actix_limitation::Limiter"]]], "actix_protobuf":[["impl Send for ProtoBufPayloadError",1,["actix_protobuf::ProtoBufPayloadError"]],["impl<T> Send for ProtoBuf<T>",1,["actix_protobuf::ProtoBuf"]],["impl Send for ProtoBufConfig",1,["actix_protobuf::ProtoBufConfig"]],["impl<T> !Send for ProtoBufMessage<T>",1,["actix_protobuf::ProtoBufMessage"]]], "actix_redis":[["impl Send for Command",1,["actix_redis::redis::Command"]],["impl !Send for RedisActor",1,["actix_redis::redis::RedisActor"]],["impl Send for Error",1,["actix_redis::Error"]]], -"actix_session":[["impl Send for SessionLifecycle",1,["actix_session::config::SessionLifecycle"]],["impl Send for BrowserSession",1,["actix_session::config::BrowserSession"]],["impl Send for PersistentSession",1,["actix_session::config::PersistentSession"]],["impl Send for TtlExtensionPolicy",1,["actix_session::config::TtlExtensionPolicy"]],["impl Send for CookieContentSecurity",1,["actix_session::config::CookieContentSecurity"]],["impl<Store> Send for SessionMiddlewareBuilder<Store> where
        Store: Send
    ",1,["actix_session::config::SessionMiddlewareBuilder"]],["impl<Store> !Send for SessionMiddleware<Store>",1,["actix_session::middleware::SessionMiddleware"]],["impl !Send for Session",1,["actix_session::session::Session"]],["impl Send for SessionStatus",1,["actix_session::session::SessionStatus"]],["impl Send for SessionGetError",1,["actix_session::session::SessionGetError"]],["impl Send for SessionInsertError",1,["actix_session::session::SessionInsertError"]],["impl Send for LoadError",1,["actix_session::storage::interface::LoadError"]],["impl Send for SaveError",1,["actix_session::storage::interface::SaveError"]],["impl Send for UpdateError",1,["actix_session::storage::interface::UpdateError"]],["impl Send for SessionKey",1,["actix_session::storage::session_key::SessionKey"]],["impl Send for CookieSessionStore",1,["actix_session::storage::cookie::CookieSessionStore"]],["impl !Send for RedisActorSessionStore",1,["actix_session::storage::redis_actor::RedisActorSessionStore"]],["impl !Send for RedisActorSessionStoreBuilder",1,["actix_session::storage::redis_actor::RedisActorSessionStoreBuilder"]],["impl Send for RedisSessionStore",1,["actix_session::storage::redis_rs::RedisSessionStore"]],["impl Send for RedisSessionStoreBuilder",1,["actix_session::storage::redis_rs::RedisSessionStoreBuilder"]]], -"actix_settings":[["impl Send for Error",1,["actix_settings::error::Error"]],["impl Send for Address",1,["actix_settings::settings::address::Address"]],["impl Send for Backlog",1,["actix_settings::settings::backlog::Backlog"]],["impl Send for KeepAlive",1,["actix_settings::settings::keep_alive::KeepAlive"]],["impl Send for MaxConnectionRate",1,["actix_settings::settings::max_connection_rate::MaxConnectionRate"]],["impl Send for MaxConnections",1,["actix_settings::settings::max_connections::MaxConnections"]],["impl Send for Mode",1,["actix_settings::settings::mode::Mode"]],["impl Send for NumWorkers",1,["actix_settings::settings::num_workers::NumWorkers"]],["impl Send for Timeout",1,["actix_settings::settings::timeout::Timeout"]],["impl Send for Tls",1,["actix_settings::settings::tls::Tls"]],["impl Send for ActixSettings",1,["actix_settings::settings::ActixSettings"]],["impl<A> Send for BasicSettings<A> where
        A: Send
    ",1,["actix_settings::BasicSettings"]],["impl Send for NoSettings",1,["actix_settings::NoSettings"]]], -"actix_web_httpauth":[["impl Send for Config",1,["actix_web_httpauth::extractors::basic::Config"]],["impl Send for BasicAuth",1,["actix_web_httpauth::extractors::basic::BasicAuth"]],["impl Send for Error",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::errors::Error"]],["impl Send for Config",1,["actix_web_httpauth::extractors::bearer::Config"]],["impl Send for BearerAuth",1,["actix_web_httpauth::extractors::bearer::BearerAuth"]],["impl<C> Send for AuthenticationError<C>",1,["actix_web_httpauth::extractors::errors::AuthenticationError"]],["impl Send for ParseError",1,["actix_web_httpauth::headers::authorization::errors::ParseError"]],["impl<S> Send for Authorization<S>",1,["actix_web_httpauth::headers::authorization::header::Authorization"]],["impl Send for Basic",1,["actix_web_httpauth::headers::authorization::scheme::basic::Basic"]],["impl Send for Bearer",1,["actix_web_httpauth::headers::authorization::scheme::bearer::Bearer"]],["impl Send for Basic",1,["actix_web_httpauth::headers::www_authenticate::challenge::basic::Basic"]],["impl Send for BearerBuilder",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::builder::BearerBuilder"]],["impl Send for Bearer",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::challenge::Bearer"]],["impl<C> Send for WwwAuthenticate<C>",1,["actix_web_httpauth::headers::www_authenticate::header::WwwAuthenticate"]],["impl<T, F> Send for HttpAuthentication<T, F> where
        F: Send + Sync,
        T: Send
    ",1,["actix_web_httpauth::middleware::HttpAuthentication"]]] +"actix_session":[["impl Send for SessionLifecycle",1,["actix_session::config::SessionLifecycle"]],["impl Send for BrowserSession",1,["actix_session::config::BrowserSession"]],["impl Send for PersistentSession",1,["actix_session::config::PersistentSession"]],["impl Send for TtlExtensionPolicy",1,["actix_session::config::TtlExtensionPolicy"]],["impl Send for CookieContentSecurity",1,["actix_session::config::CookieContentSecurity"]],["impl<Store> Send for SessionMiddlewareBuilder<Store>where
        Store: Send,
    ",1,["actix_session::config::SessionMiddlewareBuilder"]],["impl<Store> !Send for SessionMiddleware<Store>",1,["actix_session::middleware::SessionMiddleware"]],["impl !Send for Session",1,["actix_session::session::Session"]],["impl Send for SessionStatus",1,["actix_session::session::SessionStatus"]],["impl Send for SessionGetError",1,["actix_session::session::SessionGetError"]],["impl Send for SessionInsertError",1,["actix_session::session::SessionInsertError"]],["impl Send for LoadError",1,["actix_session::storage::interface::LoadError"]],["impl Send for SaveError",1,["actix_session::storage::interface::SaveError"]],["impl Send for UpdateError",1,["actix_session::storage::interface::UpdateError"]],["impl Send for SessionKey",1,["actix_session::storage::session_key::SessionKey"]],["impl Send for CookieSessionStore",1,["actix_session::storage::cookie::CookieSessionStore"]],["impl !Send for RedisActorSessionStore",1,["actix_session::storage::redis_actor::RedisActorSessionStore"]],["impl !Send for RedisActorSessionStoreBuilder",1,["actix_session::storage::redis_actor::RedisActorSessionStoreBuilder"]],["impl Send for RedisSessionStore",1,["actix_session::storage::redis_rs::RedisSessionStore"]],["impl Send for RedisSessionStoreBuilder",1,["actix_session::storage::redis_rs::RedisSessionStoreBuilder"]]], +"actix_settings":[["impl Send for Error",1,["actix_settings::error::Error"]],["impl Send for Address",1,["actix_settings::settings::address::Address"]],["impl Send for Backlog",1,["actix_settings::settings::backlog::Backlog"]],["impl Send for KeepAlive",1,["actix_settings::settings::keep_alive::KeepAlive"]],["impl Send for MaxConnectionRate",1,["actix_settings::settings::max_connection_rate::MaxConnectionRate"]],["impl Send for MaxConnections",1,["actix_settings::settings::max_connections::MaxConnections"]],["impl Send for Mode",1,["actix_settings::settings::mode::Mode"]],["impl Send for NumWorkers",1,["actix_settings::settings::num_workers::NumWorkers"]],["impl Send for Timeout",1,["actix_settings::settings::timeout::Timeout"]],["impl Send for Tls",1,["actix_settings::settings::tls::Tls"]],["impl Send for ActixSettings",1,["actix_settings::settings::ActixSettings"]],["impl<A> Send for BasicSettings<A>where
        A: Send,
    ",1,["actix_settings::BasicSettings"]],["impl Send for NoSettings",1,["actix_settings::NoSettings"]]], +"actix_web_httpauth":[["impl Send for Config",1,["actix_web_httpauth::extractors::basic::Config"]],["impl Send for BasicAuth",1,["actix_web_httpauth::extractors::basic::BasicAuth"]],["impl Send for Error",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::errors::Error"]],["impl Send for Config",1,["actix_web_httpauth::extractors::bearer::Config"]],["impl Send for BearerAuth",1,["actix_web_httpauth::extractors::bearer::BearerAuth"]],["impl<C> Send for AuthenticationError<C>",1,["actix_web_httpauth::extractors::errors::AuthenticationError"]],["impl Send for ParseError",1,["actix_web_httpauth::headers::authorization::errors::ParseError"]],["impl<S> Send for Authorization<S>",1,["actix_web_httpauth::headers::authorization::header::Authorization"]],["impl Send for Basic",1,["actix_web_httpauth::headers::authorization::scheme::basic::Basic"]],["impl Send for Bearer",1,["actix_web_httpauth::headers::authorization::scheme::bearer::Bearer"]],["impl Send for Basic",1,["actix_web_httpauth::headers::www_authenticate::challenge::basic::Basic"]],["impl Send for BearerBuilder",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::builder::BearerBuilder"]],["impl Send for Bearer",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::challenge::Bearer"]],["impl<C> Send for WwwAuthenticate<C>",1,["actix_web_httpauth::headers::www_authenticate::header::WwwAuthenticate"]],["impl<T, F> Send for HttpAuthentication<T, F>where
        F: Send + Sync,
        T: Send,
    ",1,["actix_web_httpauth::middleware::HttpAuthentication"]]] };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.Sync.js b/implementors/core/marker/trait.Sync.js index 7a27a485a..c4ba6dd88 100644 --- a/implementors/core/marker/trait.Sync.js +++ b/implementors/core/marker/trait.Sync.js @@ -4,7 +4,7 @@ "actix_limitation":[["impl Sync for Builder",1,["actix_limitation::builder::Builder"]],["impl Sync for Error",1,["actix_limitation::errors::Error"]],["impl Sync for RateLimiter",1,["actix_limitation::middleware::RateLimiter"]],["impl Sync for Status",1,["actix_limitation::status::Status"]],["impl Sync for Limiter",1,["actix_limitation::Limiter"]]], "actix_protobuf":[["impl Sync for ProtoBufPayloadError",1,["actix_protobuf::ProtoBufPayloadError"]],["impl<T> Sync for ProtoBuf<T>",1,["actix_protobuf::ProtoBuf"]],["impl Sync for ProtoBufConfig",1,["actix_protobuf::ProtoBufConfig"]],["impl<T> !Sync for ProtoBufMessage<T>",1,["actix_protobuf::ProtoBufMessage"]]], "actix_redis":[["impl Sync for Command",1,["actix_redis::redis::Command"]],["impl !Sync for RedisActor",1,["actix_redis::redis::RedisActor"]],["impl Sync for Error",1,["actix_redis::Error"]]], -"actix_session":[["impl Sync for SessionLifecycle",1,["actix_session::config::SessionLifecycle"]],["impl Sync for BrowserSession",1,["actix_session::config::BrowserSession"]],["impl Sync for PersistentSession",1,["actix_session::config::PersistentSession"]],["impl Sync for TtlExtensionPolicy",1,["actix_session::config::TtlExtensionPolicy"]],["impl Sync for CookieContentSecurity",1,["actix_session::config::CookieContentSecurity"]],["impl<Store> Sync for SessionMiddlewareBuilder<Store> where
        Store: Sync
    ",1,["actix_session::config::SessionMiddlewareBuilder"]],["impl<Store> !Sync for SessionMiddleware<Store>",1,["actix_session::middleware::SessionMiddleware"]],["impl !Sync for Session",1,["actix_session::session::Session"]],["impl Sync for SessionStatus",1,["actix_session::session::SessionStatus"]],["impl Sync for SessionGetError",1,["actix_session::session::SessionGetError"]],["impl Sync for SessionInsertError",1,["actix_session::session::SessionInsertError"]],["impl Sync for LoadError",1,["actix_session::storage::interface::LoadError"]],["impl Sync for SaveError",1,["actix_session::storage::interface::SaveError"]],["impl Sync for UpdateError",1,["actix_session::storage::interface::UpdateError"]],["impl Sync for SessionKey",1,["actix_session::storage::session_key::SessionKey"]],["impl Sync for CookieSessionStore",1,["actix_session::storage::cookie::CookieSessionStore"]],["impl !Sync for RedisActorSessionStore",1,["actix_session::storage::redis_actor::RedisActorSessionStore"]],["impl !Sync for RedisActorSessionStoreBuilder",1,["actix_session::storage::redis_actor::RedisActorSessionStoreBuilder"]],["impl Sync for RedisSessionStore",1,["actix_session::storage::redis_rs::RedisSessionStore"]],["impl Sync for RedisSessionStoreBuilder",1,["actix_session::storage::redis_rs::RedisSessionStoreBuilder"]]], -"actix_settings":[["impl Sync for Error",1,["actix_settings::error::Error"]],["impl Sync for Address",1,["actix_settings::settings::address::Address"]],["impl Sync for Backlog",1,["actix_settings::settings::backlog::Backlog"]],["impl Sync for KeepAlive",1,["actix_settings::settings::keep_alive::KeepAlive"]],["impl Sync for MaxConnectionRate",1,["actix_settings::settings::max_connection_rate::MaxConnectionRate"]],["impl Sync for MaxConnections",1,["actix_settings::settings::max_connections::MaxConnections"]],["impl Sync for Mode",1,["actix_settings::settings::mode::Mode"]],["impl Sync for NumWorkers",1,["actix_settings::settings::num_workers::NumWorkers"]],["impl Sync for Timeout",1,["actix_settings::settings::timeout::Timeout"]],["impl Sync for Tls",1,["actix_settings::settings::tls::Tls"]],["impl Sync for ActixSettings",1,["actix_settings::settings::ActixSettings"]],["impl<A> Sync for BasicSettings<A> where
        A: Sync
    ",1,["actix_settings::BasicSettings"]],["impl Sync for NoSettings",1,["actix_settings::NoSettings"]]], -"actix_web_httpauth":[["impl Sync for Config",1,["actix_web_httpauth::extractors::basic::Config"]],["impl Sync for BasicAuth",1,["actix_web_httpauth::extractors::basic::BasicAuth"]],["impl Sync for Error",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::errors::Error"]],["impl Sync for Config",1,["actix_web_httpauth::extractors::bearer::Config"]],["impl Sync for BearerAuth",1,["actix_web_httpauth::extractors::bearer::BearerAuth"]],["impl<C> Sync for AuthenticationError<C>",1,["actix_web_httpauth::extractors::errors::AuthenticationError"]],["impl Sync for ParseError",1,["actix_web_httpauth::headers::authorization::errors::ParseError"]],["impl<S> Sync for Authorization<S>",1,["actix_web_httpauth::headers::authorization::header::Authorization"]],["impl Sync for Basic",1,["actix_web_httpauth::headers::authorization::scheme::basic::Basic"]],["impl Sync for Bearer",1,["actix_web_httpauth::headers::authorization::scheme::bearer::Bearer"]],["impl Sync for Basic",1,["actix_web_httpauth::headers::www_authenticate::challenge::basic::Basic"]],["impl Sync for BearerBuilder",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::builder::BearerBuilder"]],["impl Sync for Bearer",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::challenge::Bearer"]],["impl<C> Sync for WwwAuthenticate<C>",1,["actix_web_httpauth::headers::www_authenticate::header::WwwAuthenticate"]],["impl<T, F> Sync for HttpAuthentication<T, F> where
        F: Send + Sync,
        T: Sync
    ",1,["actix_web_httpauth::middleware::HttpAuthentication"]]] +"actix_session":[["impl Sync for SessionLifecycle",1,["actix_session::config::SessionLifecycle"]],["impl Sync for BrowserSession",1,["actix_session::config::BrowserSession"]],["impl Sync for PersistentSession",1,["actix_session::config::PersistentSession"]],["impl Sync for TtlExtensionPolicy",1,["actix_session::config::TtlExtensionPolicy"]],["impl Sync for CookieContentSecurity",1,["actix_session::config::CookieContentSecurity"]],["impl<Store> Sync for SessionMiddlewareBuilder<Store>where
        Store: Sync,
    ",1,["actix_session::config::SessionMiddlewareBuilder"]],["impl<Store> !Sync for SessionMiddleware<Store>",1,["actix_session::middleware::SessionMiddleware"]],["impl !Sync for Session",1,["actix_session::session::Session"]],["impl Sync for SessionStatus",1,["actix_session::session::SessionStatus"]],["impl Sync for SessionGetError",1,["actix_session::session::SessionGetError"]],["impl Sync for SessionInsertError",1,["actix_session::session::SessionInsertError"]],["impl Sync for LoadError",1,["actix_session::storage::interface::LoadError"]],["impl Sync for SaveError",1,["actix_session::storage::interface::SaveError"]],["impl Sync for UpdateError",1,["actix_session::storage::interface::UpdateError"]],["impl Sync for SessionKey",1,["actix_session::storage::session_key::SessionKey"]],["impl Sync for CookieSessionStore",1,["actix_session::storage::cookie::CookieSessionStore"]],["impl !Sync for RedisActorSessionStore",1,["actix_session::storage::redis_actor::RedisActorSessionStore"]],["impl !Sync for RedisActorSessionStoreBuilder",1,["actix_session::storage::redis_actor::RedisActorSessionStoreBuilder"]],["impl Sync for RedisSessionStore",1,["actix_session::storage::redis_rs::RedisSessionStore"]],["impl Sync for RedisSessionStoreBuilder",1,["actix_session::storage::redis_rs::RedisSessionStoreBuilder"]]], +"actix_settings":[["impl Sync for Error",1,["actix_settings::error::Error"]],["impl Sync for Address",1,["actix_settings::settings::address::Address"]],["impl Sync for Backlog",1,["actix_settings::settings::backlog::Backlog"]],["impl Sync for KeepAlive",1,["actix_settings::settings::keep_alive::KeepAlive"]],["impl Sync for MaxConnectionRate",1,["actix_settings::settings::max_connection_rate::MaxConnectionRate"]],["impl Sync for MaxConnections",1,["actix_settings::settings::max_connections::MaxConnections"]],["impl Sync for Mode",1,["actix_settings::settings::mode::Mode"]],["impl Sync for NumWorkers",1,["actix_settings::settings::num_workers::NumWorkers"]],["impl Sync for Timeout",1,["actix_settings::settings::timeout::Timeout"]],["impl Sync for Tls",1,["actix_settings::settings::tls::Tls"]],["impl Sync for ActixSettings",1,["actix_settings::settings::ActixSettings"]],["impl<A> Sync for BasicSettings<A>where
        A: Sync,
    ",1,["actix_settings::BasicSettings"]],["impl Sync for NoSettings",1,["actix_settings::NoSettings"]]], +"actix_web_httpauth":[["impl Sync for Config",1,["actix_web_httpauth::extractors::basic::Config"]],["impl Sync for BasicAuth",1,["actix_web_httpauth::extractors::basic::BasicAuth"]],["impl Sync for Error",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::errors::Error"]],["impl Sync for Config",1,["actix_web_httpauth::extractors::bearer::Config"]],["impl Sync for BearerAuth",1,["actix_web_httpauth::extractors::bearer::BearerAuth"]],["impl<C> Sync for AuthenticationError<C>",1,["actix_web_httpauth::extractors::errors::AuthenticationError"]],["impl Sync for ParseError",1,["actix_web_httpauth::headers::authorization::errors::ParseError"]],["impl<S> Sync for Authorization<S>",1,["actix_web_httpauth::headers::authorization::header::Authorization"]],["impl Sync for Basic",1,["actix_web_httpauth::headers::authorization::scheme::basic::Basic"]],["impl Sync for Bearer",1,["actix_web_httpauth::headers::authorization::scheme::bearer::Bearer"]],["impl Sync for Basic",1,["actix_web_httpauth::headers::www_authenticate::challenge::basic::Basic"]],["impl Sync for BearerBuilder",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::builder::BearerBuilder"]],["impl Sync for Bearer",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::challenge::Bearer"]],["impl<C> Sync for WwwAuthenticate<C>",1,["actix_web_httpauth::headers::www_authenticate::header::WwwAuthenticate"]],["impl<T, F> Sync for HttpAuthentication<T, F>where
        F: Send + Sync,
        T: Sync,
    ",1,["actix_web_httpauth::middleware::HttpAuthentication"]]] };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.Unpin.js b/implementors/core/marker/trait.Unpin.js index e94fad648..bd584018d 100644 --- a/implementors/core/marker/trait.Unpin.js +++ b/implementors/core/marker/trait.Unpin.js @@ -2,9 +2,9 @@ "actix_cors":[["impl Unpin for Cors",1,["actix_cors::builder::Cors"]],["impl Unpin for CorsError",1,["actix_cors::error::CorsError"]]], "actix_identity":[["impl Unpin for LogoutBehaviour",1,["actix_identity::config::LogoutBehaviour"]],["impl Unpin for IdentityMiddlewareBuilder",1,["actix_identity::config::IdentityMiddlewareBuilder"]],["impl Unpin for Identity",1,["actix_identity::identity::Identity"]],["impl Unpin for IdentityMiddleware",1,["actix_identity::middleware::IdentityMiddleware"]]], "actix_limitation":[["impl Unpin for Builder",1,["actix_limitation::builder::Builder"]],["impl Unpin for Error",1,["actix_limitation::errors::Error"]],["impl Unpin for RateLimiter",1,["actix_limitation::middleware::RateLimiter"]],["impl Unpin for Status",1,["actix_limitation::status::Status"]],["impl Unpin for Limiter",1,["actix_limitation::Limiter"]]], -"actix_protobuf":[["impl Unpin for ProtoBufPayloadError",1,["actix_protobuf::ProtoBufPayloadError"]],["impl<T> Unpin for ProtoBuf<T> where
        T: Unpin
    ",1,["actix_protobuf::ProtoBuf"]],["impl Unpin for ProtoBufConfig",1,["actix_protobuf::ProtoBufConfig"]],["impl<T> Unpin for ProtoBufMessage<T>",1,["actix_protobuf::ProtoBufMessage"]]], +"actix_protobuf":[["impl Unpin for ProtoBufPayloadError",1,["actix_protobuf::ProtoBufPayloadError"]],["impl<T> Unpin for ProtoBuf<T>where
        T: Unpin,
    ",1,["actix_protobuf::ProtoBuf"]],["impl Unpin for ProtoBufConfig",1,["actix_protobuf::ProtoBufConfig"]],["impl<T> Unpin for ProtoBufMessage<T>",1,["actix_protobuf::ProtoBufMessage"]]], "actix_redis":[["impl Unpin for Command",1,["actix_redis::redis::Command"]],["impl Unpin for RedisActor",1,["actix_redis::redis::RedisActor"]],["impl Unpin for Error",1,["actix_redis::Error"]]], -"actix_session":[["impl Unpin for SessionLifecycle",1,["actix_session::config::SessionLifecycle"]],["impl Unpin for BrowserSession",1,["actix_session::config::BrowserSession"]],["impl Unpin for PersistentSession",1,["actix_session::config::PersistentSession"]],["impl Unpin for TtlExtensionPolicy",1,["actix_session::config::TtlExtensionPolicy"]],["impl Unpin for CookieContentSecurity",1,["actix_session::config::CookieContentSecurity"]],["impl<Store> Unpin for SessionMiddlewareBuilder<Store> where
        Store: Unpin
    ",1,["actix_session::config::SessionMiddlewareBuilder"]],["impl<Store> Unpin for SessionMiddleware<Store>",1,["actix_session::middleware::SessionMiddleware"]],["impl Unpin for Session",1,["actix_session::session::Session"]],["impl Unpin for SessionStatus",1,["actix_session::session::SessionStatus"]],["impl Unpin for SessionGetError",1,["actix_session::session::SessionGetError"]],["impl Unpin for SessionInsertError",1,["actix_session::session::SessionInsertError"]],["impl Unpin for LoadError",1,["actix_session::storage::interface::LoadError"]],["impl Unpin for SaveError",1,["actix_session::storage::interface::SaveError"]],["impl Unpin for UpdateError",1,["actix_session::storage::interface::UpdateError"]],["impl Unpin for SessionKey",1,["actix_session::storage::session_key::SessionKey"]],["impl Unpin for CookieSessionStore",1,["actix_session::storage::cookie::CookieSessionStore"]],["impl Unpin for RedisActorSessionStore",1,["actix_session::storage::redis_actor::RedisActorSessionStore"]],["impl Unpin for RedisActorSessionStoreBuilder",1,["actix_session::storage::redis_actor::RedisActorSessionStoreBuilder"]],["impl Unpin for RedisSessionStore",1,["actix_session::storage::redis_rs::RedisSessionStore"]],["impl Unpin for RedisSessionStoreBuilder",1,["actix_session::storage::redis_rs::RedisSessionStoreBuilder"]]], -"actix_settings":[["impl Unpin for Error",1,["actix_settings::error::Error"]],["impl Unpin for Address",1,["actix_settings::settings::address::Address"]],["impl Unpin for Backlog",1,["actix_settings::settings::backlog::Backlog"]],["impl Unpin for KeepAlive",1,["actix_settings::settings::keep_alive::KeepAlive"]],["impl Unpin for MaxConnectionRate",1,["actix_settings::settings::max_connection_rate::MaxConnectionRate"]],["impl Unpin for MaxConnections",1,["actix_settings::settings::max_connections::MaxConnections"]],["impl Unpin for Mode",1,["actix_settings::settings::mode::Mode"]],["impl Unpin for NumWorkers",1,["actix_settings::settings::num_workers::NumWorkers"]],["impl Unpin for Timeout",1,["actix_settings::settings::timeout::Timeout"]],["impl Unpin for Tls",1,["actix_settings::settings::tls::Tls"]],["impl Unpin for ActixSettings",1,["actix_settings::settings::ActixSettings"]],["impl<A> Unpin for BasicSettings<A> where
        A: Unpin
    ",1,["actix_settings::BasicSettings"]],["impl Unpin for NoSettings",1,["actix_settings::NoSettings"]]], -"actix_web_httpauth":[["impl Unpin for Config",1,["actix_web_httpauth::extractors::basic::Config"]],["impl Unpin for BasicAuth",1,["actix_web_httpauth::extractors::basic::BasicAuth"]],["impl Unpin for Error",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::errors::Error"]],["impl Unpin for Config",1,["actix_web_httpauth::extractors::bearer::Config"]],["impl Unpin for BearerAuth",1,["actix_web_httpauth::extractors::bearer::BearerAuth"]],["impl<C> Unpin for AuthenticationError<C> where
        C: Unpin
    ",1,["actix_web_httpauth::extractors::errors::AuthenticationError"]],["impl Unpin for ParseError",1,["actix_web_httpauth::headers::authorization::errors::ParseError"]],["impl<S> Unpin for Authorization<S> where
        S: Unpin
    ",1,["actix_web_httpauth::headers::authorization::header::Authorization"]],["impl Unpin for Basic",1,["actix_web_httpauth::headers::authorization::scheme::basic::Basic"]],["impl Unpin for Bearer",1,["actix_web_httpauth::headers::authorization::scheme::bearer::Bearer"]],["impl Unpin for Basic",1,["actix_web_httpauth::headers::www_authenticate::challenge::basic::Basic"]],["impl Unpin for BearerBuilder",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::builder::BearerBuilder"]],["impl Unpin for Bearer",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::challenge::Bearer"]],["impl<C> Unpin for WwwAuthenticate<C> where
        C: Unpin
    ",1,["actix_web_httpauth::headers::www_authenticate::header::WwwAuthenticate"]],["impl<T, F> Unpin for HttpAuthentication<T, F> where
        T: Unpin
    ",1,["actix_web_httpauth::middleware::HttpAuthentication"]]] +"actix_session":[["impl Unpin for SessionLifecycle",1,["actix_session::config::SessionLifecycle"]],["impl Unpin for BrowserSession",1,["actix_session::config::BrowserSession"]],["impl Unpin for PersistentSession",1,["actix_session::config::PersistentSession"]],["impl Unpin for TtlExtensionPolicy",1,["actix_session::config::TtlExtensionPolicy"]],["impl Unpin for CookieContentSecurity",1,["actix_session::config::CookieContentSecurity"]],["impl<Store> Unpin for SessionMiddlewareBuilder<Store>where
        Store: Unpin,
    ",1,["actix_session::config::SessionMiddlewareBuilder"]],["impl<Store> Unpin for SessionMiddleware<Store>",1,["actix_session::middleware::SessionMiddleware"]],["impl Unpin for Session",1,["actix_session::session::Session"]],["impl Unpin for SessionStatus",1,["actix_session::session::SessionStatus"]],["impl Unpin for SessionGetError",1,["actix_session::session::SessionGetError"]],["impl Unpin for SessionInsertError",1,["actix_session::session::SessionInsertError"]],["impl Unpin for LoadError",1,["actix_session::storage::interface::LoadError"]],["impl Unpin for SaveError",1,["actix_session::storage::interface::SaveError"]],["impl Unpin for UpdateError",1,["actix_session::storage::interface::UpdateError"]],["impl Unpin for SessionKey",1,["actix_session::storage::session_key::SessionKey"]],["impl Unpin for CookieSessionStore",1,["actix_session::storage::cookie::CookieSessionStore"]],["impl Unpin for RedisActorSessionStore",1,["actix_session::storage::redis_actor::RedisActorSessionStore"]],["impl Unpin for RedisActorSessionStoreBuilder",1,["actix_session::storage::redis_actor::RedisActorSessionStoreBuilder"]],["impl Unpin for RedisSessionStore",1,["actix_session::storage::redis_rs::RedisSessionStore"]],["impl Unpin for RedisSessionStoreBuilder",1,["actix_session::storage::redis_rs::RedisSessionStoreBuilder"]]], +"actix_settings":[["impl Unpin for Error",1,["actix_settings::error::Error"]],["impl Unpin for Address",1,["actix_settings::settings::address::Address"]],["impl Unpin for Backlog",1,["actix_settings::settings::backlog::Backlog"]],["impl Unpin for KeepAlive",1,["actix_settings::settings::keep_alive::KeepAlive"]],["impl Unpin for MaxConnectionRate",1,["actix_settings::settings::max_connection_rate::MaxConnectionRate"]],["impl Unpin for MaxConnections",1,["actix_settings::settings::max_connections::MaxConnections"]],["impl Unpin for Mode",1,["actix_settings::settings::mode::Mode"]],["impl Unpin for NumWorkers",1,["actix_settings::settings::num_workers::NumWorkers"]],["impl Unpin for Timeout",1,["actix_settings::settings::timeout::Timeout"]],["impl Unpin for Tls",1,["actix_settings::settings::tls::Tls"]],["impl Unpin for ActixSettings",1,["actix_settings::settings::ActixSettings"]],["impl<A> Unpin for BasicSettings<A>where
        A: Unpin,
    ",1,["actix_settings::BasicSettings"]],["impl Unpin for NoSettings",1,["actix_settings::NoSettings"]]], +"actix_web_httpauth":[["impl Unpin for Config",1,["actix_web_httpauth::extractors::basic::Config"]],["impl Unpin for BasicAuth",1,["actix_web_httpauth::extractors::basic::BasicAuth"]],["impl Unpin for Error",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::errors::Error"]],["impl Unpin for Config",1,["actix_web_httpauth::extractors::bearer::Config"]],["impl Unpin for BearerAuth",1,["actix_web_httpauth::extractors::bearer::BearerAuth"]],["impl<C> Unpin for AuthenticationError<C>where
        C: Unpin,
    ",1,["actix_web_httpauth::extractors::errors::AuthenticationError"]],["impl Unpin for ParseError",1,["actix_web_httpauth::headers::authorization::errors::ParseError"]],["impl<S> Unpin for Authorization<S>where
        S: Unpin,
    ",1,["actix_web_httpauth::headers::authorization::header::Authorization"]],["impl Unpin for Basic",1,["actix_web_httpauth::headers::authorization::scheme::basic::Basic"]],["impl Unpin for Bearer",1,["actix_web_httpauth::headers::authorization::scheme::bearer::Bearer"]],["impl Unpin for Basic",1,["actix_web_httpauth::headers::www_authenticate::challenge::basic::Basic"]],["impl Unpin for BearerBuilder",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::builder::BearerBuilder"]],["impl Unpin for Bearer",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::challenge::Bearer"]],["impl<C> Unpin for WwwAuthenticate<C>where
        C: Unpin,
    ",1,["actix_web_httpauth::headers::www_authenticate::header::WwwAuthenticate"]],["impl<T, F> Unpin for HttpAuthentication<T, F>where
        T: Unpin,
    ",1,["actix_web_httpauth::middleware::HttpAuthentication"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js b/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js index 465812451..c7453f110 100644 --- a/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -1,10 +1,10 @@ (function() {var implementors = { "actix_cors":[["impl !RefUnwindSafe for Cors",1,["actix_cors::builder::Cors"]],["impl RefUnwindSafe for CorsError",1,["actix_cors::error::CorsError"]]], "actix_identity":[["impl RefUnwindSafe for LogoutBehaviour",1,["actix_identity::config::LogoutBehaviour"]],["impl RefUnwindSafe for IdentityMiddlewareBuilder",1,["actix_identity::config::IdentityMiddlewareBuilder"]],["impl !RefUnwindSafe for Identity",1,["actix_identity::identity::Identity"]],["impl RefUnwindSafe for IdentityMiddleware",1,["actix_identity::middleware::IdentityMiddleware"]]], -"actix_limitation":[["impl RefUnwindSafe for Builder",1,["actix_limitation::builder::Builder"]],["impl !RefUnwindSafe for Error",1,["actix_limitation::errors::Error"]],["impl RefUnwindSafe for RateLimiter",1,["actix_limitation::middleware::RateLimiter"]],["impl RefUnwindSafe for Status",1,["actix_limitation::status::Status"]],["impl RefUnwindSafe for Limiter",1,["actix_limitation::Limiter"]]], -"actix_protobuf":[["impl !RefUnwindSafe for ProtoBufPayloadError",1,["actix_protobuf::ProtoBufPayloadError"]],["impl<T> RefUnwindSafe for ProtoBuf<T> where
        T: RefUnwindSafe
    ",1,["actix_protobuf::ProtoBuf"]],["impl RefUnwindSafe for ProtoBufConfig",1,["actix_protobuf::ProtoBufConfig"]],["impl<T> !RefUnwindSafe for ProtoBufMessage<T>",1,["actix_protobuf::ProtoBufMessage"]]], +"actix_limitation":[["impl !RefUnwindSafe for Builder",1,["actix_limitation::builder::Builder"]],["impl !RefUnwindSafe for Error",1,["actix_limitation::errors::Error"]],["impl RefUnwindSafe for RateLimiter",1,["actix_limitation::middleware::RateLimiter"]],["impl RefUnwindSafe for Status",1,["actix_limitation::status::Status"]],["impl !RefUnwindSafe for Limiter",1,["actix_limitation::Limiter"]]], +"actix_protobuf":[["impl !RefUnwindSafe for ProtoBufPayloadError",1,["actix_protobuf::ProtoBufPayloadError"]],["impl<T> RefUnwindSafe for ProtoBuf<T>where
        T: RefUnwindSafe,
    ",1,["actix_protobuf::ProtoBuf"]],["impl RefUnwindSafe for ProtoBufConfig",1,["actix_protobuf::ProtoBufConfig"]],["impl<T> !RefUnwindSafe for ProtoBufMessage<T>",1,["actix_protobuf::ProtoBufMessage"]]], "actix_redis":[["impl RefUnwindSafe for Command",1,["actix_redis::redis::Command"]],["impl !RefUnwindSafe for RedisActor",1,["actix_redis::redis::RedisActor"]],["impl !RefUnwindSafe for Error",1,["actix_redis::Error"]]], -"actix_session":[["impl RefUnwindSafe for SessionLifecycle",1,["actix_session::config::SessionLifecycle"]],["impl RefUnwindSafe for BrowserSession",1,["actix_session::config::BrowserSession"]],["impl RefUnwindSafe for PersistentSession",1,["actix_session::config::PersistentSession"]],["impl RefUnwindSafe for TtlExtensionPolicy",1,["actix_session::config::TtlExtensionPolicy"]],["impl RefUnwindSafe for CookieContentSecurity",1,["actix_session::config::CookieContentSecurity"]],["impl<Store> RefUnwindSafe for SessionMiddlewareBuilder<Store> where
        Store: RefUnwindSafe
    ",1,["actix_session::config::SessionMiddlewareBuilder"]],["impl<Store> RefUnwindSafe for SessionMiddleware<Store> where
        Store: RefUnwindSafe
    ",1,["actix_session::middleware::SessionMiddleware"]],["impl !RefUnwindSafe for Session",1,["actix_session::session::Session"]],["impl RefUnwindSafe for SessionStatus",1,["actix_session::session::SessionStatus"]],["impl RefUnwindSafe for SessionGetError",1,["actix_session::session::SessionGetError"]],["impl RefUnwindSafe for SessionInsertError",1,["actix_session::session::SessionInsertError"]],["impl RefUnwindSafe for LoadError",1,["actix_session::storage::interface::LoadError"]],["impl RefUnwindSafe for SaveError",1,["actix_session::storage::interface::SaveError"]],["impl RefUnwindSafe for UpdateError",1,["actix_session::storage::interface::UpdateError"]],["impl RefUnwindSafe for SessionKey",1,["actix_session::storage::session_key::SessionKey"]],["impl RefUnwindSafe for CookieSessionStore",1,["actix_session::storage::cookie::CookieSessionStore"]],["impl !RefUnwindSafe for RedisActorSessionStore",1,["actix_session::storage::redis_actor::RedisActorSessionStore"]],["impl !RefUnwindSafe for RedisActorSessionStoreBuilder",1,["actix_session::storage::redis_actor::RedisActorSessionStoreBuilder"]],["impl !RefUnwindSafe for RedisSessionStore",1,["actix_session::storage::redis_rs::RedisSessionStore"]],["impl !RefUnwindSafe for RedisSessionStoreBuilder",1,["actix_session::storage::redis_rs::RedisSessionStoreBuilder"]]], -"actix_settings":[["impl RefUnwindSafe for Error",1,["actix_settings::error::Error"]],["impl RefUnwindSafe for Address",1,["actix_settings::settings::address::Address"]],["impl RefUnwindSafe for Backlog",1,["actix_settings::settings::backlog::Backlog"]],["impl RefUnwindSafe for KeepAlive",1,["actix_settings::settings::keep_alive::KeepAlive"]],["impl RefUnwindSafe for MaxConnectionRate",1,["actix_settings::settings::max_connection_rate::MaxConnectionRate"]],["impl RefUnwindSafe for MaxConnections",1,["actix_settings::settings::max_connections::MaxConnections"]],["impl RefUnwindSafe for Mode",1,["actix_settings::settings::mode::Mode"]],["impl RefUnwindSafe for NumWorkers",1,["actix_settings::settings::num_workers::NumWorkers"]],["impl RefUnwindSafe for Timeout",1,["actix_settings::settings::timeout::Timeout"]],["impl RefUnwindSafe for Tls",1,["actix_settings::settings::tls::Tls"]],["impl RefUnwindSafe for ActixSettings",1,["actix_settings::settings::ActixSettings"]],["impl<A> RefUnwindSafe for BasicSettings<A> where
        A: RefUnwindSafe
    ",1,["actix_settings::BasicSettings"]],["impl RefUnwindSafe for NoSettings",1,["actix_settings::NoSettings"]]], -"actix_web_httpauth":[["impl RefUnwindSafe for Config",1,["actix_web_httpauth::extractors::basic::Config"]],["impl RefUnwindSafe for BasicAuth",1,["actix_web_httpauth::extractors::basic::BasicAuth"]],["impl RefUnwindSafe for Error",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::errors::Error"]],["impl RefUnwindSafe for Config",1,["actix_web_httpauth::extractors::bearer::Config"]],["impl RefUnwindSafe for BearerAuth",1,["actix_web_httpauth::extractors::bearer::BearerAuth"]],["impl<C> RefUnwindSafe for AuthenticationError<C> where
        C: RefUnwindSafe
    ",1,["actix_web_httpauth::extractors::errors::AuthenticationError"]],["impl RefUnwindSafe for ParseError",1,["actix_web_httpauth::headers::authorization::errors::ParseError"]],["impl<S> RefUnwindSafe for Authorization<S> where
        S: RefUnwindSafe
    ",1,["actix_web_httpauth::headers::authorization::header::Authorization"]],["impl RefUnwindSafe for Basic",1,["actix_web_httpauth::headers::authorization::scheme::basic::Basic"]],["impl RefUnwindSafe for Bearer",1,["actix_web_httpauth::headers::authorization::scheme::bearer::Bearer"]],["impl RefUnwindSafe for Basic",1,["actix_web_httpauth::headers::www_authenticate::challenge::basic::Basic"]],["impl RefUnwindSafe for BearerBuilder",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::builder::BearerBuilder"]],["impl RefUnwindSafe for Bearer",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::challenge::Bearer"]],["impl<C> RefUnwindSafe for WwwAuthenticate<C> where
        C: RefUnwindSafe
    ",1,["actix_web_httpauth::headers::www_authenticate::header::WwwAuthenticate"]],["impl<T, F> RefUnwindSafe for HttpAuthentication<T, F> where
        F: RefUnwindSafe,
        T: RefUnwindSafe
    ",1,["actix_web_httpauth::middleware::HttpAuthentication"]]] +"actix_session":[["impl RefUnwindSafe for SessionLifecycle",1,["actix_session::config::SessionLifecycle"]],["impl RefUnwindSafe for BrowserSession",1,["actix_session::config::BrowserSession"]],["impl RefUnwindSafe for PersistentSession",1,["actix_session::config::PersistentSession"]],["impl RefUnwindSafe for TtlExtensionPolicy",1,["actix_session::config::TtlExtensionPolicy"]],["impl RefUnwindSafe for CookieContentSecurity",1,["actix_session::config::CookieContentSecurity"]],["impl<Store> RefUnwindSafe for SessionMiddlewareBuilder<Store>where
        Store: RefUnwindSafe,
    ",1,["actix_session::config::SessionMiddlewareBuilder"]],["impl<Store> RefUnwindSafe for SessionMiddleware<Store>where
        Store: RefUnwindSafe,
    ",1,["actix_session::middleware::SessionMiddleware"]],["impl !RefUnwindSafe for Session",1,["actix_session::session::Session"]],["impl RefUnwindSafe for SessionStatus",1,["actix_session::session::SessionStatus"]],["impl !RefUnwindSafe for SessionGetError",1,["actix_session::session::SessionGetError"]],["impl !RefUnwindSafe for SessionInsertError",1,["actix_session::session::SessionInsertError"]],["impl !RefUnwindSafe for LoadError",1,["actix_session::storage::interface::LoadError"]],["impl !RefUnwindSafe for SaveError",1,["actix_session::storage::interface::SaveError"]],["impl !RefUnwindSafe for UpdateError",1,["actix_session::storage::interface::UpdateError"]],["impl RefUnwindSafe for SessionKey",1,["actix_session::storage::session_key::SessionKey"]],["impl RefUnwindSafe for CookieSessionStore",1,["actix_session::storage::cookie::CookieSessionStore"]],["impl !RefUnwindSafe for RedisActorSessionStore",1,["actix_session::storage::redis_actor::RedisActorSessionStore"]],["impl !RefUnwindSafe for RedisActorSessionStoreBuilder",1,["actix_session::storage::redis_actor::RedisActorSessionStoreBuilder"]],["impl !RefUnwindSafe for RedisSessionStore",1,["actix_session::storage::redis_rs::RedisSessionStore"]],["impl !RefUnwindSafe for RedisSessionStoreBuilder",1,["actix_session::storage::redis_rs::RedisSessionStoreBuilder"]]], +"actix_settings":[["impl RefUnwindSafe for Error",1,["actix_settings::error::Error"]],["impl RefUnwindSafe for Address",1,["actix_settings::settings::address::Address"]],["impl RefUnwindSafe for Backlog",1,["actix_settings::settings::backlog::Backlog"]],["impl RefUnwindSafe for KeepAlive",1,["actix_settings::settings::keep_alive::KeepAlive"]],["impl RefUnwindSafe for MaxConnectionRate",1,["actix_settings::settings::max_connection_rate::MaxConnectionRate"]],["impl RefUnwindSafe for MaxConnections",1,["actix_settings::settings::max_connections::MaxConnections"]],["impl RefUnwindSafe for Mode",1,["actix_settings::settings::mode::Mode"]],["impl RefUnwindSafe for NumWorkers",1,["actix_settings::settings::num_workers::NumWorkers"]],["impl RefUnwindSafe for Timeout",1,["actix_settings::settings::timeout::Timeout"]],["impl RefUnwindSafe for Tls",1,["actix_settings::settings::tls::Tls"]],["impl RefUnwindSafe for ActixSettings",1,["actix_settings::settings::ActixSettings"]],["impl<A> RefUnwindSafe for BasicSettings<A>where
        A: RefUnwindSafe,
    ",1,["actix_settings::BasicSettings"]],["impl RefUnwindSafe for NoSettings",1,["actix_settings::NoSettings"]]], +"actix_web_httpauth":[["impl RefUnwindSafe for Config",1,["actix_web_httpauth::extractors::basic::Config"]],["impl RefUnwindSafe for BasicAuth",1,["actix_web_httpauth::extractors::basic::BasicAuth"]],["impl RefUnwindSafe for Error",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::errors::Error"]],["impl RefUnwindSafe for Config",1,["actix_web_httpauth::extractors::bearer::Config"]],["impl RefUnwindSafe for BearerAuth",1,["actix_web_httpauth::extractors::bearer::BearerAuth"]],["impl<C> RefUnwindSafe for AuthenticationError<C>where
        C: RefUnwindSafe,
    ",1,["actix_web_httpauth::extractors::errors::AuthenticationError"]],["impl RefUnwindSafe for ParseError",1,["actix_web_httpauth::headers::authorization::errors::ParseError"]],["impl<S> RefUnwindSafe for Authorization<S>where
        S: RefUnwindSafe,
    ",1,["actix_web_httpauth::headers::authorization::header::Authorization"]],["impl RefUnwindSafe for Basic",1,["actix_web_httpauth::headers::authorization::scheme::basic::Basic"]],["impl RefUnwindSafe for Bearer",1,["actix_web_httpauth::headers::authorization::scheme::bearer::Bearer"]],["impl RefUnwindSafe for Basic",1,["actix_web_httpauth::headers::www_authenticate::challenge::basic::Basic"]],["impl RefUnwindSafe for BearerBuilder",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::builder::BearerBuilder"]],["impl RefUnwindSafe for Bearer",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::challenge::Bearer"]],["impl<C> RefUnwindSafe for WwwAuthenticate<C>where
        C: RefUnwindSafe,
    ",1,["actix_web_httpauth::headers::www_authenticate::header::WwwAuthenticate"]],["impl<T, F> RefUnwindSafe for HttpAuthentication<T, F>where
        F: RefUnwindSafe,
        T: RefUnwindSafe,
    ",1,["actix_web_httpauth::middleware::HttpAuthentication"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/panic/unwind_safe/trait.UnwindSafe.js b/implementors/core/panic/unwind_safe/trait.UnwindSafe.js index 780b3f3a9..2fbf8df8a 100644 --- a/implementors/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/implementors/core/panic/unwind_safe/trait.UnwindSafe.js @@ -1,10 +1,10 @@ (function() {var implementors = { "actix_cors":[["impl !UnwindSafe for Cors",1,["actix_cors::builder::Cors"]],["impl UnwindSafe for CorsError",1,["actix_cors::error::CorsError"]]], "actix_identity":[["impl UnwindSafe for LogoutBehaviour",1,["actix_identity::config::LogoutBehaviour"]],["impl UnwindSafe for IdentityMiddlewareBuilder",1,["actix_identity::config::IdentityMiddlewareBuilder"]],["impl !UnwindSafe for Identity",1,["actix_identity::identity::Identity"]],["impl UnwindSafe for IdentityMiddleware",1,["actix_identity::middleware::IdentityMiddleware"]]], -"actix_limitation":[["impl UnwindSafe for Builder",1,["actix_limitation::builder::Builder"]],["impl !UnwindSafe for Error",1,["actix_limitation::errors::Error"]],["impl UnwindSafe for RateLimiter",1,["actix_limitation::middleware::RateLimiter"]],["impl UnwindSafe for Status",1,["actix_limitation::status::Status"]],["impl UnwindSafe for Limiter",1,["actix_limitation::Limiter"]]], -"actix_protobuf":[["impl !UnwindSafe for ProtoBufPayloadError",1,["actix_protobuf::ProtoBufPayloadError"]],["impl<T> UnwindSafe for ProtoBuf<T> where
        T: UnwindSafe
    ",1,["actix_protobuf::ProtoBuf"]],["impl UnwindSafe for ProtoBufConfig",1,["actix_protobuf::ProtoBufConfig"]],["impl<T> !UnwindSafe for ProtoBufMessage<T>",1,["actix_protobuf::ProtoBufMessage"]]], +"actix_limitation":[["impl !UnwindSafe for Builder",1,["actix_limitation::builder::Builder"]],["impl !UnwindSafe for Error",1,["actix_limitation::errors::Error"]],["impl UnwindSafe for RateLimiter",1,["actix_limitation::middleware::RateLimiter"]],["impl UnwindSafe for Status",1,["actix_limitation::status::Status"]],["impl !UnwindSafe for Limiter",1,["actix_limitation::Limiter"]]], +"actix_protobuf":[["impl !UnwindSafe for ProtoBufPayloadError",1,["actix_protobuf::ProtoBufPayloadError"]],["impl<T> UnwindSafe for ProtoBuf<T>where
        T: UnwindSafe,
    ",1,["actix_protobuf::ProtoBuf"]],["impl UnwindSafe for ProtoBufConfig",1,["actix_protobuf::ProtoBufConfig"]],["impl<T> !UnwindSafe for ProtoBufMessage<T>",1,["actix_protobuf::ProtoBufMessage"]]], "actix_redis":[["impl UnwindSafe for Command",1,["actix_redis::redis::Command"]],["impl !UnwindSafe for RedisActor",1,["actix_redis::redis::RedisActor"]],["impl !UnwindSafe for Error",1,["actix_redis::Error"]]], -"actix_session":[["impl UnwindSafe for SessionLifecycle",1,["actix_session::config::SessionLifecycle"]],["impl UnwindSafe for BrowserSession",1,["actix_session::config::BrowserSession"]],["impl UnwindSafe for PersistentSession",1,["actix_session::config::PersistentSession"]],["impl UnwindSafe for TtlExtensionPolicy",1,["actix_session::config::TtlExtensionPolicy"]],["impl UnwindSafe for CookieContentSecurity",1,["actix_session::config::CookieContentSecurity"]],["impl<Store> UnwindSafe for SessionMiddlewareBuilder<Store> where
        Store: UnwindSafe
    ",1,["actix_session::config::SessionMiddlewareBuilder"]],["impl<Store> UnwindSafe for SessionMiddleware<Store> where
        Store: RefUnwindSafe
    ",1,["actix_session::middleware::SessionMiddleware"]],["impl !UnwindSafe for Session",1,["actix_session::session::Session"]],["impl UnwindSafe for SessionStatus",1,["actix_session::session::SessionStatus"]],["impl UnwindSafe for SessionGetError",1,["actix_session::session::SessionGetError"]],["impl UnwindSafe for SessionInsertError",1,["actix_session::session::SessionInsertError"]],["impl UnwindSafe for LoadError",1,["actix_session::storage::interface::LoadError"]],["impl UnwindSafe for SaveError",1,["actix_session::storage::interface::SaveError"]],["impl UnwindSafe for UpdateError",1,["actix_session::storage::interface::UpdateError"]],["impl UnwindSafe for SessionKey",1,["actix_session::storage::session_key::SessionKey"]],["impl UnwindSafe for CookieSessionStore",1,["actix_session::storage::cookie::CookieSessionStore"]],["impl !UnwindSafe for RedisActorSessionStore",1,["actix_session::storage::redis_actor::RedisActorSessionStore"]],["impl !UnwindSafe for RedisActorSessionStoreBuilder",1,["actix_session::storage::redis_actor::RedisActorSessionStoreBuilder"]],["impl !UnwindSafe for RedisSessionStore",1,["actix_session::storage::redis_rs::RedisSessionStore"]],["impl !UnwindSafe for RedisSessionStoreBuilder",1,["actix_session::storage::redis_rs::RedisSessionStoreBuilder"]]], -"actix_settings":[["impl UnwindSafe for Error",1,["actix_settings::error::Error"]],["impl UnwindSafe for Address",1,["actix_settings::settings::address::Address"]],["impl UnwindSafe for Backlog",1,["actix_settings::settings::backlog::Backlog"]],["impl UnwindSafe for KeepAlive",1,["actix_settings::settings::keep_alive::KeepAlive"]],["impl UnwindSafe for MaxConnectionRate",1,["actix_settings::settings::max_connection_rate::MaxConnectionRate"]],["impl UnwindSafe for MaxConnections",1,["actix_settings::settings::max_connections::MaxConnections"]],["impl UnwindSafe for Mode",1,["actix_settings::settings::mode::Mode"]],["impl UnwindSafe for NumWorkers",1,["actix_settings::settings::num_workers::NumWorkers"]],["impl UnwindSafe for Timeout",1,["actix_settings::settings::timeout::Timeout"]],["impl UnwindSafe for Tls",1,["actix_settings::settings::tls::Tls"]],["impl UnwindSafe for ActixSettings",1,["actix_settings::settings::ActixSettings"]],["impl<A> UnwindSafe for BasicSettings<A> where
        A: UnwindSafe
    ",1,["actix_settings::BasicSettings"]],["impl UnwindSafe for NoSettings",1,["actix_settings::NoSettings"]]], -"actix_web_httpauth":[["impl UnwindSafe for Config",1,["actix_web_httpauth::extractors::basic::Config"]],["impl UnwindSafe for BasicAuth",1,["actix_web_httpauth::extractors::basic::BasicAuth"]],["impl UnwindSafe for Error",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::errors::Error"]],["impl UnwindSafe for Config",1,["actix_web_httpauth::extractors::bearer::Config"]],["impl UnwindSafe for BearerAuth",1,["actix_web_httpauth::extractors::bearer::BearerAuth"]],["impl<C> UnwindSafe for AuthenticationError<C> where
        C: UnwindSafe
    ",1,["actix_web_httpauth::extractors::errors::AuthenticationError"]],["impl UnwindSafe for ParseError",1,["actix_web_httpauth::headers::authorization::errors::ParseError"]],["impl<S> UnwindSafe for Authorization<S> where
        S: UnwindSafe
    ",1,["actix_web_httpauth::headers::authorization::header::Authorization"]],["impl UnwindSafe for Basic",1,["actix_web_httpauth::headers::authorization::scheme::basic::Basic"]],["impl UnwindSafe for Bearer",1,["actix_web_httpauth::headers::authorization::scheme::bearer::Bearer"]],["impl UnwindSafe for Basic",1,["actix_web_httpauth::headers::www_authenticate::challenge::basic::Basic"]],["impl UnwindSafe for BearerBuilder",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::builder::BearerBuilder"]],["impl UnwindSafe for Bearer",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::challenge::Bearer"]],["impl<C> UnwindSafe for WwwAuthenticate<C> where
        C: UnwindSafe
    ",1,["actix_web_httpauth::headers::www_authenticate::header::WwwAuthenticate"]],["impl<T, F> UnwindSafe for HttpAuthentication<T, F> where
        F: RefUnwindSafe,
        T: UnwindSafe
    ",1,["actix_web_httpauth::middleware::HttpAuthentication"]]] +"actix_session":[["impl UnwindSafe for SessionLifecycle",1,["actix_session::config::SessionLifecycle"]],["impl UnwindSafe for BrowserSession",1,["actix_session::config::BrowserSession"]],["impl UnwindSafe for PersistentSession",1,["actix_session::config::PersistentSession"]],["impl UnwindSafe for TtlExtensionPolicy",1,["actix_session::config::TtlExtensionPolicy"]],["impl UnwindSafe for CookieContentSecurity",1,["actix_session::config::CookieContentSecurity"]],["impl<Store> UnwindSafe for SessionMiddlewareBuilder<Store>where
        Store: UnwindSafe,
    ",1,["actix_session::config::SessionMiddlewareBuilder"]],["impl<Store> UnwindSafe for SessionMiddleware<Store>where
        Store: RefUnwindSafe,
    ",1,["actix_session::middleware::SessionMiddleware"]],["impl !UnwindSafe for Session",1,["actix_session::session::Session"]],["impl UnwindSafe for SessionStatus",1,["actix_session::session::SessionStatus"]],["impl !UnwindSafe for SessionGetError",1,["actix_session::session::SessionGetError"]],["impl !UnwindSafe for SessionInsertError",1,["actix_session::session::SessionInsertError"]],["impl !UnwindSafe for LoadError",1,["actix_session::storage::interface::LoadError"]],["impl !UnwindSafe for SaveError",1,["actix_session::storage::interface::SaveError"]],["impl !UnwindSafe for UpdateError",1,["actix_session::storage::interface::UpdateError"]],["impl UnwindSafe for SessionKey",1,["actix_session::storage::session_key::SessionKey"]],["impl UnwindSafe for CookieSessionStore",1,["actix_session::storage::cookie::CookieSessionStore"]],["impl !UnwindSafe for RedisActorSessionStore",1,["actix_session::storage::redis_actor::RedisActorSessionStore"]],["impl !UnwindSafe for RedisActorSessionStoreBuilder",1,["actix_session::storage::redis_actor::RedisActorSessionStoreBuilder"]],["impl !UnwindSafe for RedisSessionStore",1,["actix_session::storage::redis_rs::RedisSessionStore"]],["impl !UnwindSafe for RedisSessionStoreBuilder",1,["actix_session::storage::redis_rs::RedisSessionStoreBuilder"]]], +"actix_settings":[["impl UnwindSafe for Error",1,["actix_settings::error::Error"]],["impl UnwindSafe for Address",1,["actix_settings::settings::address::Address"]],["impl UnwindSafe for Backlog",1,["actix_settings::settings::backlog::Backlog"]],["impl UnwindSafe for KeepAlive",1,["actix_settings::settings::keep_alive::KeepAlive"]],["impl UnwindSafe for MaxConnectionRate",1,["actix_settings::settings::max_connection_rate::MaxConnectionRate"]],["impl UnwindSafe for MaxConnections",1,["actix_settings::settings::max_connections::MaxConnections"]],["impl UnwindSafe for Mode",1,["actix_settings::settings::mode::Mode"]],["impl UnwindSafe for NumWorkers",1,["actix_settings::settings::num_workers::NumWorkers"]],["impl UnwindSafe for Timeout",1,["actix_settings::settings::timeout::Timeout"]],["impl UnwindSafe for Tls",1,["actix_settings::settings::tls::Tls"]],["impl UnwindSafe for ActixSettings",1,["actix_settings::settings::ActixSettings"]],["impl<A> UnwindSafe for BasicSettings<A>where
        A: UnwindSafe,
    ",1,["actix_settings::BasicSettings"]],["impl UnwindSafe for NoSettings",1,["actix_settings::NoSettings"]]], +"actix_web_httpauth":[["impl UnwindSafe for Config",1,["actix_web_httpauth::extractors::basic::Config"]],["impl UnwindSafe for BasicAuth",1,["actix_web_httpauth::extractors::basic::BasicAuth"]],["impl UnwindSafe for Error",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::errors::Error"]],["impl UnwindSafe for Config",1,["actix_web_httpauth::extractors::bearer::Config"]],["impl UnwindSafe for BearerAuth",1,["actix_web_httpauth::extractors::bearer::BearerAuth"]],["impl<C> UnwindSafe for AuthenticationError<C>where
        C: UnwindSafe,
    ",1,["actix_web_httpauth::extractors::errors::AuthenticationError"]],["impl UnwindSafe for ParseError",1,["actix_web_httpauth::headers::authorization::errors::ParseError"]],["impl<S> UnwindSafe for Authorization<S>where
        S: UnwindSafe,
    ",1,["actix_web_httpauth::headers::authorization::header::Authorization"]],["impl UnwindSafe for Basic",1,["actix_web_httpauth::headers::authorization::scheme::basic::Basic"]],["impl UnwindSafe for Bearer",1,["actix_web_httpauth::headers::authorization::scheme::bearer::Bearer"]],["impl UnwindSafe for Basic",1,["actix_web_httpauth::headers::www_authenticate::challenge::basic::Basic"]],["impl UnwindSafe for BearerBuilder",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::builder::BearerBuilder"]],["impl UnwindSafe for Bearer",1,["actix_web_httpauth::headers::www_authenticate::challenge::bearer::challenge::Bearer"]],["impl<C> UnwindSafe for WwwAuthenticate<C>where
        C: UnwindSafe,
    ",1,["actix_web_httpauth::headers::www_authenticate::header::WwwAuthenticate"]],["impl<T, F> UnwindSafe for HttpAuthentication<T, F>where
        F: RefUnwindSafe,
        T: UnwindSafe,
    ",1,["actix_web_httpauth::middleware::HttpAuthentication"]]] };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 f1c1c347f..579011576 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 Address"],["impl<'de> Deserialize<'de> for Backlog"],["impl<'de> Deserialize<'de> for KeepAlive"],["impl<'de> Deserialize<'de> for MaxConnectionRate"],["impl<'de> Deserialize<'de> for MaxConnections"],["impl<'de> Deserialize<'de> for Mode"],["impl<'de> Deserialize<'de> for NumWorkers"],["impl<'de> Deserialize<'de> for Timeout"],["impl<'de> Deserialize<'de> for Tls"],["impl<'de> Deserialize<'de> for ActixSettings"],["impl<'de, A> Deserialize<'de> for BasicSettings<A> where
        A: Deserialize<'de>, 
    "],["impl<'de> Deserialize<'de> for NoSettings"]] +"actix_settings":[["impl<'de> Deserialize<'de> for Address"],["impl<'de> Deserialize<'de> for Backlog"],["impl<'de> Deserialize<'de> for KeepAlive"],["impl<'de> Deserialize<'de> for MaxConnectionRate"],["impl<'de> Deserialize<'de> for MaxConnections"],["impl<'de> Deserialize<'de> for Mode"],["impl<'de> Deserialize<'de> for NumWorkers"],["impl<'de> Deserialize<'de> for Timeout"],["impl<'de> Deserialize<'de> for Tls"],["impl<'de> Deserialize<'de> for ActixSettings"],["impl<'de, A> Deserialize<'de> for BasicSettings<A>where
        A: Deserialize<'de>,
    "],["impl<'de> Deserialize<'de> for NoSettings"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/light.css b/light.css index 2f69c68e1..d5e59ee97 100644 --- a/light.css +++ b/light.css @@ -1 +1 @@ -:root{--main-background-color:white;--main-color:black;--settings-input-color:#2196f3;--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;}.slider{background-color:#ccc;}.slider:before{background-color:white;}input:focus+.slider{box-shadow:0 0 0 2px #0a84ff,0 0 0 6px rgba(10,132,255,0.3);}.rust-logo{}.sidebar .current,.sidebar a:hover{background-color:#fff;}.line-numbers span{color:#c67e2d;}.line-numbers .line-highlighted{background-color:#FDFFD3 !important;}.search-results a:hover{background-color:#ddd;}.search-results a:focus{color:#000 !important;background-color:#ccc;}.search-results a:focus span{color:#000 !important;}a.result-trait:focus{background-color:#c7b6ff;}a.result-traitalias:focus{background-color:#c7b6ff;}a.result-mod:focus,a.result-externcrate:focus{background-color:#afc6e4;}a.result-enum:focus{background-color:#e7b1a0;}a.result-struct:focus{background-color:#e7b1a0;}a.result-union:focus{background-color:#e7b1a0;}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{background-color:#c6afb3;}a.result-type:focus{background-color:#e7b1a0;}a.result-associatedtype:focus{background-color:#afc6e4;}a.result-foreigntype:focus{background-color:#e7b1a0;}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{background-color:#8ce488;}a.result-constant:focus,a.result-static:focus{background-color:#afc6e4;}a.result-primitive:focus{background-color:#e7b1a0;}a.result-keyword:focus{background-color:#afc6e4;}.content .item-info::before{color:#ccc;}.content span.enum,.content a.enum,.block a.current.enum{color:#AD378A;}.content span.struct,.content a.struct,.block a.current.struct{color:#AD378A;}.content span.type,.content a.type,.block a.current.type{color:#AD378A;}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{color:#3873AD;}.content span.associatedtype,.content a.associatedtype,.block a.current.associatedtype{color:#3873AD;}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{color:#068000;}.content span.union,.content a.union,.block a.current.union{color:#AD378A;}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{color:#3873AD;}.content span.primitive,.content a.primitive,.block a.current.primitive{color:#AD378A;}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{color:#3873AD;}.content span.trait,.content a.trait,.block a.current.trait{color:#6E4FC9;}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{color:#5137AD;}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{color:#AD7C37;}.content span.keyword,.content a.keyword,.block a.current.keyword{color:#3873AD;}.sidebar a{color:#356da4;}.sidebar a.current.enum{color:#a63283;}.sidebar a.current.struct{color:#a63283;}.sidebar a.current.type{color:#a63283;}.sidebar a.current.associatedtype{color:#356da4;}.sidebar a.current.foreigntype{color:#356da4;}.sidebar a.current.attr,.sidebar a.current.derive,.sidebar a.current.macro{color:#067901;}.sidebar a.current.union{color:#a63283;}.sidebar a.current.constant .sidebar a.current.static{color:#356da4;}.sidebar a.current.primitive{color:#a63283;}.sidebar a.current.externcrate .sidebar a.current.mod{color:#356da4;}.sidebar a.current.trait{color:#6849c3;}.sidebar a.current.traitalias{color:#4b349e;}.sidebar a.current.fn,.sidebar a.current.method,.sidebar a.current.tymethod{color:#a67736;}.sidebar a.current.keyword{color:#356da4;}a{color:#3873AD;}body.source .example-wrap pre.rust a{background:#eee;}details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before{color:#999;}#crate-search-div::after{filter:invert(100%) sepia(0%) saturate(4223%) hue-rotate(289deg) brightness(114%) contrast(76%);}#crate-search:hover,#crate-search:focus{border-color:#717171 !important;}#crate-search-div:hover::after,#crate-search-div:focus-within::after{filter:invert(44%) sepia(18%) saturate(23%) hue-rotate(317deg) brightness(96%) contrast(93%);}.search-input:focus{border-color:#66afe9;}.stab{background:#FFF5D6;border-color:#FFC600;}.stab.portability>code{background:none;}.rightside:not(a),.out-of-band{color:grey;}.line-numbers :target{background-color:transparent;}pre.rust .kw{color:#8959A8;}pre.rust .kw-2,pre.rust .prelude-ty{color:#4271AE;}pre.rust .number,pre.rust .string{color:#718C00;}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute{color:#C82829;}pre.rust .comment{color:#8E908C;}pre.rust .doccomment{color:#4D4D4C;}pre.rust .macro,pre.rust .macro-nonterminal{color:#3E999F;}pre.rust .lifetime{color:#B76514;}pre.rust .question-mark{color:#ff9011;}.example-wrap>pre.line-number{border-color:#c7c7c7;}a.test-arrow{color:#f5f5f5;background-color:rgba(78,139,202,0.2);}a.test-arrow:hover{background-color:#4e8bca;}.toggle-label,.code-attribute{color:#999;}:target{background:#FDFFD3;border-right:3px solid #AD7C37;}pre.compile_fail{border-left:2px solid rgba(255,0,0,.5);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.5);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.5);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.5);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#3873AD;}.tooltip::after{background-color:#000;color:#fff;}.tooltip::before{border-color:transparent black transparent transparent;}.notable-traits-tooltiptext{background-color:#eee;}#titles>button:not(.selected){background-color:#e6e6e6;border-top-color:#e6e6e6;}#titles>button:hover,#titles>button.selected{background-color:#ffffff;border-top-color:#0089ff;}#titles>button>div.count{color:#888;}kbd{color:#000;background-color:#fafbfc;box-shadow:inset 0 -1px 0 #c6cbd1;}#settings-menu>a:hover,#settings-menu>a:focus,#help-button>button:hover,#help-button>button:focus{border-color:#717171;}#copy-path{color:#999;}#copy-path>img{filter:invert(50%);}#copy-path:hover>img{filter:invert(35%);}.search-results .result-name span.alias{color:#000;}.search-results .result-name span.grey{color:#999;}#source-sidebar div.files>a:hover,details.dir-entry summary:hover,#source-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:#E0E0E0;}#source-sidebar div.files>a.selected{background-color:#fff;}.scraped-example-list .scrape-help{border-color:#555;color:#333;}.scraped-example-list .scrape-help:hover{border-color:black;color:black;}.more-examples-toggle summary,.more-examples-toggle .hide-more{color:#999;}.scraped-example .example-wrap .rust span.highlight{background:#fcffd6;}.scraped-example .example-wrap .rust span.highlight.focus{background:#f6fdb0;}.scraped-example:not(.expanded) .code-wrapper:before{background:linear-gradient(to bottom,rgba(255,255,255,1),rgba(255,255,255,0));}.scraped-example:not(.expanded) .code-wrapper:after{background:linear-gradient(to top,rgba(255,255,255,1),rgba(255,255,255,0));}.toggle-line-inner{background:#ccc;}.toggle-line:hover .toggle-line-inner{background:#999;} \ No newline at end of file +:root{--main-background-color:white;--main-color:black;--settings-input-color:#2196f3;--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;--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);}.slider{background-color:#ccc;}.slider:before{background-color:white;}input:focus+.slider{box-shadow:0 0 0 2px #0a84ff,0 0 0 6px rgba(10,132,255,0.3);}.rust-logo{}.sidebar .current,.sidebar a:hover{background-color:#fff;}.line-numbers span{color:#c67e2d;}.line-numbers .line-highlighted{background-color:#FDFFD3 !important;}.search-results a:hover{background-color:#ddd;}.search-results a:focus{color:#000 !important;background-color:#ccc;}.search-results a:focus span{color:#000 !important;}a.result-trait:focus{background-color:#c7b6ff;}a.result-traitalias:focus{background-color:#c7b6ff;}a.result-mod:focus,a.result-externcrate:focus{background-color:#afc6e4;}a.result-enum:focus{background-color:#e7b1a0;}a.result-struct:focus{background-color:#e7b1a0;}a.result-union:focus{background-color:#e7b1a0;}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{background-color:#c6afb3;}a.result-type:focus{background-color:#e7b1a0;}a.result-associatedtype:focus{background-color:#afc6e4;}a.result-foreigntype:focus{background-color:#e7b1a0;}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{background-color:#8ce488;}a.result-constant:focus,a.result-static:focus{background-color:#afc6e4;}a.result-primitive:focus{background-color:#e7b1a0;}a.result-keyword:focus{background-color:#afc6e4;}.content .item-info::before{color:#ccc;}.content span.enum,.content a.enum,.block a.current.enum{color:#AD378A;}.content span.struct,.content a.struct,.block a.current.struct{color:#AD378A;}.content span.type,.content a.type,.block a.current.type{color:#AD378A;}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{color:#3873AD;}.content span.associatedtype,.content a.associatedtype,.block a.current.associatedtype{color:#3873AD;}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{color:#068000;}.content span.union,.content a.union,.block a.current.union{color:#AD378A;}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{color:#3873AD;}.content span.primitive,.content a.primitive,.block a.current.primitive{color:#AD378A;}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{color:#3873AD;}.content span.trait,.content a.trait,.block a.current.trait{color:#6E4FC9;}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{color:#5137AD;}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{color:#AD7C37;}.content span.keyword,.content a.keyword,.block a.current.keyword{color:#3873AD;}.sidebar a{color:#356da4;}.sidebar a.current.enum{color:#a63283;}.sidebar a.current.struct{color:#a63283;}.sidebar a.current.type{color:#a63283;}.sidebar a.current.associatedtype{color:#356da4;}.sidebar a.current.foreigntype{color:#356da4;}.sidebar a.current.attr,.sidebar a.current.derive,.sidebar a.current.macro{color:#067901;}.sidebar a.current.union{color:#a63283;}.sidebar a.current.constant .sidebar a.current.static{color:#356da4;}.sidebar a.current.primitive{color:#a63283;}.sidebar a.current.externcrate .sidebar a.current.mod{color:#356da4;}.sidebar a.current.trait{color:#6849c3;}.sidebar a.current.traitalias{color:#4b349e;}.sidebar a.current.fn,.sidebar a.current.method,.sidebar a.current.tymethod{color:#a67736;}.sidebar a.current.keyword{color:#356da4;}a{color:#3873AD;}body.source .example-wrap pre.rust a{background:#eee;}#crate-search-div::after{filter:invert(100%) sepia(0%) saturate(4223%) hue-rotate(289deg) brightness(114%) contrast(76%);}#crate-search:hover,#crate-search:focus{border-color:#717171 !important;}#crate-search-div:hover::after,#crate-search-div:focus-within::after{filter:invert(44%) sepia(18%) saturate(23%) hue-rotate(317deg) brightness(96%) contrast(93%);}.stab{background:#FFF5D6;border-color:#FFC600;}.stab.portability>code{background:none;}.line-numbers :target{background-color:transparent;}pre.rust .kw{color:#8959A8;}pre.rust .kw-2,pre.rust .prelude-ty{color:#4271AE;}pre.rust .number,pre.rust .string{color:#718C00;}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute{color:#C82829;}pre.rust .comment{color:#8E908C;}pre.rust .doccomment{color:#4D4D4C;}pre.rust .macro,pre.rust .macro-nonterminal{color:#3E999F;}pre.rust .lifetime{color:#B76514;}pre.rust .question-mark{color:#ff9011;}.example-wrap>pre.line-number{border-color:#c7c7c7;}a.test-arrow{color:#f5f5f5;background-color:rgba(78,139,202,0.2);}a.test-arrow:hover{background-color:#4e8bca;}:target{background:#FDFFD3;border-right:3px solid #AD7C37;}.search-failed a{color:#3873AD;}.tooltip::after{background-color:#000;color:#fff;}.tooltip::before{border-color:transparent black transparent transparent;}.notable-traits-tooltiptext{background-color:#eee;}#titles>button:not(.selected){background-color:#e6e6e6;border-top-color:#e6e6e6;}#titles>button:hover,#titles>button.selected{background-color:#ffffff;border-top-color:#0089ff;}#titles>button>div.count{color:#888;}kbd{color:#000;background-color:#fafbfc;box-shadow:inset 0 -1px 0 #c6cbd1;}#settings-menu>a:hover,#settings-menu>a:focus,#help-button>button:hover,#help-button>button:focus{border-color:#717171;}.search-results .result-name span.alias{color:#000;}.search-results .result-name span.grey{color:#999;}#source-sidebar div.files>a:hover,details.dir-entry summary:hover,#source-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:#E0E0E0;}#source-sidebar div.files>a.selected{background-color:#fff;}.scraped-example-list .scrape-help{border-color:#555;color:#333;}.scraped-example-list .scrape-help:hover{border-color:black;color:black;}.scraped-example .example-wrap .rust span.highlight{background:#fcffd6;}.scraped-example .example-wrap .rust span.highlight.focus{background:#f6fdb0;}.scraped-example:not(.expanded) .code-wrapper:before{background:linear-gradient(to bottom,rgba(255,255,255,1),rgba(255,255,255,0));}.scraped-example:not(.expanded) .code-wrapper:after{background:linear-gradient(to top,rgba(255,255,255,1),rgba(255,255,255,0));}.toggle-line-inner{background:#ccc;}.toggle-line:hover .toggle-line-inner{background:#999;} \ No newline at end of file diff --git a/main.js b/main.js index 3c9d070e2..2981663db 100644 --- a/main.js +++ b/main.js @@ -1,4 +1,4 @@ -"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}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()}}(function(){window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate")}());function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2.location");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 loadCss(cssFileName){const link=document.createElement("link");link.href=resourcePath(cssFileName,".css");link.type="text/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss("settings");loadScript(resourcePath("settings",".js"))};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},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},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(resourcePath("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){const search=searchState.outputElement();search.innerHTML="

    "+searchState.loadingText+"

    ";searchState.showResults(search);loadSearch()}},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(/^#/,"");if(tmp.length>0){return tmp}}return null}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()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}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();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hidePopoverMenus()}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"){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"+":case"-":ev.preventDefault();toggleAllDocs();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 div=document.createElement("div");div.className="block "+shortty;const h3=document.createElement("h3");h3.innerHTML=`${longty}`;div.appendChild(h3);const ul=document.createElement("ul");for(const item of filtered){const name=item[0];const desc=item[1];let klass=shortty;let path;if(shortty==="mod"){path=name+"/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("/").pop();if(path===current_page){klass+=" current"}const link=document.createElement("a");link.href=path;link.title=desc;link.className=klass;link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}div.appendChild(ul);sidebar.appendChild(div)}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 Definitions");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("h1.fqn > .in-band > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){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");addClass(code,"in-band");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){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 div=document.createElement("div");div.className="block crate";div.innerHTML="

    Crates

    ";const ul=document.createElement("ul");div.appendChild(ul);for(const crate of window.ALL_CRATES){let klass="crate";if(window.rootPath!=="./"&&crate===window.currentCrate){klass+=" current"}const link=document.createElement("a");link.href=window.rootPath+crate+"/index.html";link.className=klass;link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(div)}function labelForToggleButton(sectionIsCollapsed){if(sectionIsCollapsed){return"+"}return"\u2212"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}let sectionIsCollapsed=false;if(hasClass(innerToggle,"will-expand")){removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")){e.open=true}});innerToggle.title="collapse all docs"}else{addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});sectionIsCollapsed=true;innerToggle.title="expand all docs"}innerToggle.children[0].innerText=labelForToggleButton(sectionIsCollapsed)}(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("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());(function(){let lineNumbersFunc=()=>{};if(getSettingValue("line-numbers")==="true"){lineNumbersFunc=x=>{const count=x.textContent.split("\n").length;const elems=[];for(let i=0;i{if(hasClass(e,"compile_fail")){e.addEventListener("mouseover",function(){this.parentElement.previousElementSibling.childNodes[0].style.color="#f00"});e.addEventListener("mouseout",function(){this.parentElement.previousElementSibling.childNodes[0].style.color=""})}else if(hasClass(e,"ignore")){e.addEventListener("mouseover",function(){this.parentElement.previousElementSibling.childNodes[0].style.color="#ff9200"});e.addEventListener("mouseout",function(){this.parentElement.previousElementSibling.childNodes[0].style.color=""})}lineNumbersFunc(e)})}());let oldSidebarScrollPosition=null;function showSidebar(){if(window.innerWidth{if(window.innerWidth>=window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.getElementsByClassName("notable-traits-tooltiptext")[0].classList.toggle("force-tooltip")}});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");book_info.className="top";book_info.innerHTML="You can find more information in \ +"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}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()}}(function(){window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate")}());function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2.location");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 loadCss(cssFileName){const link=document.createElement("link");link.href=resourcePath(cssFileName,".css");link.type="text/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss("settings");loadScript(resourcePath("settings",".js"))};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},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},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(resourcePath("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){const search=searchState.outputElement();search.innerHTML="

    "+searchState.loadingText+"

    ";searchState.showResults(search);loadSearch()}},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(/^#/,"");if(tmp.length>0){return tmp}}return null}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()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}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();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hidePopoverMenus()}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"){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"+":case"-":ev.preventDefault();toggleAllDocs();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 div=document.createElement("div");div.className="block "+shortty;const h3=document.createElement("h3");h3.innerHTML=`${longty}`;div.appendChild(h3);const ul=document.createElement("ul");for(const item of filtered){const name=item[0];const desc=item[1];let klass=shortty;let path;if(shortty==="mod"){path=name+"/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("/").pop();if(path===current_page){klass+=" current"}const link=document.createElement("a");link.href=path;link.title=desc;link.className=klass;link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}div.appendChild(ul);sidebar.appendChild(div)}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 Definitions");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("h1.fqn > .in-band > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){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");addClass(code,"in-band");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){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 div=document.createElement("div");div.className="block crate";div.innerHTML="

    Crates

    ";const ul=document.createElement("ul");div.appendChild(ul);for(const crate of window.ALL_CRATES){let klass="crate";if(window.rootPath!=="./"&&crate===window.currentCrate){klass+=" current"}const link=document.createElement("a");link.href=window.rootPath+crate+"/index.html";link.className=klass;link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(div)}function labelForToggleButton(sectionIsCollapsed){if(sectionIsCollapsed){return"+"}return"\u2212"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}let sectionIsCollapsed=false;if(hasClass(innerToggle,"will-expand")){removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")){e.open=true}});innerToggle.title="collapse all docs"}else{addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});sectionIsCollapsed=true;innerToggle.title="expand all docs"}innerToggle.children[0].innerText=labelForToggleButton(sectionIsCollapsed)}(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("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());(function(){if(getSettingValue("line-numbers")==="true"){onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const count=x.textContent.split("\n").length;const elems=[];for(let i=0;i{if(window.innerWidth>=window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.getElementsByClassName("notable-traits-tooltiptext")[0].classList.toggle("force-tooltip")}});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");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=["Prefix searches with a type followed by a colon (e.g., fn:) to \ restrict the search to a given item kind.","Accepted kinds are: fn, mod, struct, \ enum, trait, type, macro, \ diff --git a/rustdoc.css b/rustdoc.css index 153b389d4..b81e37325 100644 --- a/rustdoc.css +++ b/rustdoc.css @@ -1 +1 @@ - @font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic.ttf.woff2") format("woff2");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}html{content:"";}@media (prefers-color-scheme:light){html{content:"light";}}@media (prefers-color-scheme:dark){html{content:"dark";}}body{font:1rem/1.5 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;overflow-wrap:break-word;overflow-wrap:anywhere;-webkit-font-feature-settings:"kern","liga";-moz-font-feature-settings:"kern","liga";font-feature-settings:"kern","liga";background-color:var(--main-background-color);color:var(--main-color);}h1{font-size:1.5rem;}h2{font-size:1.375rem;}h3{font-size:1.25rem;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:20px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}h1.fqn{margin:0;padding:0;border-bottom-color:var(--headings-border-bottom-color);}h2,h3,h4{border-bottom-color:var(--headings-border-bottom-color);}.main-heading{display:flex;flex-wrap:wrap;justify-content:space-between;padding-bottom:6px;margin-bottom:15px;}.main-heading a:hover{text-decoration:underline;}#toggle-all-docs{text-decoration:none;}h2,.top-doc .docblock>h3,.top-doc .docblock>h4{border-bottom:1px solid var(--headings-border-bottom-color);}h3.code-header{font-size:1.125rem;}h4.code-header{font-size:1rem;}.code-header{font-weight:600;border-bottom-style:none;margin:0;padding:0;margin-top:0.6em;margin-bottom:0.4em;}.impl,.impl-items .method,.methods .method,.impl-items .type,.methods .type,.impl-items .associatedconstant,.methods .associatedconstant,.impl-items .associatedtype,.methods .associatedtype{flex-basis:100%;font-weight:600;position:relative;}div.impl-items>div{padding-left:0;}h1,h2,h3,h4,h5,h6,.sidebar,.mobile-topbar,a.source,.search-input,.search-results .result-name,.content table td:first-child>a,.item-left>a,.out-of-band,span.since,#source-sidebar,#sidebar-toggle,details.rustdoc-toggle>summary::before,div.impl-items>div:not(.docblock):not(.item-info),.content ul.crate a.crate,a.srclink,#main-content>.since,#help-button>button,details.rustdoc-toggle.top-doc>summary,details.rustdoc-toggle.top-doc>summary::before,details.rustdoc-toggle.non-exhaustive>summary,details.rustdoc-toggle.non-exhaustive>summary::before,.scraped-example-title,.more-examples-toggle summary,.more-examples-toggle .hide-more,.example-links a,#main-content>ul.docblock>li>a{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}h1,h2,h3,h4,a#toggle-all-docs,a.anchor,.small-section-header a,#source-sidebar a,pre.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,.in-band a,.search-results a,.module-item .stab,.import-item .stab,.result-name .primitive>i,.result-name .keyword>i,.content .method .where,.content .fn .where,.content .where.fmt-newline{color:var(--main-color);}ol,ul{padding-left:24px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.625em;}p{margin:0 0 .75em 0;}summary{outline:none;}td,th{padding:0;}table{border-collapse:collapse;}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0;}button{padding:1px 6px;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.source main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}.source .width-limiter{max-width:unset;}details:not(.rustdoc-toggle) summary{margin-bottom:.6em;}code,pre,a.test-arrow,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.125em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;}.docblock.item-decl{margin-left:0;}.item-decl pre{overflow-x:auto;}.source .content pre{padding:20px;}img{max-width:100%;}li{position:relative;}.source .content{max-width:none;overflow:visible;margin-left:0px;}.sub-container{display:flex;flex-direction:row;flex-wrap:nowrap;}.sub-logo-container{display:none;margin-right:20px;}.source .sub-logo-container{display:block;}.source .sub-logo-container>img{height:60px;width:60px;object-fit:contain;}.sidebar,.mobile-topbar,.sidebar-menu-toggle{background-color:var(--sidebar-background-color);}.sidebar{font-size:0.875rem;width:250px;min-width:200px;overflow-y:scroll;position:sticky;height:100vh;top:0;left:0;}.sidebar-elems,.sidebar>.location{padding-left:24px;}.sidebar .location{overflow-wrap:anywhere;}.rustdoc.source .sidebar{width:50px;min-width:0px;max-width:300px;flex-grow:0;flex-shrink:0;flex-basis:auto;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;}.rustdoc.source .sidebar .sidebar-logo{display:none;}.source .sidebar,#sidebar-toggle,#source-sidebar{background-color:var(--sidebar-background-color);}#sidebar-toggle>button:hover,#sidebar-toggle>button:focus{background-color:var(--sidebar-background-color-hover);}.source .sidebar>*:not(#sidebar-toggle){opacity:0;visibility:hidden;}.source-sidebar-expanded .source .sidebar{overflow-y:auto;}.source-sidebar-expanded .source .sidebar>*:not(#sidebar-toggle){opacity:1;visibility:visible;}#all-types{margin-top:1em;}*{scrollbar-width:initial;scrollbar-color:var(--scrollbar-color);}.sidebar{scrollbar-width:thin;scrollbar-color:var(--scrollbar-color);}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;background-color:var(--scrollbar-track-background-color);}.sidebar::-webkit-scrollbar-track{background-color:var(--scrollbar-track-background-color);}::-webkit-scrollbar-thumb,.sidebar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-background-color);}.hidden{display:none !important;}.sidebar .logo-container{display:flex;margin-top:10px;margin-bottom:10px;justify-content:center;}.version{overflow-wrap:break-word;}.logo-container>img{height:100px;width:100px;}.location:empty{border:none;}.location a:first-of-type{font-weight:500;}.block{padding:0;}.block ul,.block li{padding:0;margin:0;list-style:none;}.block a,h2.location a{display:block;padding:0.25rem;margin-left:-0.25rem;text-overflow:ellipsis;overflow:hidden;}.sidebar h2{border-bottom:none;font-weight:500;padding:0;margin:0;margin-top:0.7rem;margin-bottom:0.7rem;}.sidebar h3{font-size:1.125rem;font-weight:500;padding:0;margin:0;}.sidebar-elems .block{margin-bottom:2em;}.sidebar-elems .block li a{white-space:nowrap;}.mobile-topbar{display:none;}.source .content pre.rust{white-space:pre;overflow:auto;padding-left:0;}.rustdoc .example-wrap{display:inline-flex;margin-bottom:10px;}.example-wrap{position:relative;width:100%;}.example-wrap>pre.line-number{overflow:initial;border:1px solid;padding:13px 8px;text-align:right;border-top-left-radius:5px;border-bottom-left-radius:5px;}.example-wrap>pre.rust a:hover{text-decoration:underline;}.line-numbers{text-align:right;}.rustdoc:not(.source) .example-wrap>pre:not(.line-number){width:100%;overflow-x:auto;}.rustdoc:not(.source) .example-wrap>pre.line-numbers{width:auto;overflow-x:visible;}.rustdoc .example-wrap>pre{margin:0;}#search{position:relative;}.search-loading{text-align:center;}#results>table{width:100%;table-layout:fixed;}.content>.example-wrap pre.line-numbers{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.line-numbers span{cursor:pointer;}.docblock-short{overflow-wrap:break-word;overflow-wrap:anywhere;}.docblock-short p{display:inline;overflow:hidden;text-overflow:ellipsis;margin:0;}.docblock>:not(pre)>code,.docblock-short>:not(pre)>code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.375rem;}.top-doc .docblock h3{font-size:1.25rem;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.125rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.875rem;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5,.docblock h6{border-bottom-color:var(--headings-border-bottom-color);}.docblock{margin-left:24px;position:relative;}.docblock>:not(.information):not(.more-examples-toggle){max-width:100%;overflow-x:auto;}.content .out-of-band{flex-grow:0;font-size:1.125rem;font-weight:normal;float:right;}.method>.code-header,.trait-impl>.code-header{max-width:calc(100% - 41px);display:block;}.content .in-band{flex-grow:1;margin:0px;padding:0px;overflow-wrap:break-word;overflow-wrap:anywhere;background-color:var(--main-background-color);}.in-band>code,.in-band>.code-header{display:inline-block;}.docblock code,.docblock-short code,pre,.rustdoc.source .example-wrap{background-color:var(--code-block-background-color);}#main-content{position:relative;}#main-content>.since{top:inherit;}.content table:not(.table-display){border-spacing:0 5px;}.content td{vertical-align:top;}.content td:first-child{padding-right:20px;}.content td p:first-child{margin-top:0;}.content td h1,.content td h2{margin-left:0;font-size:1.125rem;}.content tr:first-child td{border-top:0;}.docblock table{margin:.5em 0;width:calc(100% - 2px);overflow-x:auto;display:block;}.docblock table td{padding:.5em;border:1px dashed var(--border-color);}.docblock table th{padding:.5em;text-align:left;border:1px solid var(--border-color);}.content .item-list{list-style-type:none;padding:0;}.content>.methods>.method{font-size:1rem;position:relative;}.content .method .where,.content .fn .where,.content .where.fmt-newline{display:block;font-size:0.875rem;}.content .methods>div:not(.notable-traits):not(.method){margin-left:40px;margin-bottom:15px;}.content .docblock>.impl-items{margin-left:20px;margin-top:-34px;}.content .docblock>.impl-items .table-display{margin:0;}.content .docblock>.impl-items table td{padding:0;}.content .docblock>.impl-items .table-display{border:none;}.item-info{display:block;}.content .item-info code{font-size:0.875rem;}.content .item-info{position:relative;margin-left:24px;}.sub-variant>div>.item-info{margin-top:initial;}.content .impl-items .docblock,.content .impl-items .item-info{margin-bottom:.6em;}.content .impl-items>.item-info{margin-left:40px;}.methods>.item-info,.content .impl-items>.item-info{margin-top:-8px;}.impl-items{flex-basis:100%;}#main-content>.item-info{margin-top:0;margin-left:0;}nav.sub{position:relative;font-size:1rem;flex-grow:1;margin-bottom:25px;}.source nav.sub{margin-left:32px;}nav.sum{text-align:right;}nav.sub form{display:inline;}a{text-decoration:none;background:transparent;}.small-section-header{display:flex;justify-content:space-between;position:relative;}.small-section-header:hover>.anchor{display:initial;}.in-band:hover>.anchor,.impl:hover>.anchor,.method.trait-impl:hover>.anchor,.type.trait-impl:hover>.anchor,.associatedconstant.trait-impl:hover>.anchor,.associatedtype.trait-impl:hover>.anchor{display:inline-block;position:absolute;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-15px;padding-right:8px;}h2.small-section-header>.anchor{padding-right:6px;}.anchor::before{content:'§';}.docblock a:not(.srclink):not(.test-arrow):not(.scrape-help):hover,.docblock-short a:not(.srclink):not(.test-arrow):not(.scrape-help):hover,.item-info a{text-decoration:underline;}.block a.current.crate{font-weight:500;}table,.item-table{overflow-wrap:break-word;}.item-table{display:table;}.item-row{display:table-row;}.item-left,.item-right{display:table-cell;}.item-left{padding-right:1.25rem;}.search-container{position:relative;display:flex;height:34px;margin-top:4px;}.search-container>*{height:100%;}.search-results-title{margin-top:0;white-space:nowrap;display:inline-flex;max-width:100%;align-items:baseline;}#crate-search-div{display:inline-block;position:relative;min-width:5em;}#crate-search{min-width:115px;padding:0;padding-left:4px;padding-right:23px;max-width:100%;text-overflow:ellipsis;border:1px solid var(--border-color);border-radius:4px;outline:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;background-color:var(--main-background-color);}@-moz-document url-prefix(){#crate-search{padding-left:0px;padding-right:19px;}}#crate-search-div::after{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0;content:"";background-repeat:no-repeat;background-size:20px;background-position:calc(100% - 2px) 56%;background-image:url("down-arrow.svg");}#crate-search>option{font-size:1rem;}.search-input{-webkit-appearance:none;-moz-box-sizing:border-box !important;box-sizing:border-box !important;outline:none;border:1px solid var(--border-color);border-radius:2px;padding:8px;font-size:1rem;width:100%;background-color:var(--button-background-color);}.search-results{display:none;padding-bottom:2em;}.search-results.active{display:block;clear:both;}.search-results .desc>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;}.search-results>a{display:block;width:100%;margin-left:2px;margin-right:2px;border-bottom:1px solid #aaa3;}.search-results>a>div{display:flex;flex-flow:row wrap;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:50%;}.search-results .result-name{padding-right:1em;}.search-results .result-name>span{display:inline-block;margin:0;font-weight:normal;}.popover{font-size:1rem;position:absolute;right:0;z-index:2;display:block;margin-top:7px;border-radius:3px;border:1px solid var(--border-color);font-size:1rem;}.popover::before{content:'';position:absolute;right:11px;border:solid var(--border-color);border-width:1px 1px 0 0;display:inline-block;padding:4px;transform:rotate(-45deg);top:-5px;}.popover,.popover::before{background-color:var(--main-background-color);color:var(--main-color);}#help-button .popover{max-width:600px;}#help-button .popover::before{right:48px;}#help-button dt{float:left;clear:left;display:block;margin-right:0.5rem;}#help-button span.top,#help-button span.bottom{text-align:center;display:block;font-size:1.125rem;}#help-button span.top{text-align:center;display:block;margin:10px 0;border-bottom:1px solid var(--border-color);padding-bottom:4px;margin-bottom:6px;}#help-button span.bottom{clear:both;border-top:1px solid var(--border-color);}.side-by-side{text-align:initial;}.side-by-side>div{width:50%;float:left;padding:0 20px 20px 17px;}.item-info .stab{width:fit-content;min-height:36px;display:flex;align-items:center;white-space:pre-wrap;}.stab{padding:3px;margin-bottom:5px;font-size:0.875rem;font-weight:normal;}.stab p{display:inline;margin:0;}.stab .emoji{font-size:1.25rem;margin-right:0.3rem;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.module-item .stab,.import-item .stab{border-radius:3px;display:inline-block;font-size:0.875rem;line-height:1.2;margin-bottom:0;margin-left:0.3125em;padding:2px;vertical-align:text-bottom;}.module-item.unstable,.import-item.unstable{opacity:0.65;}.since{font-weight:normal;font-size:initial;}.rightside{padding-left:12px;padding-right:2px;position:initial;float:right;}.impl-items .srclink,.impl .srclink,.methods .srclink{font-weight:normal;font-size:1rem;}td.summary-column{width:100%;}.summary{padding-right:0px;}pre.rust .question-mark{font-weight:bold;}a.test-arrow{display:inline-block;visibility:hidden;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:1.375rem;top:5px;right:5px;z-index:1;}.example-wrap:hover .test-arrow{visibility:visible;}a.test-arrow:hover{text-decoration:none;}.code-attribute{font-weight:300;}.item-spacer{width:100%;height:12px;}.out-of-band>span.since{position:initial;font-size:1.25rem;}h3.variant{font-weight:600;font-size:1.125rem;margin-bottom:10px;border-bottom:none;}.sub-variant h4{font-size:1rem;font-weight:400;border-bottom:none;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}.toggle-label{display:inline-block;margin-left:4px;margin-top:3px;}:target>code,:target>.code-header{opacity:1;}:target{padding-right:3px;}.information{position:absolute;left:-25px;margin-top:7px;z-index:1;}.tooltip{position:relative;display:inline-block;cursor:pointer;}.tooltip::after{display:none;text-align:center;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;font-size:1rem;border:1px solid var(--border-color);}.tooltip.ignore::after{content:"This example is not tested";}.tooltip.compile_fail::after{content:"This example deliberately fails to compile";}.tooltip.should_panic::after{content:"This example panics";}.tooltip.edition::after{content:"This code runs with edition " attr(data-edition);}.tooltip::before{content:" ";position:absolute;top:50%;left:16px;margin-top:-5px;border-width:5px;border-style:solid;display:none;}.tooltip:hover::before,.tooltip:hover::after{display:inline;}.tooltip.compile_fail,.tooltip.should_panic,.tooltip.ignore{font-weight:bold;font-size:1.25rem;}.notable-traits-tooltip{display:inline-block;cursor:pointer;}.notable-traits:hover .notable-traits-tooltiptext,.notable-traits .notable-traits-tooltiptext.force-tooltip{display:inline-block;}.notable-traits .notable-traits-tooltiptext{display:none;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;z-index:10;font-size:1rem;cursor:default;position:absolute;border:1px solid;}.notable-traits-tooltip::after{content:"\00a0\00a0\00a0";}.notable-traits .notable,.notable-traits .docblock{margin:0;}.notable-traits .notable{margin:0;margin-bottom:13px;font-size:1.1875rem;font-weight:600;display:block;}.notable-traits .docblock code.content{margin:0;padding:0;font-size:1.25rem;}pre.rust.rust-example-rendered{position:relative;}pre.rust{tab-size:4;-moz-tab-size:4;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#titles{height:35px;}#titles>button{float:left;width:33.3%;text-align:center;font-size:1.125rem;cursor:pointer;border:0;border-top:2px solid;}#titles>button:first-child:last-child{margin-right:1px;width:calc(100% - 1px);}#titles>button:not(:last-child){margin-right:1px;width:calc(33.3% - 1px);}#titles>button>div.count{display:inline-block;font-size:1rem;}.notable-traits{cursor:pointer;z-index:2;margin-left:5px;}#sidebar-toggle{position:sticky;top:0;left:0;font-weight:bold;font-size:1.25rem;border-bottom:1px solid;display:flex;height:40px;justify-content:center;align-items:center;z-index:10;}#source-sidebar{width:100%;z-index:1;overflow:auto;}#source-sidebar>.title{font-size:1.5rem;text-align:center;border-bottom:1px solid var(--border-color);margin-bottom:6px;}#sidebar-toggle>button{background:none;color:inherit;cursor:pointer;text-align:center;border:none;outline:none;position:absolute;top:0;bottom:0;left:0;right:0;width:100%;-webkit-appearance:none;opacity:1;}#settings-menu,#help-button{margin-left:4px;outline:none;}#settings-menu>a,#help-button>button,#copy-path{padding:5px;width:33px;border:1px solid var(--border-color);border-radius:2px;cursor:pointer;}#settings-menu{padding:0;}#settings-menu>a,#help-button>button{padding:5px;height:100%;display:block;background-color:var(--button-background-color);}@keyframes rotating{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}#settings-menu.rotate>a img{animation:rotating 2s linear infinite;}.setting-line .radio-line input:checked{box-shadow:inset 0 0 0 3px var(--main-background-color);background-color:var(--settings-input-color);}.setting-line .radio-line input:focus{box-shadow:0 0 1px 1px var(--settings-input-color);}.setting-line .radio-line input:checked:focus{box-shadow:inset 0 0 0 3px var(--main-background-color),0 0 2px 2px var(--settings-input-color);}.setting-line .radio-line input:hover{border-color:var(--settings-input-color) !important;}input:checked+.slider{background-color:var(--settings-input-color);}#help-button>button{text-align:center;font-size:20px;padding-top:2px;}#copy-path{height:34px;background-color:var(--main-background-color);margin-left:10px;padding:0;padding-left:2px;border:0;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px var(--border-color);border-radius:3px;cursor:default;}#implementations-list>h3>span.in-band{width:100%;}.table-display{width:100%;border:0;border-collapse:collapse;border-spacing:0;font-size:1rem;}.table-display tr td:first-child{padding-right:0;}.table-display tr td:last-child{float:right;}.table-display .out-of-band{position:relative;font-size:1.125rem;display:block;}.table-display td:hover .anchor{display:block;top:2px;left:-5px;}#main-content>ul{padding-left:10px;}#main-content>ul>li{list-style:none;}.non-exhaustive{margin-bottom:1em;}details.dir-entry{padding-left:4px;}details.dir-entry>summary{margin:0 0 0 13px;list-style-position:outside;cursor:pointer;}details.dir-entry div.folders,details.dir-entry div.files{padding-left:23px;}details.dir-entry a{display:block;}details.rustdoc-toggle>summary.hideme{cursor:pointer;}details.rustdoc-toggle>summary{list-style:none;}details.rustdoc-toggle>summary::-webkit-details-marker,details.rustdoc-toggle>summary::marker{display:none;}details.rustdoc-toggle>summary.hideme>span{margin-left:9px;}details.rustdoc-toggle>summary::before{content:"";cursor:pointer;width:16px;height:16px;background-repeat:no-repeat;background-position:top left;display:inline-block;vertical-align:middle;opacity:.5;}details.rustdoc-toggle>summary::after{content:"Expand";overflow:hidden;width:0;height:0;position:absolute;}details.rustdoc-toggle>summary.hideme::after{content:"";}details.rustdoc-toggle>summary:focus::before,details.rustdoc-toggle>summary:hover::before{opacity:1;}details.rustdoc-toggle.top-doc>summary,details.rustdoc-toggle.top-doc>summary::before,details.rustdoc-toggle.non-exhaustive>summary,details.rustdoc-toggle.non-exhaustive>summary::before{font-size:1rem;}details.non-exhaustive{margin-bottom:8px;}details.rustdoc-toggle>summary.hideme::before{position:relative;}details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;left:-24px;top:4px;}.impl-items>details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;left:-24px;}details.rustdoc-toggle[open] >summary.hideme{position:absolute;}details.rustdoc-toggle{position:relative;}details.rustdoc-toggle[open] >summary.hideme>span{display:none;}details.rustdoc-toggle[open] >summary::before,details.rustdoc-toggle[open] >summary.hideme::before{background-image:url("toggle-minus.svg");}details.rustdoc-toggle>summary::before{background-image:url("toggle-plus.svg");}details.rustdoc-toggle[open] >summary::before,details.rustdoc-toggle[open] >summary.hideme::before{width:16px;height:16px;background-repeat:no-repeat;background-position:top left;display:inline-block;content:"";}details.rustdoc-toggle[open] >summary::after,details.rustdoc-toggle[open] >summary.hideme::after{content:"Collapse";}.docblock summary>*{display:inline-block;}@media (min-width:701px){.docblock>.information:first-child>.tooltip{margin-top:16px;}.source-sidebar-expanded .source .sidebar+main .width-limiter .sub-logo-container.rust-logo{display:none;}.source-sidebar-expanded .source .sidebar{width:300px;}}@media (max-width:700px){*[id]{scroll-margin-top:45px;}.rustdoc{padding-top:0px;display:block;}main{padding-left:15px;padding-top:0px;}.rustdoc,.main-heading{flex-direction:column;}.content .out-of-band{text-align:left;margin-left:initial;padding:initial;}.content .out-of-band .since::before{content:"Since ";}#copy-path{display:none;}.sidebar .sidebar-logo,.sidebar .location{display:none;}.sidebar{position:fixed;top:45px;left:-1000px;margin-left:0;margin:0;padding:0;z-index:11;height:calc(100vh - 45px);}.source main,.rustdoc.source .sidebar{top:0;padding:0;height:100vh;border:0;}.sidebar.shown,.source-sidebar-expanded .source .sidebar,.sidebar:focus-within{left:0;}.rustdoc.source>.sidebar{position:fixed;margin:0;z-index:11;width:0;}.mobile-topbar .location a{padding:0;margin:0;}.mobile-topbar .location{border:none;padding:0;margin:auto 0.5em auto auto;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:24px;}.mobile-topbar .logo-container{max-height:45px;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin-left:20px;margin-top:5px;margin-bottom:5px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.source .mobile-topbar{display:none;}.sidebar-menu-toggle{width:45px;font-size:32px;border:none;}.sidebar-elems{margin-top:1em;background-color:var(--sidebar-background-color);}.source nav:not(.sidebar).sub{margin-left:32px;}.content{margin-left:0px;}.source .content{margin-top:10px;}#search{margin-left:0;padding:0;}.anchor{display:none !important;}.notable-traits{position:absolute;left:-22px;top:24px;}#titles>button>div.count{float:left;width:100%;}#titles{height:50px;}#sidebar-filler{position:fixed;left:45px;width:calc(100% - 45px);top:0;height:45px;z-index:-1;border-bottom:1px solid;}#main-content>details.rustdoc-toggle>summary::before,#main-content>div>details.rustdoc-toggle>summary::before{left:-11px;}#sidebar-toggle{position:fixed;left:1px;top:100px;width:30px;font-size:1.5rem;text-align:center;padding:0;z-index:10;border-top-right-radius:3px;border-bottom-right-radius:3px;cursor:pointer;font-weight:bold;border:1px solid;border-left:0;}.source-sidebar-expanded #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;}#source-sidebar{z-index:11;}#main-content>.line-numbers{margin-top:0;}.notable-traits .notable-traits-tooltiptext{left:0;top:100%;}#help-button{display:none;}.item-table{display:block;}.item-row{display:flex;flex-flow:column wrap;}.item-left,.item-right{width:100%;}.search-results>a{border-bottom:1px solid #aaa9;padding:5px 0px;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:100%;}.search-results div.desc,.search-results .result-description,.item-right{padding-left:2em;}.source-sidebar-expanded .source .sidebar{max-width:100vw;width:100vw;}details.rustdoc-toggle:not(.top-doc)>summary{margin-left:10px;}.impl-items>details.rustdoc-toggle>summary:not(.hideme)::before,#main-content>details.rustdoc-toggle:not(.top-doc)>summary::before,#main-content>div>details.rustdoc-toggle>summary::before{left:-11px;}}@media print{nav.sidebar,nav.sub,.content .out-of-band,a.srclink,#copy-path,details.rustdoc-toggle[open] >summary::before,details.rustdoc-toggle>summary::before,details.rustdoc-toggle.top-doc>summary{display:none;}.docblock{margin-left:0;}main{padding:10px;}}@media (max-width:464px){#titles,#titles>button{height:73px;}#main-content>table:not(.table-display) td{word-break:break-word;width:50%;}#crate-search{border-radius:4px;}.docblock{margin-left:12px;}.docblock code{overflow-wrap:break-word;overflow-wrap:anywhere;}.sub-container{flex-direction:column;}.sub-logo-container{align-self:center;}.source .sub-logo-container>img{height:35px;width:35px;}#sidebar-toggle{top:10px;}.source-sidebar-expanded #sidebar-toggle{top:unset;}}.method-toggle summary,.implementors-toggle summary,.impl{margin-bottom:0.75em;}.method-toggle[open]{margin-bottom:2em;}.implementors-toggle[open]{margin-bottom:2em;}#trait-implementations-list .method-toggle,#synthetic-implementations-list .method-toggle,#blanket-implementations-list .method-toggle{margin-bottom:1em;}.scraped-example-list .scrape-help{margin-left:10px;padding:0 4px;font-weight:normal;font-size:12px;position:relative;bottom:1px;background:transparent;border-width:1px;border-style:solid;border-radius:50px;}.scraped-example .code-wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;}.scraped-example:not(.expanded) .code-wrapper{max-height:240px;}.scraped-example:not(.expanded) .code-wrapper pre{overflow-y:hidden;max-height:240px;padding-bottom:0;}.scraped-example:not(.expanded) .code-wrapper pre.line-numbers{overflow-x:hidden;}.scraped-example .code-wrapper .prev{position:absolute;top:0.25em;right:2.25em;z-index:100;cursor:pointer;}.scraped-example .code-wrapper .next{position:absolute;top:0.25em;right:1.25em;z-index:100;cursor:pointer;}.scraped-example .code-wrapper .expand{position:absolute;top:0.25em;right:0.25em;z-index:100;cursor:pointer;}.scraped-example:not(.expanded) .code-wrapper:before{content:" ";width:100%;height:5px;position:absolute;z-index:100;top:0;}.scraped-example:not(.expanded) .code-wrapper:after{content:" ";width:100%;height:5px;position:absolute;z-index:100;bottom:0;}.scraped-example .code-wrapper .line-numbers{margin:0;padding:14px 0;}.scraped-example .code-wrapper .line-numbers span{padding:0 14px;}.scraped-example .code-wrapper .example-wrap{flex:1;overflow-x:auto;overflow-y:hidden;margin-bottom:0;}.scraped-example:not(.expanded) .code-wrapper .example-wrap{overflow-x:hidden;}.scraped-example .code-wrapper .example-wrap pre.rust{overflow-x:inherit;width:inherit;overflow-y:hidden;}.more-examples-toggle{max-width:calc(100% + 25px);margin-top:10px;margin-left:-25px;}.more-examples-toggle .hide-more{margin-left:25px;margin-bottom:5px;cursor:pointer;}.more-scraped-examples{margin-left:5px;display:flex;flex-direction:row;}.more-scraped-examples-inner{width:calc(100% - 20px);}.toggle-line{align-self:stretch;margin-right:10px;margin-top:5px;padding:0 4px;cursor:pointer;}.toggle-line-inner{min-width:2px;height:100%;}.more-scraped-examples .scraped-example{margin-bottom:20px;}.more-scraped-examples .scraped-example:last-child{margin-bottom:0;}.example-links a{margin-top:20px;}.example-links ul{margin-bottom:0;} \ No newline at end of file + @font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic.ttf.woff2") format("woff2");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}html{content:"";}@media (prefers-color-scheme:light){html{content:"light";}}@media (prefers-color-scheme:dark){html{content:"dark";}}body{font:1rem/1.5 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;overflow-wrap:break-word;overflow-wrap:anywhere;-webkit-font-feature-settings:"kern","liga";-moz-font-feature-settings:"kern","liga";font-feature-settings:"kern","liga";background-color:var(--main-background-color);color:var(--main-color);}h1{font-size:1.5rem;}h2{font-size:1.375rem;}h3{font-size:1.25rem;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:20px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}h1.fqn{margin:0;padding:0;border-bottom-color:var(--headings-border-bottom-color);}h2,h3,h4{border-bottom-color:var(--headings-border-bottom-color);}.main-heading{display:flex;flex-wrap:wrap;justify-content:space-between;padding-bottom:6px;margin-bottom:15px;}.main-heading a:hover{text-decoration:underline;}#toggle-all-docs{text-decoration:none;}h2,.top-doc .docblock>h3,.top-doc .docblock>h4{border-bottom:1px solid var(--headings-border-bottom-color);}h3.code-header{font-size:1.125rem;}h4.code-header{font-size:1rem;}.code-header{font-weight:600;border-bottom-style:none;margin:0;padding:0;margin-top:0.6em;margin-bottom:0.4em;}.impl,.impl-items .method,.methods .method,.impl-items .type,.methods .type,.impl-items .associatedconstant,.methods .associatedconstant,.impl-items .associatedtype,.methods .associatedtype{flex-basis:100%;font-weight:600;position:relative;}h1,h2,h3,h4,h5,h6,.sidebar,.mobile-topbar,a.source,.search-input,.search-results .result-name,.item-left>a,.out-of-band,span.since,#source-sidebar,#sidebar-toggle,details.rustdoc-toggle>summary::before,.content ul.crate a.crate,a.srclink,#help-button>button,details.rustdoc-toggle.top-doc>summary,details.rustdoc-toggle.top-doc>summary::before,details.rustdoc-toggle.non-exhaustive>summary,details.rustdoc-toggle.non-exhaustive>summary::before,.scraped-example-title,.more-examples-toggle summary,.more-examples-toggle .hide-more,.example-links a,#main-content>ul.docblock>li>a{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}h1,h2,h3,h4,a#toggle-all-docs,a.anchor,.small-section-header a,#source-sidebar a,pre.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,.in-band a,.search-results a,.module-item .stab,.import-item .stab,.result-name .primitive>i,.result-name .keyword>i,.content .method .where,.content .fn .where,.content .where.fmt-newline{color:var(--main-color);}ol,ul{padding-left:24px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.625em;}p{margin:0 0 .75em 0;}summary{outline:none;}td,th{padding:0;}table{border-collapse:collapse;}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0;}button{padding:1px 6px;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.source main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}.source .width-limiter{max-width:unset;}details:not(.rustdoc-toggle) summary{margin-bottom:.6em;}code,pre,a.test-arrow,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.125em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;}.docblock.item-decl{margin-left:0;}.item-decl pre{overflow-x:auto;}.source .content pre{padding:20px;}img{max-width:100%;}.source .content{max-width:none;overflow:visible;margin-left:0px;}.sub-container{display:flex;flex-direction:row;flex-wrap:nowrap;}.sub-logo-container{display:none;margin-right:20px;}.source .sub-logo-container{display:block;}.source .sub-logo-container>img{height:60px;width:60px;object-fit:contain;}.sidebar,.mobile-topbar,.sidebar-menu-toggle{background-color:var(--sidebar-background-color);}.sidebar{font-size:0.875rem;width:250px;min-width:200px;overflow-y:scroll;position:sticky;height:100vh;top:0;left:0;}.sidebar-elems,.sidebar>.location{padding-left:24px;}.sidebar .location{overflow-wrap:anywhere;}.rustdoc.source .sidebar{width:50px;min-width:0px;max-width:300px;flex-grow:0;flex-shrink:0;flex-basis:auto;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;}.rustdoc.source .sidebar .sidebar-logo{display:none;}.source .sidebar,#sidebar-toggle,#source-sidebar{background-color:var(--sidebar-background-color);}#sidebar-toggle>button:hover,#sidebar-toggle>button:focus{background-color:var(--sidebar-background-color-hover);}.source .sidebar>*:not(#sidebar-toggle){opacity:0;visibility:hidden;}.source-sidebar-expanded .source .sidebar{overflow-y:auto;}.source-sidebar-expanded .source .sidebar>*:not(#sidebar-toggle){opacity:1;visibility:visible;}#all-types{margin-top:1em;}*{scrollbar-width:initial;scrollbar-color:var(--scrollbar-color);}.sidebar{scrollbar-width:thin;scrollbar-color:var(--scrollbar-color);}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;background-color:var(--scrollbar-track-background-color);}.sidebar::-webkit-scrollbar-track{background-color:var(--scrollbar-track-background-color);}::-webkit-scrollbar-thumb,.sidebar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-background-color);}.hidden{display:none !important;}.sidebar .logo-container{display:flex;margin-top:10px;margin-bottom:10px;justify-content:center;}.version{overflow-wrap:break-word;}.logo-container>img{height:100px;width:100px;}.location:empty{border:none;}.location a:first-of-type{font-weight:500;}.block{padding:0;}.block ul,.block li{padding:0;margin:0;list-style:none;}.block a,h2.location a{display:block;padding:0.25rem;margin-left:-0.25rem;text-overflow:ellipsis;overflow:hidden;}.sidebar h2{border-bottom:none;font-weight:500;padding:0;margin:0;margin-top:0.7rem;margin-bottom:0.7rem;}.sidebar h3{font-size:1.125rem;font-weight:500;padding:0;margin:0;}.sidebar-elems .block{margin-bottom:2em;}.sidebar-elems .block li a{white-space:nowrap;}.mobile-topbar{display:none;}.source .content pre.rust{white-space:pre;overflow:auto;padding-left:0;}.rustdoc .example-wrap{display:inline-flex;margin-bottom:10px;}.example-wrap{position:relative;width:100%;}.example-wrap>pre.line-number{overflow:initial;border:1px solid;padding:13px 8px;text-align:right;border-top-left-radius:5px;border-bottom-left-radius:5px;}.example-wrap>pre.rust a:hover{text-decoration:underline;}.line-numbers{text-align:right;}.rustdoc:not(.source) .example-wrap>pre:not(.line-number){width:100%;overflow-x:auto;}.rustdoc:not(.source) .example-wrap>pre.line-numbers{width:auto;overflow-x:visible;}.rustdoc .example-wrap>pre{margin:0;}#search{position:relative;}.search-loading{text-align:center;}.content>.example-wrap pre.line-numbers{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.line-numbers span{cursor:pointer;}.docblock-short{overflow-wrap:break-word;overflow-wrap:anywhere;}.docblock-short p{display:inline;overflow:hidden;text-overflow:ellipsis;margin:0;}.docblock>:not(pre)>code,.docblock-short>:not(pre)>code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.375rem;}.top-doc .docblock h3{font-size:1.25rem;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.125rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.875rem;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5,.docblock h6{border-bottom-color:var(--headings-border-bottom-color);}.docblock{margin-left:24px;position:relative;}.docblock>:not(.more-examples-toggle):not(.example-wrap){max-width:100%;overflow-x:auto;}.content .out-of-band{flex-grow:0;font-size:1.125rem;font-weight:normal;float:right;}.method>.code-header,.trait-impl>.code-header{max-width:calc(100% - 41px);display:block;}.content .in-band{flex-grow:1;margin:0px;padding:0px;overflow-wrap:break-word;overflow-wrap:anywhere;background-color:var(--main-background-color);}.in-band>code,.in-band>.code-header{display:inline-block;}.docblock code,.docblock-short code,pre,.rustdoc.source .example-wrap{background-color:var(--code-block-background-color);}#main-content{position:relative;}.content table{border-spacing:0 5px;}.content td{vertical-align:top;}.content td:first-child{padding-right:20px;}.content td p:first-child{margin-top:0;}.content td h1,.content td h2{margin-left:0;font-size:1.125rem;}.content tr:first-child td{border-top:0;}.docblock table{margin:.5em 0;width:calc(100% - 2px);overflow-x:auto;display:block;}.docblock table td{padding:.5em;border:1px dashed var(--border-color);}.docblock table th{padding:.5em;text-align:left;border:1px solid var(--border-color);}.content .item-list{list-style-type:none;padding:0;}.content>.methods>.method{font-size:1rem;position:relative;}.content .method .where,.content .fn .where,.content .where.fmt-newline{display:block;font-size:0.875rem;}.item-info{display:block;}.content .item-info code{font-size:0.875rem;}.content .item-info{position:relative;margin-left:24px;}.content .impl-items .docblock,.content .impl-items .item-info{margin-bottom:.6em;}#main-content>.item-info{margin-top:0;margin-left:0;}nav.sub{position:relative;font-size:1rem;flex-grow:1;margin-bottom:25px;}.source nav.sub{margin-left:32px;}nav.sum{text-align:right;}nav.sub form{display:inline;}a{text-decoration:none;background:transparent;}.small-section-header{display:flex;justify-content:space-between;position:relative;}.small-section-header:hover>.anchor{display:initial;}.in-band:hover>.anchor,.impl:hover>.anchor,.method.trait-impl:hover>.anchor,.type.trait-impl:hover>.anchor,.associatedconstant.trait-impl:hover>.anchor,.associatedtype.trait-impl:hover>.anchor{display:inline-block;position:absolute;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-15px;padding-right:8px;}h2.small-section-header>.anchor{padding-right:6px;}.anchor::before{content:'§';}.docblock a:not(.srclink):not(.test-arrow):not(.scrape-help):hover,.docblock-short a:not(.srclink):not(.test-arrow):not(.scrape-help):hover,.item-info a{text-decoration:underline;}.block a.current.crate{font-weight:500;}table,.item-table{overflow-wrap:break-word;}.item-table{display:table;}.item-row{display:table-row;}.item-left,.item-right{display:table-cell;}.item-left{padding-right:1.25rem;}.search-container{position:relative;display:flex;height:34px;margin-top:4px;}.search-container>*{height:100%;}.search-results-title{margin-top:0;white-space:nowrap;display:inline-flex;max-width:100%;align-items:baseline;}#crate-search-div{display:inline-block;position:relative;min-width:5em;}#crate-search{min-width:115px;padding:0;padding-left:4px;padding-right:23px;max-width:100%;text-overflow:ellipsis;border:1px solid var(--border-color);border-radius:4px;outline:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;background-color:var(--main-background-color);}@-moz-document url-prefix(){#crate-search{padding-left:0px;padding-right:19px;}}#crate-search-div::after{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0;content:"";background-repeat:no-repeat;background-size:20px;background-position:calc(100% - 2px) 56%;background-image:url("down-arrow.svg");}#crate-search>option{font-size:1rem;}.search-input{-webkit-appearance:none;-moz-box-sizing:border-box !important;box-sizing:border-box !important;outline:none;border:1px solid var(--border-color);border-radius:2px;padding:8px;font-size:1rem;width:100%;background-color:var(--button-background-color);}.search-input:focus{border-color:var(--search-input-focused-border-color);}.search-results{display:none;padding-bottom:2em;}.search-results.active{display:block;clear:both;}.search-results .desc>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;}.search-results>a{display:block;width:100%;margin-left:2px;margin-right:2px;border-bottom:1px solid #aaa3;}.search-results>a>div{display:flex;flex-flow:row wrap;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:50%;}.search-results .result-name{padding-right:1em;}.search-results .result-name>span{display:inline-block;margin:0;font-weight:normal;}.popover{font-size:1rem;position:absolute;right:0;z-index:2;display:block;margin-top:7px;border-radius:3px;border:1px solid var(--border-color);font-size:1rem;}.popover::before{content:'';position:absolute;right:11px;border:solid var(--border-color);border-width:1px 1px 0 0;display:inline-block;padding:4px;transform:rotate(-45deg);top:-5px;}.popover,.popover::before{background-color:var(--main-background-color);color:var(--main-color);}#help-button .popover{max-width:600px;}#help-button .popover::before{right:48px;}#help-button dt{float:left;clear:left;display:block;margin-right:0.5rem;}#help-button span.top,#help-button span.bottom{text-align:center;display:block;font-size:1.125rem;}#help-button span.top{text-align:center;display:block;margin:10px 0;border-bottom:1px solid var(--border-color);padding-bottom:4px;margin-bottom:6px;}#help-button span.bottom{clear:both;border-top:1px solid var(--border-color);}.side-by-side{text-align:initial;}.side-by-side>div{width:50%;float:left;padding:0 20px 20px 17px;}.item-info .stab{width:fit-content;min-height:36px;display:flex;align-items:center;white-space:pre-wrap;}.stab{padding:3px;margin-bottom:5px;font-size:0.875rem;font-weight:normal;}.stab p{display:inline;margin:0;}.stab .emoji{font-size:1.25rem;margin-right:0.3rem;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.module-item .stab,.import-item .stab{border-radius:3px;display:inline-block;font-size:0.875rem;line-height:1.2;margin-bottom:0;margin-left:0.3125em;padding:2px;vertical-align:text-bottom;}.module-item.unstable,.import-item.unstable{opacity:0.65;}.since{font-weight:normal;font-size:initial;}.rightside{padding-left:12px;padding-right:2px;position:initial;float:right;}.rightside:not(a),.out-of-band{color:var(--right-side-color);}.impl-items .srclink,.impl .srclink,.methods .srclink{font-weight:normal;font-size:1rem;}td.summary-column{width:100%;}.summary{padding-right:0px;}pre.rust .question-mark{font-weight:bold;}pre.compile_fail,pre.should_panic{border-left:2px solid var(--codeblock-error-color);}pre.ignore{border-left:2px solid var(--codeblock-ignore-color);}.example-wrap:hover pre.compile_fail,.example-wrap:hover pre.should_panic{border-left:2px solid var(--codeblock-error-hover-color);}.example-wrap:hover pre.ignore{border-left:2px solid var(--codeblock-ignore-hover-color);}.tooltip.compile_fail,.tooltip.should_panic{color:var(--codeblock-error-color);}.tooltip.ignore{color:var(--codeblock-ignore-color);}.example-wrap:hover .tooltip.compile_fail,.example-wrap:hover .tooltip.should_panic{color:var(--codeblock-error-hover-color);}.example-wrap:hover .tooltip.ignore{color:var(--codeblock-ignore-hover-color);}a.test-arrow{display:inline-block;visibility:hidden;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:1.375rem;top:5px;right:5px;z-index:1;}.example-wrap:hover .test-arrow{visibility:visible;}a.test-arrow:hover{text-decoration:none;}.code-attribute{font-weight:300;color:var(--code-attribute-color);}.item-spacer{width:100%;height:12px;}.out-of-band>span.since{position:initial;font-size:1.25rem;}h3.variant{font-weight:600;font-size:1.125rem;margin-bottom:10px;border-bottom:none;}.sub-variant h4{font-size:1rem;font-weight:400;border-bottom:none;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}:target>code,:target>.code-header{opacity:1;}:target{padding-right:3px;}.information{position:absolute;left:-25px;margin-top:7px;z-index:1;}.tooltip{position:relative;display:inline-block;cursor:pointer;}.tooltip::after{display:none;text-align:center;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;font-size:1rem;border:1px solid var(--border-color);}.tooltip.ignore::after{content:"This example is not tested";}.tooltip.compile_fail::after{content:"This example deliberately fails to compile";}.tooltip.should_panic::after{content:"This example panics";}.tooltip.edition::after{content:"This code runs with edition " attr(data-edition);}.tooltip::before{content:" ";position:absolute;top:50%;left:16px;margin-top:-5px;border-width:5px;border-style:solid;display:none;}.tooltip:hover::before,.tooltip:hover::after{display:inline;}.tooltip.compile_fail,.tooltip.should_panic,.tooltip.ignore{font-weight:bold;font-size:1.25rem;}.notable-traits-tooltip{display:inline-block;cursor:pointer;}.notable-traits:hover .notable-traits-tooltiptext,.notable-traits .notable-traits-tooltiptext.force-tooltip{display:inline-block;}.notable-traits .notable-traits-tooltiptext{display:none;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;z-index:10;font-size:1rem;cursor:default;position:absolute;border:1px solid;}.notable-traits-tooltip::after{content:"\00a0\00a0\00a0";}.notable-traits .notable,.notable-traits .docblock{margin:0;}.notable-traits .notable{margin:0;margin-bottom:13px;font-size:1.1875rem;font-weight:600;display:block;}.notable-traits .docblock code.content{margin:0;padding:0;font-size:1.25rem;}pre.rust.rust-example-rendered{position:relative;}pre.rust{tab-size:4;-moz-tab-size:4;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#titles{height:35px;}#titles>button{float:left;width:33.3%;text-align:center;font-size:1.125rem;cursor:pointer;border:0;border-top:2px solid;}#titles>button:first-child:last-child{margin-right:1px;width:calc(100% - 1px);}#titles>button:not(:last-child){margin-right:1px;width:calc(33.3% - 1px);}#titles>button>div.count{display:inline-block;font-size:1rem;}.notable-traits{cursor:pointer;z-index:2;margin-left:5px;}#sidebar-toggle{position:sticky;top:0;left:0;font-weight:bold;font-size:1.25rem;border-bottom:1px solid;display:flex;height:40px;justify-content:center;align-items:center;z-index:10;}#source-sidebar{width:100%;z-index:1;overflow:auto;}#source-sidebar>.title{font-size:1.5rem;text-align:center;border-bottom:1px solid var(--border-color);margin-bottom:6px;}#sidebar-toggle>button{background:none;color:inherit;cursor:pointer;text-align:center;border:none;outline:none;position:absolute;top:0;bottom:0;left:0;right:0;width:100%;-webkit-appearance:none;opacity:1;}#settings-menu,#help-button{margin-left:4px;outline:none;}#settings-menu>a,#help-button>button,#copy-path{padding:5px;width:33px;border:1px solid var(--border-color);border-radius:2px;cursor:pointer;}#settings-menu>a,#help-button>button{padding:5px;height:100%;display:block;background-color:var(--button-background-color);}#copy-path{color:var(--copy-path-button-color);}#copy-path>img{filter:var(--copy-path-img-filter);}#copy-path:hover>img{filter:var(--copy-path-img-hover-filter);}@keyframes rotating{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}#settings-menu.rotate>a img{animation:rotating 2s linear infinite;}.setting-line .radio-line input:checked{box-shadow:inset 0 0 0 3px var(--main-background-color);background-color:var(--settings-input-color);}.setting-line .radio-line input:focus{box-shadow:0 0 1px 1px var(--settings-input-color);}.setting-line .radio-line input:checked:focus{box-shadow:inset 0 0 0 3px var(--main-background-color),0 0 2px 2px var(--settings-input-color);}.setting-line .radio-line input:hover{border-color:var(--settings-input-color) !important;}input:checked+.slider{background-color:var(--settings-input-color);}#help-button>button{text-align:center;font-size:20px;padding-top:2px;}#copy-path{height:34px;background-color:var(--main-background-color);margin-left:10px;padding:0;padding-left:2px;border:0;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px var(--border-color);border-radius:3px;cursor:default;}#main-content>ul{padding-left:10px;}#main-content>ul>li{list-style:none;}.non-exhaustive{margin-bottom:1em;}details.dir-entry{padding-left:4px;}details.dir-entry>summary{margin:0 0 0 13px;list-style-position:outside;cursor:pointer;}details.dir-entry div.folders,details.dir-entry div.files{padding-left:23px;}details.dir-entry a{display:block;}details.rustdoc-toggle>summary.hideme{cursor:pointer;}details.rustdoc-toggle>summary{list-style:none;}details.rustdoc-toggle>summary::-webkit-details-marker,details.rustdoc-toggle>summary::marker{display:none;}details.rustdoc-toggle>summary.hideme>span{margin-left:9px;}details.rustdoc-toggle>summary::before{content:"";cursor:pointer;width:16px;height:16px;background-repeat:no-repeat;background-position:top left;display:inline-block;vertical-align:middle;opacity:.5;}details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before,.more-examples-toggle summary,.more-examples-toggle .hide-more{color:var(--toggles-color);}details.rustdoc-toggle>summary::after{content:"Expand";overflow:hidden;width:0;height:0;position:absolute;}details.rustdoc-toggle>summary.hideme::after{content:"";}details.rustdoc-toggle>summary:focus::before,details.rustdoc-toggle>summary:hover::before{opacity:1;}details.rustdoc-toggle.top-doc>summary,details.rustdoc-toggle.top-doc>summary::before,details.rustdoc-toggle.non-exhaustive>summary,details.rustdoc-toggle.non-exhaustive>summary::before{font-size:1rem;}details.non-exhaustive{margin-bottom:8px;}details.rustdoc-toggle>summary.hideme::before{position:relative;}details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;left:-24px;top:4px;}.impl-items>details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;left:-24px;}details.rustdoc-toggle[open] >summary.hideme{position:absolute;}details.rustdoc-toggle{position:relative;}details.rustdoc-toggle[open] >summary.hideme>span{display:none;}details.rustdoc-toggle[open] >summary::before,details.rustdoc-toggle[open] >summary.hideme::before{background-image:url("toggle-minus.svg");}details.rustdoc-toggle>summary::before{background-image:url("toggle-plus.svg");}details.rustdoc-toggle[open] >summary::before,details.rustdoc-toggle[open] >summary.hideme::before{width:16px;height:16px;background-repeat:no-repeat;background-position:top left;display:inline-block;content:"";}details.rustdoc-toggle[open] >summary::after,details.rustdoc-toggle[open] >summary.hideme::after{content:"Collapse";}.docblock summary>*{display:inline-block;}@media (min-width:701px){.docblock>.example-wrap:first-child>.information>.tooltip{margin-top:16px;}.source-sidebar-expanded .source .sidebar+main .width-limiter .sub-logo-container.rust-logo{display:none;}.source-sidebar-expanded .source .sidebar{width:300px;}}@media (max-width:700px){*[id]{scroll-margin-top:45px;}.rustdoc{padding-top:0px;display:block;}main{padding-left:15px;padding-top:0px;}.main-heading{flex-direction:column;}.content .out-of-band{text-align:left;margin-left:initial;padding:initial;}.content .out-of-band .since::before{content:"Since ";}#copy-path{display:none;}.sidebar .sidebar-logo,.sidebar .location{display:none;}.sidebar{position:fixed;top:45px;left:-1000px;margin-left:0;margin:0;padding:0;z-index:11;height:calc(100vh - 45px);}.source main,.rustdoc.source .sidebar{top:0;padding:0;height:100vh;border:0;}.sidebar.shown,.source-sidebar-expanded .source .sidebar,.sidebar:focus-within{left:0;}.rustdoc.source>.sidebar{position:fixed;margin:0;z-index:11;width:0;}.mobile-topbar .location a{padding:0;margin:0;}.mobile-topbar .location{border:none;padding:0;margin:auto 0.5em auto auto;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:24px;}.mobile-topbar .logo-container{max-height:45px;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin-left:20px;margin-top:5px;margin-bottom:5px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.source .mobile-topbar{display:none;}.sidebar-menu-toggle{width:45px;font-size:32px;border:none;}.sidebar-elems{margin-top:1em;background-color:var(--sidebar-background-color);}.content{margin-left:0px;}.source .content{margin-top:10px;}#search{margin-left:0;padding:0;}.anchor{display:none !important;}.notable-traits{position:absolute;left:-22px;top:24px;}#titles>button>div.count{float:left;width:100%;}#titles{height:50px;}#sidebar-filler{position:fixed;left:45px;width:calc(100% - 45px);top:0;height:45px;z-index:-1;border-bottom:1px solid;}#main-content>details.rustdoc-toggle>summary::before,#main-content>div>details.rustdoc-toggle>summary::before{left:-11px;}#sidebar-toggle{position:fixed;left:1px;top:100px;width:30px;font-size:1.5rem;text-align:center;padding:0;z-index:10;border-top-right-radius:3px;border-bottom-right-radius:3px;cursor:pointer;font-weight:bold;border:1px solid;border-left:0;}.source-sidebar-expanded #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;}#source-sidebar{z-index:11;}#main-content>.line-numbers{margin-top:0;}.notable-traits .notable-traits-tooltiptext{left:0;top:100%;}#help-button{display:none;}.item-table{display:block;}.item-row{display:flex;flex-flow:column wrap;}.item-left,.item-right{width:100%;}.search-results>a{border-bottom:1px solid #aaa9;padding:5px 0px;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:100%;}.search-results div.desc,.search-results .result-description,.item-right{padding-left:2em;}.source-sidebar-expanded .source .sidebar{max-width:100vw;width:100vw;}details.rustdoc-toggle:not(.top-doc)>summary{margin-left:10px;}.impl-items>details.rustdoc-toggle>summary:not(.hideme)::before,#main-content>details.rustdoc-toggle:not(.top-doc)>summary::before,#main-content>div>details.rustdoc-toggle>summary::before{left:-11px;}.content .impl-items>.item-info{margin-left:34px;}}@media print{nav.sidebar,nav.sub,.content .out-of-band,a.srclink,#copy-path,details.rustdoc-toggle[open] >summary::before,details.rustdoc-toggle>summary::before,details.rustdoc-toggle.top-doc>summary{display:none;}.docblock{margin-left:0;}main{padding:10px;}}@media (max-width:464px){#titles,#titles>button{height:73px;}#crate-search{border-radius:4px;}.docblock{margin-left:12px;}.docblock code{overflow-wrap:break-word;overflow-wrap:anywhere;}.sub-container{flex-direction:column;}.sub-logo-container{align-self:center;}.source .sub-logo-container>img{height:35px;width:35px;}#sidebar-toggle{top:10px;}.source-sidebar-expanded #sidebar-toggle{top:unset;}}.method-toggle summary,.implementors-toggle summary,.impl{margin-bottom:0.75em;}.method-toggle[open]{margin-bottom:2em;}.implementors-toggle[open]{margin-bottom:2em;}#trait-implementations-list .method-toggle,#synthetic-implementations-list .method-toggle,#blanket-implementations-list .method-toggle{margin-bottom:1em;}.scraped-example-list .scrape-help{margin-left:10px;padding:0 4px;font-weight:normal;font-size:12px;position:relative;bottom:1px;background:transparent;border-width:1px;border-style:solid;border-radius:50px;}.scraped-example .code-wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;}.scraped-example:not(.expanded) .code-wrapper{max-height:240px;}.scraped-example:not(.expanded) .code-wrapper pre{overflow-y:hidden;max-height:240px;padding-bottom:0;}.scraped-example:not(.expanded) .code-wrapper pre.line-numbers{overflow-x:hidden;}.scraped-example .code-wrapper .prev{position:absolute;top:0.25em;right:2.25em;z-index:100;cursor:pointer;}.scraped-example .code-wrapper .next{position:absolute;top:0.25em;right:1.25em;z-index:100;cursor:pointer;}.scraped-example .code-wrapper .expand{position:absolute;top:0.25em;right:0.25em;z-index:100;cursor:pointer;}.scraped-example:not(.expanded) .code-wrapper:before{content:" ";width:100%;height:5px;position:absolute;z-index:100;top:0;}.scraped-example:not(.expanded) .code-wrapper:after{content:" ";width:100%;height:5px;position:absolute;z-index:100;bottom:0;}.scraped-example .code-wrapper .line-numbers{margin:0;padding:14px 0;}.scraped-example .code-wrapper .line-numbers span{padding:0 14px;}.scraped-example .code-wrapper .example-wrap{flex:1;overflow-x:auto;overflow-y:hidden;margin-bottom:0;}.scraped-example:not(.expanded) .code-wrapper .example-wrap{overflow-x:hidden;}.scraped-example .code-wrapper .example-wrap pre.rust{overflow-x:inherit;width:inherit;overflow-y:hidden;}.more-examples-toggle{max-width:calc(100% + 25px);margin-top:10px;margin-left:-25px;}.more-examples-toggle .hide-more{margin-left:25px;margin-bottom:5px;cursor:pointer;}.more-scraped-examples{margin-left:5px;display:flex;flex-direction:row;}.more-scraped-examples-inner{width:calc(100% - 20px);}.toggle-line{align-self:stretch;margin-right:10px;margin-top:5px;padding:0 4px;cursor:pointer;}.toggle-line-inner{min-width:2px;height:100%;}.more-scraped-examples .scraped-example{margin-bottom:20px;}.more-scraped-examples .scraped-example:last-child{margin-bottom:0;}.example-links a{margin-top:20px;}.example-links ul{margin-bottom:0;} \ No newline at end of file diff --git a/search-index.js b/search-index.js index 096d86c63..c08f5b0fd 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":[13,13,3,4,13,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11],"n":["BadRequestHeaders","BadRequestMethod","Cors","CorsError","HeadersNotAllowed","MethodNotAllowed","MissingOrigin","MissingRequestMethod","OriginNotAllowed","WildcardOrigin","allow_any_header","allow_any_method","allow_any_origin","allowed_header","allowed_headers","allowed_methods","allowed_origin","allowed_origin_fn","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","provide","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":["actix_cors","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"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 …","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 …","","","","","","","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":[3,3,0,0,3,3,3,3,3,3,1,1,1,1,1,1,1,1,1,3,1,3,3,3,1,1,1,3,1,1,1,3,3,1,3,1,3,1,1,1,3,1,3,1,3,3,1,3,1,3,1,3,1,3],"f":[0,0,0,0,0,0,0,0,0,0,[1,1],[1,1],[1,1],[1,1],[1,1],[1,1],[[1,2],1],[1,1],[[]],[[]],[[]],[[]],[3,3],[[]],[[],1],[1,1],[1,1],[3,4],[1,1],[1,1],[[1,5],6],[[3,5],6],[[3,5],6],[[]],[[]],[[]],[[]],[[1,[9,[[8,[7]]]]],1],[1],[[],1],[10],[1,1],[3,11],[1,1],[[]],[[],12],[[],13],[[],13],[[],13],[[],13],[[],14],[[],14],[[]],[[]]],"p":[[3,"Cors"],[15,"str"],[4,"CorsError"],[3,"HttpResponse"],[3,"Formatter"],[6,"Result"],[15,"usize"],[4,"Option"],[8,"Into"],[3,"Demand"],[3,"StatusCode"],[3,"String"],[4,"Result"],[3,"TypeId"]]},\ "actix_identity":{"doc":"Identity management for Actix Web.","t":[3,8,3,11,11,11,11,11,11,11,0,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,3,4,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11],"n":["Identity","IdentityExt","IdentityMiddleware","borrow","borrow","borrow_mut","borrow_mut","builder","clone","clone_into","config","default","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"],"q":["actix_identity","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_identity::config","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"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 …","","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 …","",""],"i":[0,0,0,5,2,5,2,2,2,2,0,2,5,2,5,16,5,5,2,5,5,2,2,5,2,5,2,5,2,5,2,11,0,0,11,11,1,11,1,1,11,1,11,1,11,1,11,1,11,1,1,1,11,1,11,1,11,1,11,1,1,11,1],"f":[0,0,0,[[]],[[]],[[]],[[]],[[],1],[2,2],[[]],0,[[],2],[[]],[[]],[[3,4]],[[],[[7,[5,6]]]],[5,[[7,[8,6]]]],[[]],[[]],[[9,8],[[7,[5,6]]]],[5],[2],[[]],[[],7],[[],7],[[],7],[[],7],[[],10],[[],10],[[]],[[]],0,0,0,0,[[]],[[]],[[]],[[]],[1,2],[11,11],[1,1],[[]],[[]],[[11,12],13],[[1,12],13],[[]],[[]],[[]],[[]],[[1,[15,[14]]],1],[[1,11],1],[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],10],[[],10],[[1,[15,[14]]],1],[[]],[[]]],"p":[[3,"IdentityMiddlewareBuilder"],[3,"IdentityMiddleware"],[3,"HttpRequest"],[4,"Payload"],[3,"Identity"],[3,"Error"],[4,"Result"],[3,"String"],[3,"Extensions"],[3,"TypeId"],[4,"LogoutBehaviour"],[3,"Formatter"],[6,"Result"],[3,"Duration"],[4,"Option"],[8,"IdentityExt"]]},\ -"actix_limitation":{"doc":"Rate limiter using a fixed window counter for arbitrary …","t":[3,13,17,17,17,17,4,13,3,13,3,3,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12],"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","limit","limit","new_transform","period","provide","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","0","0","0","0"],"q":["actix_limitation","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_limitation::Error","","",""],"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.","","","","","Set 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).","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 …","Set session key to be used in backend.","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,3,0,0,0,0,0,3,0,3,0,0,3,1,3,11,7,2,1,3,11,7,2,1,2,7,2,7,2,1,2,11,1,3,3,11,7,2,1,3,3,3,11,7,2,1,3,11,7,2,1,7,11,1,3,7,7,1,3,7,2,3,1,3,11,7,2,1,3,11,7,2,1,3,11,7,2,1,3,11,7,2,22,23,24,25],"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]]],10],[[],11],[[1,12],13],[[3,12],13],[[3,12],13],[[11,12],13],[[7,12],13],[[2,12],13],[[]],[14,3],[15,3],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[1,16],1],[7,16],[11],[[1,17],1],[18],[7,16],[7,16],[[1,[6,[[9,[8]]]]],1],[3,[[20,[19]]]],[[]],[[]],[[],5],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],21],[[],21],[[],21],[[],21],[[],21],[[]],[[]],[[]],[[]],[[]],0,0,0,0],"p":[[3,"Builder"],[3,"Limiter"],[4,"Error"],[4,"Result"],[3,"String"],[8,"Into"],[3,"Status"],[15,"str"],[4,"Cow"],[8,"Future"],[3,"RateLimiter"],[3,"Formatter"],[6,"Result"],[3,"ComponentRange"],[3,"RedisError"],[15,"usize"],[3,"Duration"],[3,"Demand"],[8,"Error"],[4,"Option"],[3,"TypeId"],[13,"Client"],[13,"LimitExceeded"],[13,"Time"],[13,"Other"]]},\ -"actix_protobuf":{"doc":"Protobuf payload extractor for Actix Web.","t":[12,13,13,13,13,3,3,3,4,8,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12],"n":["0","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","0","0","0"],"q":["actix_protobuf","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_protobuf::ProtoBufPayloadError","",""],"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":[3,4,4,4,4,0,0,0,0,0,4,3,1,14,4,3,1,14,4,1,3,3,4,3,3,4,4,3,1,14,4,4,4,3,3,1,14,4,14,1,14,14,14,23,3,3,3,4,3,1,14,4,3,1,14,4,14,3,1,14,4,3,1,14,4,24,25,26],"f":[0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],1],[[[3,[2]]]],[[[3,[2]]]],[4,5],[[[3,[2]],6],7],[[[3,[2]],6],7],[[4,6],7],[[4,6],7],[[]],[[]],[[]],[8,4],[9,4],[[]],[[10,11]],[[]],[[]],[[]],[[]],[[]],[[1,12],1],[[[14,[[0,[2,13]]]],12],[[14,[[0,[2,13]]]]]],[[10,11],[[14,[[0,[2,13]]]]]],[[[15,[[14,[[0,[2,13]]]]]],16],17],[2,[[19,[5,18]]]],[[],20],[[[3,[[0,[2,13]]]],10],5],[[],21],[[],21],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[15,16],17],[[],22],[[],22],[[],22],[[],22],[[]],[[]],[[]],[[]],0,0,0],"p":[[3,"ProtoBufConfig"],[8,"Message"],[3,"ProtoBuf"],[4,"ProtoBufPayloadError"],[3,"HttpResponse"],[3,"Formatter"],[6,"Result"],[4,"PayloadError"],[3,"DecodeError"],[3,"HttpRequest"],[4,"Payload"],[15,"usize"],[8,"Default"],[3,"ProtoBufMessage"],[3,"Pin"],[3,"Context"],[4,"Poll"],[3,"Error"],[4,"Result"],[3,"Path"],[3,"String"],[3,"TypeId"],[8,"ProtoBufResponseBuilder"],[13,"Serialize"],[13,"Deserialize"],[13,"Payload"]]},\ -"actix_redis":{"doc":"Redis integration for actix.","t":[12,13,13,3,13,13,4,13,13,13,13,13,13,13,3,13,13,4,4,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,14,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12],"n":["0","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_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","provide","provide","push","resp_array","restarting","source","source","start","started","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","0","0","0","0","0","0","0","1","0","0","0","0","0"],"q":["actix_redis","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_redis::Error","actix_redis::RespError","","","","","","","actix_redis::RespValue","","","",""],"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":[7,1,1,0,13,10,0,1,13,1,13,1,10,10,0,13,13,0,0,1,13,1,4,7,10,1,13,4,7,10,1,13,1,1,1,1,4,7,10,10,1,13,13,4,7,10,10,1,1,1,1,1,1,1,1,13,13,13,1,4,4,4,7,10,1,13,10,13,1,0,4,10,13,4,4,1,10,13,4,7,10,1,13,4,7,10,1,13,4,7,10,1,13,4,7,10,1,13,29,30,31,32,33,34,35,32,36,37,38,39,40],"f":[0,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],[[]],[[1,1],3],[[],3],[[4,5],6],[[7,8],9],[[10,8],9],[[10,8],9],[[1,8],[[12,[11]]]],[[13,8],[[12,[11]]]],[[13,8],[[12,[11]]]],[[]],[[]],[13,10],[[]],[[],1],[14,1],[14,1],[[]],[[[16,[15]]],1],[15,1],[[[19,[17,18]]],1],[20,1],[[]],[21,13],[5,13],[1,[[12,[1,13]]]],[[4,[12,[1,13]]]],[[4,7]],[[]],[[]],[[]],[[]],[[]],[22],[22],[1],0,[4],[10,[[24,[23]]]],[13,[[24,[23]]]],[[[25,[14]]],[[26,[4]]]],[[4,27]],[[]],[[],14],[[],14],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],28],[[],28],[[],28],[[],28],[[],28],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0],"p":[[4,"RespValue"],[8,"IntoIterator"],[15,"bool"],[3,"RedisActor"],[3,"Error"],[4,"Running"],[3,"Command"],[3,"Formatter"],[6,"Result"],[4,"Error"],[3,"Error"],[4,"Result"],[4,"RespError"],[3,"String"],[15,"str"],[3,"Arc"],[15,"u8"],[3,"Global"],[3,"Vec"],[15,"usize"],[3,"TrySendError"],[3,"Demand"],[8,"Error"],[4,"Option"],[8,"Into"],[3,"Addr"],[3,"Context"],[3,"TypeId"],[13,"Redis"],[13,"Internal"],[13,"IO"],[13,"Resp"],[13,"Remote"],[13,"Connection"],[13,"Unexpected"],[13,"Array"],[13,"BulkString"],[13,"Error"],[13,"Integer"],[13,"SimpleString"]]},\ -"actix_session":{"doc":"Session management for Actix Web.","t":[13,13,13,3,8,3,3,3,4,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,13,4,13,13,3,13,13,4,3,13,4,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,3,13,4,13,13,13,3,3,3,3,4,13,13,3,8,4,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12],"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","provide","provide","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","0","0","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","provide","provide","provide","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","0","0","0","0","0","0"],"q":["actix_session","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_session::config","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_session::config::SessionLifecycle","","actix_session::storage","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_session::storage::LoadError","","actix_session::storage::SaveError","","actix_session::storage::UpdateError",""],"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,49,4,6,4,7,12,15,6,6,12,15,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,30,0,33,33,0,30,34,0,0,34,0,3,30,31,32,33,34,3,30,31,32,33,34,3,30,31,32,33,34,30,31,32,33,34,3,3,3,3,3,3,3,31,32,30,31,32,33,34,3,30,30,30,31,32,33,34,3,30,31,32,33,34,3,32,32,31,31,30,31,32,33,34,3,30,31,32,33,34,3,30,31,32,33,34,3,30,31,32,33,34,3,30,31,32,33,34,50,51,0,46,0,46,47,48,0,0,0,0,0,47,48,0,0,0,37,39,38,40,46,47,48,37,43,42,39,38,40,46,47,48,37,43,42,38,40,39,42,38,40,42,42,43,1,39,43,42,37,37,46,46,47,47,48,48,37,39,38,40,46,47,48,37,43,42,39,38,40,46,47,48,37,43,42,1,39,43,42,39,42,46,47,48,1,39,43,42,46,47,48,42,46,47,48,39,38,40,46,47,48,37,37,43,42,39,38,40,46,47,48,37,43,42,39,38,40,46,47,48,37,43,42,1,39,43,42,1,39,43,42,39,38,40,46,47,48,37,43,42,52,53,54,55,56,57],"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],[27],[27],[4],[[4,21],[[23,[8]]]],[[4,21],[[23,[[24,[22,8]]]]]],[4],[12,[[23,[28]]]],[15,[[23,[28]]]],[4,7],0,[[]],[[]],[[]],[[],8],[[],8],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],29],[[],29],[[],29],[[],29],[[],29],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[3,[1]]],[[6,[1]]]],[30,30],[31,31],[32,32],[33,33],[34,34],[[]],[[]],[[]],[[]],[[]],[[[3,[1]],34],[[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]],35],[[3,[1]]]],[[[3,[1]],11],[[3,[1]]]],[[],31],[[],32],[[30,16],17],[[31,16],17],[[32,16],17],[[33,16],17],[[34,16],17],[[]],[32,30],[31,30],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[3,[1]],[25,[30]]],[[3,[1]]]],[[32,36],32],[[32,33],32],[[31,36],31],[[31,33],31],[[]],[[]],[[]],[[]],[[]],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[37,21],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[38,39],[40,41],[[[25,[8]]],38],[[[25,[8]]],40],[38,38],[40,40],[42,42],[[]],[[],43],[37,[[45,[[44,[41]]]]]],[[39,37],[[45,[[44,[41]]]]]],[[43,37],[[45,[[44,[41]]]]]],[[42,37],[[45,[[44,[41]]]]]],[[37,37],11],[[],11],[[46,16],17],[[46,16],17],[[47,16],17],[[47,16],17],[[48,16],17],[[48,16],17],[[37,16],17],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[37,[[45,[[44,[41]]]]]],[[39,37],[[45,[[44,[41]]]]]],[[43,37],[[45,[[44,[41]]]]]],[[42,37],[[45,[[44,[41]]]]]],[[[25,[8]]],39],[[[25,[8]]],41],[27],[27],[27],[[[9,[8,8]],36],[[45,[[44,[41]]]]]],[[39,[9,[8,8]],36],[[45,[[44,[41]]]]]],[[43,[9,[8,8]],36],[[45,[[44,[41]]]]]],[[42,[9,[8,8]],36],[[45,[[44,[41]]]]]],[46,[[23,[28]]]],[47,[[23,[28]]]],[48,[[23,[28]]]],[[]],[[],8],[[],8],[[],8],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[8,[[24,[37]]]],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[37,[9,[8,8]],36],[[45,[[44,[41]]]]]],[[39,37,[9,[8,8]],36],[[45,[[44,[41]]]]]],[[43,37,[9,[8,8]],36],[[45,[[44,[41]]]]]],[[42,37,[9,[8,8]],36],[[45,[[44,[41]]]]]],[[37,36],[[45,[[44,[41]]]]]],[[39,37,36],[[45,[[44,[41]]]]]],[[43,37,36],[[45,[[44,[41]]]]]],[[42,37,36],[[45,[[44,[41]]]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0],"p":[[8,"SessionStore"],[3,"Key"],[3,"SessionMiddlewareBuilder"],[3,"Session"],[8,"Clone"],[3,"SessionMiddleware"],[4,"SessionStatus"],[3,"String"],[3,"HashMap"],[3,"Ref"],[15,"bool"],[3,"SessionGetError"],[3,"BoxBody"],[3,"HttpResponse"],[3,"SessionInsertError"],[3,"Formatter"],[6,"Result"],[3,"Error"],[3,"HttpRequest"],[4,"Payload"],[15,"str"],[8,"DeserializeOwned"],[4,"Option"],[4,"Result"],[8,"Into"],[8,"Serialize"],[3,"Demand"],[8,"Error"],[3,"TypeId"],[4,"SessionLifecycle"],[3,"BrowserSession"],[3,"PersistentSession"],[4,"TtlExtensionPolicy"],[4,"CookieContentSecurity"],[4,"SameSite"],[3,"Duration"],[3,"SessionKey"],[3,"RedisActorSessionStoreBuilder"],[3,"RedisActorSessionStore"],[3,"RedisSessionStoreBuilder"],[8,"Future"],[3,"RedisSessionStore"],[3,"CookieSessionStore"],[3,"Box"],[3,"Pin"],[4,"LoadError"],[4,"SaveError"],[4,"UpdateError"],[8,"SessionExt"],[13,"BrowserSession"],[13,"PersistentSession"],[13,"Deserialization"],[13,"Other"],[13,"Serialization"],[13,"Other"],[13,"Serialization"],[13,"Other"]]},\ -"actix_settings":{"doc":"Easily manage Actix Web’s settings from a TOML file and …","t":[3,3,8,4,3,13,13,13,13,13,13,13,13,13,4,13,13,13,4,13,13,13,13,4,4,13,4,3,4,13,8,13,13,13,13,13,13,6,4,3,13,12,12,10,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,11,11,10,11,11,11,11,11,11,11,11,11,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12],"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","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","clone_into","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","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","from_default_template","from_template","get_hash","get_hash","get_hash","get_hash","get_hash","get_hash","get_hash","get_hash","get_hash","get_hash","get_hash","get_hash","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","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_owned","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","0","0","0","0","0","0","0","0","column","expected","file","got","line","0","0","0","0","0","0"],"q":["actix_settings","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_settings::Backlog","actix_settings::Error","","","","","","","","","","","","actix_settings::KeepAlive","actix_settings::MaxConnectionRate","actix_settings::MaxConnections","actix_settings::NumWorkers","actix_settings::Timeout",""],"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 [AtError] 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.","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,2,0,2,2,2,0,4,6,7,9,0,0,10,0,0,0,5,0,2,2,2,8,5,10,0,0,0,2,1,1,31,12,2,3,4,5,6,7,8,9,10,11,12,1,14,2,3,4,5,6,7,8,9,10,11,12,1,14,11,12,12,2,3,4,5,6,7,8,9,10,11,12,1,14,2,3,4,5,6,7,8,9,10,11,12,1,14,3,4,5,6,7,8,9,10,11,12,1,14,12,12,11,3,4,5,6,7,8,9,10,11,12,1,14,3,4,5,6,7,8,9,10,11,12,1,14,2,3,4,5,6,7,8,9,10,11,12,1,14,2,2,2,2,2,2,2,3,4,5,6,7,8,9,10,11,12,1,14,1,1,3,4,5,6,7,8,9,10,11,12,1,14,3,4,5,6,7,8,9,10,11,12,1,14,3,12,2,3,4,5,6,7,8,9,10,11,12,1,14,12,12,12,12,12,1,1,32,3,4,5,6,7,8,9,10,1,3,11,12,12,2,3,4,5,6,7,8,9,10,11,12,1,14,2,3,4,5,6,7,8,9,10,11,12,1,14,2,3,4,5,6,7,8,9,10,11,12,1,14,2,3,4,5,6,7,8,9,10,11,12,1,14,2,3,4,5,6,7,8,9,10,11,12,1,14,1,33,34,35,36,37,38,39,40,41,41,41,41,41,42,43,44,45,46,47],"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,[1],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[2,2],[3,3],[4,4],[5,5],[6,6],[7,7],[8,8],[9,9],[10,10],[11,11],[12,12],[[[1,[13]]],[[1,[13]]]],[14,14],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[15,[3]]]],[[],[[15,[4]]]],[[],[[15,[5]]]],[[],[[15,[6]]]],[[],[[15,[7]]]],[[],[[15,[8]]]],[[],[[15,[9]]]],[[],[[15,[10]]]],[[],[[15,[11]]]],[[],[[15,[12]]]],[[],[[15,[1]]]],[[],[[15,[14]]]],0,0,0,[[3,3],16],[[4,4],16],[[5,5],16],[[6,6],16],[[7,7],16],[[8,8],16],[[9,9],16],[[10,10],16],[[11,11],16],[[12,12],16],[[[1,[17]],1],16],[[14,14],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[2,18],19],[[3,18],19],[[4,18],19],[[5,18],19],[[6,18],19],[[7,18],19],[[8,18],19],[[9,18],19],[[10,18],19],[[11,18],19],[[12,18],19],[[[1,[20]],18],19],[[14,18],19],[21,2],[22,2],[23,2],[24,2],[[]],[25,2],[26,2],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[15,[1,2]]]],[27,[[15,[1,2]]]],[[],28],[[],28],[[],28],[[],28],[[],28],[[],28],[[],28],[[],28],[[],28],[[],28],[[],28],[[],28],[3],[4],[5],[6],[7],[8],[9],[10],[11],[12],[[[1,[29]]]],[14],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,[[],[[15,[2]]]],[[],[[15,[2]]]],[27,[[15,[2]]]],[27,[[15,[3,2]]]],[27,[[15,[4,2]]]],[27,[[15,[5,2]]]],[27,[[15,[6,2]]]],[27,[[15,[7,2]]]],[27,[[15,[8,2]]]],[27,[[15,[9,2]]]],[27,[[15,[10,2]]]],[[],[[15,[1,2]]]],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[15,[2]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"p":[[3,"BasicSettings"],[4,"Error"],[3,"Address"],[4,"Backlog"],[4,"KeepAlive"],[4,"MaxConnectionRate"],[4,"MaxConnections"],[4,"Mode"],[4,"NumWorkers"],[4,"Timeout"],[3,"Tls"],[3,"ActixSettings"],[8,"Clone"],[3,"NoSettings"],[4,"Result"],[15,"bool"],[8,"PartialEq"],[3,"Formatter"],[6,"Result"],[8,"Debug"],[3,"Error"],[4,"VarError"],[3,"Error"],[3,"ParseIntError"],[3,"ParseBoolError"],[3,"IoError"],[15,"str"],[15,"u64"],[8,"Hash"],[3,"TypeId"],[8,"ApplySettings"],[8,"Parse"],[13,"Manual"],[13,"EnvVarError"],[13,"FileExists"],[13,"IoError"],[13,"ParseBoolError"],[13,"ParseIntError"],[13,"ParseAddressError"],[13,"TomlError"],[13,"InvalidValue"],[13,"Seconds"],[13,"Manual"],[13,"Manual"],[13,"Manual"],[13,"Milliseconds"],[13,"Seconds"]],"a":{"https":[39],"ssl":[39]}},\ -"actix_web_httpauth":{"doc":"HTTP authentication schemes for Actix Web.","t":[0,0,0,8,3,16,0,0,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,3,4,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,0,3,13,3,3,13,13,13,4,8,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,8,3,0,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,3,4,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11],"n":["extractors","headers","middleware","AuthExtractorConfig","AuthenticationError","Inner","basic","bearer","borrow","borrow_mut","challenge_mut","error_response","fmt","fmt","from","from","into","into_inner","new","provide","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_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","get_hash","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","get_hash","hash","into","into","into","into","into_scheme","name","new","new","parse","parse","parse","parse","partial_cmp","partial_cmp","partial_cmp","password","provide","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","0","0","0","0","0","Challenge","WwwAuthenticate","basic","bearer","borrow","borrow_mut","clone","clone_into","cmp","default","eq","equivalent","fmt","from","get_hash","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","get_hash","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","get_hash","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":["actix_web_httpauth","","","actix_web_httpauth::extractors","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_web_httpauth::extractors::basic","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_web_httpauth::extractors::bearer","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_web_httpauth::headers","","actix_web_httpauth::headers::authorization","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_web_httpauth::headers::authorization::ParseError","","","","actix_web_httpauth::headers::www_authenticate","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_web_httpauth::headers::www_authenticate::basic","","","","","","","","","","","","","","","","","","","","","","","","","actix_web_httpauth::headers::www_authenticate::bearer","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_web_httpauth::middleware","","","","","","","","","","","","","","","",""],"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,52,0,0,2,2,2,2,2,2,2,2,2,52,2,2,2,2,2,2,2,2,2,2,2,2,0,0,14,14,16,14,16,14,16,14,16,14,14,16,14,16,16,14,16,14,16,14,14,16,14,16,14,16,14,16,16,14,16,0,0,0,13,13,13,21,21,22,13,21,22,13,21,22,13,21,22,13,13,21,13,13,21,22,13,13,21,22,13,22,13,13,21,22,13,21,13,21,21,13,21,22,13,13,22,21,22,13,21,22,13,21,22,13,21,22,13,0,0,0,36,0,0,36,36,36,0,0,36,36,29,29,36,29,31,32,36,29,31,32,29,31,32,29,31,32,29,31,32,29,29,31,32,29,31,32,36,36,29,29,31,31,32,32,36,36,36,36,29,29,29,31,32,29,29,36,29,31,32,29,29,31,32,28,29,31,32,29,31,32,31,36,36,29,31,32,36,29,31,32,32,36,29,31,32,36,29,31,32,29,29,31,32,36,29,31,32,31,36,29,31,32,53,54,55,56,47,0,0,0,0,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,1,47,47,47,47,47,47,47,0,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,0,13,13,13,50,12,50,12,12,12,12,12,50,12,12,12,50,50,50,50,50,12,12,50,12,12,12,50,12,12,50,50,12,12,50,12,50,12,12,50,12,50,12,0,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51],"f":[0,0,0,0,0,0,0,0,[[]],[[]],[[[2,[1]]]],[[[2,[1]]],3],[[[2,[1]],4],5],[[[2,[[0,[6,1]]]],4],5],[[],2],[[]],[[]],[[]],[1,[[2,[1]]]],[7],[[[2,[1]]],8],[[[2,[1]]],8],[[],9],[[],10],[[],10],[[],11],[[]],[[[2,[12]],13],[[2,[12]]]],[[[2,[12]]],[[2,[12]]]],[[[2,[12]]],[[2,[12]]]],0,0,[14,15],[[]],[[]],[[]],[[]],[14,14],[16,16],[[]],[[]],[[],14],[[14,4],5],[[16,4],5],[[]],[[]],[[17,18]],[[]],[[]],[14],[16,[[20,[19]]]],[14,14],[[]],[[]],[[],10],[[],10],[[],10],[[],10],[[],11],[[],11],[16,19],[[]],[[]],0,0,0,0,0,0,[21,12],[[]],[[]],[[]],[[]],[[]],[[]],[21,21],[22,22],[13,13],[[]],[[]],[[]],[[13,13],23],[[],21],[[13,13],24],[[],24],[[21,4],5],[[22,4],5],[[13,4],5],[[13,4],5],[[]],[[]],[[]],[[17,18]],[[],25],[13],[[]],[[]],[[]],[21],[[13,13],[[20,[23]]]],[[21,[27,[[26,[19]]]]],21],[[21,[27,[[26,[19]]]]],21],[13,8],[[]],[[]],[[]],[[],9],[22,19],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],11],[[],11],[[],11],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,[[[29,[28]]]],[[[29,[28]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[29,[[0,[30,28]]]]],[[29,[[0,[30,28]]]]]],[31,31],[32,32],[[]],[[]],[[]],[[[29,[[0,[33,28]]]],29],23],[[31,31],23],[[32,32],23],[[],[[29,[[0,[34,28]]]]]],[[[29,[[0,[35,28]]]],29],24],[[31,31],24],[[32,32],24],[[],24],[[],24],[[],24],[[36,4],5],[[36,4],5],[[[29,[[0,[6,28]]]],4],5],[[[29,[28]],4],5],[[31,4],5],[[31,4],5],[[32,4],5],[[32,4],5],[37,36],[38,36],[39,36],[[]],[[]],[40],[28,[[29,[28]]]],[[]],[[]],[[],25],[[[29,[[0,[41,28]]]]]],[[]],[[]],[[]],[[]],[[[29,[28]]],28],[[],42],[20,31],[[],32],[43,[[10,[36]]]],[[],[[10,[[29,[28]],44]]]],[43,[[10,[31,36]]]],[43,[[10,[32,36]]]],[[[29,[[0,[45,28]]]],29],[[20,[23]]]],[[31,31],[[20,[23]]]],[[32,32],[[20,[23]]]],[31,[[20,[19]]]],[7],[36,[[20,[46]]]],[[]],[[]],[[]],[[],9],[[],9],[[],9],[[],9],[32,19],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[[29,[28]]],[[10,[43]]]],[31,[[10,[43]]]],[32,[[10,[43]]]],[[],11],[[],11],[[],11],[[],11],[31,19],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,[[]],[[]],[[[47,[[0,[30,1]]]]],[[47,[[0,[30,1]]]]]],[[]],[[[47,[[0,[33,1]]]],47],23],[[],[[47,[[0,[34,1]]]]]],[[[47,[[0,[35,1]]]],47],24],[[],24],[[[47,[[0,[6,1]]]],4],5],[[]],[[],25],[[[47,[[0,[41,1]]]]]],[[]],[[],42],[[],[[10,[[47,[1]],44]]]],[[[47,[[0,[45,1]]]],47],[[20,[23]]]],[[],48],[[]],[[],10],[[],10],[[],10],[[[47,[1]]],[[10,[43]]]],[[],11],[[]],0,[[]],[[]],[15,15],[[]],[[15,15],23],[[],15],[[15,15],24],[[],24],[[15,4],[[10,[49]]]],[[15,4],5],[[]],[[],25],[15],[[]],[[],15],[[15,15],[[20,[23]]]],[[]],[[],9],[[],10],[[],10],[15,[[10,[43]]]],[[],11],[[]],[[],15],0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[],50],[12,12],[[]],[[12,12],23],[[],50],[[],12],[[12,12],24],[[],24],[[50,13],50],[50,50],[50,50],[50,12],[[50,4],5],[[12,4],[[10,[49]]]],[[12,4],5],[[]],[[]],[[],25],[12],[[]],[[]],[[12,12],[[20,[23]]]],[50,50],[50,50],[[]],[[],9],[[],10],[[],10],[[],10],[[],10],[12,[[10,[43]]]],[[],11],[[],11],[[]],[[]],0,[[],[[51,[16]]]],[[],[[51,[22]]]],[[]],[[]],[[[51,[30,30]]],[[51,[30,30]]]],[[]],[[[51,[6,6]],4],5],[[]],[[]],[51],[[]],[[],10],[[],10],[[],11],[[]],[[],51]],"p":[[8,"Challenge"],[3,"AuthenticationError"],[3,"HttpResponse"],[3,"Formatter"],[6,"Result"],[8,"Debug"],[3,"Demand"],[3,"StatusCode"],[3,"String"],[4,"Result"],[3,"TypeId"],[3,"Bearer"],[4,"Error"],[3,"Config"],[3,"Basic"],[3,"BasicAuth"],[3,"HttpRequest"],[4,"Payload"],[15,"str"],[4,"Option"],[3,"Config"],[3,"BearerAuth"],[4,"Ordering"],[15,"bool"],[15,"u64"],[4,"Cow"],[8,"Into"],[8,"Scheme"],[3,"Authorization"],[8,"Clone"],[3,"Basic"],[3,"Bearer"],[8,"Ord"],[8,"Default"],[8,"PartialEq"],[4,"ParseError"],[4,"DecodeError"],[3,"ToStrError"],[3,"Utf8Error"],[15,"never"],[8,"Hash"],[3,"HeaderName"],[3,"HeaderValue"],[4,"ParseError"],[8,"PartialOrd"],[8,"Error"],[3,"WwwAuthenticate"],[3,"Bytes"],[3,"Error"],[3,"BearerBuilder"],[3,"HttpAuthentication"],[8,"AuthExtractorConfig"],[13,"MissingField"],[13,"ToStrError"],[13,"Base64DecodeError"],[13,"Utf8Error"]]}\ +"actix_limitation":{"doc":"Rate limiter using a fixed window counter for arbitrary …","t":[3,13,17,17,17,17,4,13,3,13,3,3,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12],"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","provide","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","0","0","0","0"],"q":["actix_limitation","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_limitation::Error","","",""],"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,3,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,21,22,23,24],"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,1],[[1,15],1],[7,15],[10],[[1,16],1],[17],[7,15],[7,15],[[1,[6,[[9,[8]]]]],1],[3,[[19,[18]]]],[[]],[[]],[[],5],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],20],[[],20],[[],20],[[],20],[[],20],[[]],[[]],[[]],[[]],[[]],0,0,0,0],"p":[[3,"Builder"],[3,"Limiter"],[4,"Error"],[4,"Result"],[3,"String"],[8,"Into"],[3,"Status"],[15,"str"],[4,"Cow"],[3,"RateLimiter"],[3,"Formatter"],[6,"Result"],[3,"RedisError"],[3,"ComponentRange"],[15,"usize"],[3,"Duration"],[3,"Demand"],[8,"Error"],[4,"Option"],[3,"TypeId"],[13,"Client"],[13,"LimitExceeded"],[13,"Time"],[13,"Other"]]},\ +"actix_protobuf":{"doc":"Protobuf payload extractor for Actix Web.","t":[12,13,13,13,13,3,3,3,4,8,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12],"n":["0","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","0","0","0"],"q":["actix_protobuf","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_protobuf::ProtoBufPayloadError","",""],"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":[3,4,4,4,4,0,0,0,0,0,4,3,1,14,4,3,1,14,4,1,3,3,4,3,3,4,4,3,1,14,4,4,4,3,3,1,14,4,14,1,14,14,14,23,3,3,3,4,3,1,14,4,3,1,14,4,14,3,1,14,4,3,1,14,4,24,25,26],"f":[0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],1],[[[3,[2]]]],[[[3,[2]]]],[4,5],[[[3,[2]],6],7],[[[3,[2]],6],7],[[4,6],7],[[4,6],7],[[]],[[]],[[]],[8,4],[[]],[9,4],[[10,11]],[[]],[[]],[[]],[[]],[[]],[[1,12],1],[[[14,[[0,[2,13]]]],12],[[14,[[0,[2,13]]]]]],[[10,11],[[14,[[0,[2,13]]]]]],[[[15,[[14,[[0,[2,13]]]]]],16],17],[2,[[19,[5,18]]]],[[],20],[[[3,[[0,[2,13]]]],10],5],[[],21],[[],21],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[15,16],17],[[],22],[[],22],[[],22],[[],22],[[]],[[]],[[]],[[]],0,0,0],"p":[[3,"ProtoBufConfig"],[8,"Message"],[3,"ProtoBuf"],[4,"ProtoBufPayloadError"],[3,"HttpResponse"],[3,"Formatter"],[6,"Result"],[4,"PayloadError"],[3,"DecodeError"],[3,"HttpRequest"],[4,"Payload"],[15,"usize"],[8,"Default"],[3,"ProtoBufMessage"],[3,"Pin"],[3,"Context"],[4,"Poll"],[3,"Error"],[4,"Result"],[3,"Path"],[3,"String"],[3,"TypeId"],[8,"ProtoBufResponseBuilder"],[13,"Serialize"],[13,"Deserialize"],[13,"Payload"]]},\ +"actix_redis":{"doc":"Redis integration for actix.","t":[12,13,13,3,13,13,4,13,13,13,13,13,13,13,3,13,13,4,4,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,14,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12],"n":["0","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_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","provide","provide","push","resp_array","restarting","source","source","start","started","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","0","0","0","0","0","0","0","1","0","0","0","0","0"],"q":["actix_redis","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_redis::Error","actix_redis::RespError","","","","","","","actix_redis::RespValue","","","",""],"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":[7,1,1,0,13,10,0,1,13,1,13,1,10,10,0,13,13,0,0,1,13,1,4,7,10,1,13,4,7,10,1,13,1,1,1,1,4,7,10,10,1,13,13,4,7,10,10,1,1,1,1,1,1,1,1,13,13,13,1,4,4,4,7,10,1,13,10,13,1,0,4,10,13,4,4,1,10,13,4,7,10,1,13,4,7,10,1,13,4,7,10,1,13,4,7,10,1,13,29,30,31,32,33,34,35,32,36,37,38,39,40],"f":[0,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],[[]],[[1,1],3],[[],3],[[4,5],6],[[7,8],9],[[10,8],9],[[10,8],9],[[1,8],[[12,[11]]]],[[13,8],[[12,[11]]]],[[13,8],[[12,[11]]]],[[]],[[]],[13,10],[[]],[[]],[[[15,[14]]],1],[[],1],[[[18,[16,17]]],1],[14,1],[19,1],[20,1],[20,1],[21,13],[[]],[5,13],[1,[[12,[1,13]]]],[[4,[12,[1,13]]]],[[4,7]],[[]],[[]],[[]],[[]],[[]],[22],[22],[1],0,[4],[10,[[24,[23]]]],[13,[[24,[23]]]],[[[25,[20]]],[[26,[4]]]],[[4,27]],[[]],[[],20],[[],20],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],28],[[],28],[[],28],[[],28],[[],28],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0],"p":[[4,"RespValue"],[8,"IntoIterator"],[15,"bool"],[3,"RedisActor"],[3,"Error"],[4,"Running"],[3,"Command"],[3,"Formatter"],[6,"Result"],[4,"Error"],[3,"Error"],[4,"Result"],[4,"RespError"],[15,"str"],[3,"Arc"],[15,"u8"],[3,"Global"],[3,"Vec"],[15,"usize"],[3,"String"],[3,"TrySendError"],[3,"Demand"],[8,"Error"],[4,"Option"],[8,"Into"],[3,"Addr"],[3,"Context"],[3,"TypeId"],[13,"Redis"],[13,"Internal"],[13,"IO"],[13,"Resp"],[13,"Remote"],[13,"Connection"],[13,"Unexpected"],[13,"Array"],[13,"BulkString"],[13,"Error"],[13,"Integer"],[13,"SimpleString"]]},\ +"actix_session":{"doc":"Session management for Actix Web.","t":[13,13,13,3,8,3,3,3,4,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,13,4,13,13,3,13,13,4,3,13,4,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,3,13,4,13,13,13,3,3,3,3,4,13,13,3,8,4,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12],"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","provide","provide","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","0","0","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","provide","provide","provide","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","0","0","0","0","0","0"],"q":["actix_session","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_session::config","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_session::config::SessionLifecycle","","actix_session::storage","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_session::storage::LoadError","","actix_session::storage::SaveError","","actix_session::storage::UpdateError",""],"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,49,4,6,4,7,12,15,6,6,12,15,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,30,0,33,33,0,30,34,0,0,34,0,3,30,31,32,33,34,3,30,31,32,33,34,3,30,31,32,33,34,30,31,32,33,34,3,3,3,3,3,3,3,31,32,30,31,32,33,34,3,30,30,30,31,32,33,34,3,30,31,32,33,34,3,32,32,31,31,30,31,32,33,34,3,30,31,32,33,34,3,30,31,32,33,34,3,30,31,32,33,34,3,30,31,32,33,34,50,51,0,46,0,46,47,48,0,0,0,0,0,47,48,0,0,0,37,39,38,40,46,47,48,37,42,41,39,38,40,46,47,48,37,42,41,38,40,39,41,38,40,41,41,42,1,39,42,41,37,37,46,46,47,47,48,48,37,39,38,40,46,47,48,37,42,41,39,38,40,46,47,48,37,42,41,1,39,42,41,39,41,46,47,48,1,39,42,41,46,47,48,41,46,47,48,39,38,40,46,47,48,37,37,42,41,39,38,40,46,47,48,37,42,41,39,38,40,46,47,48,37,42,41,1,39,42,41,1,39,42,41,39,38,40,46,47,48,37,42,41,52,53,54,55,56,57],"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],[27],[27],[4],[[4,21],[[23,[8]]]],[[4,21],[[23,[[24,[22,8]]]]]],[4],[12,[[23,[28]]]],[15,[[23,[28]]]],[4,7],0,[[]],[[]],[[]],[[],8],[[],8],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],29],[[],29],[[],29],[[],29],[[],29],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[3,[1]]],[[6,[1]]]],[30,30],[31,31],[32,32],[33,33],[34,34],[[]],[[]],[[]],[[]],[[]],[[[3,[1]],34],[[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]],35],[[3,[1]]]],[[[3,[1]],11],[[3,[1]]]],[[],31],[[],32],[[30,16],17],[[31,16],17],[[32,16],17],[[33,16],17],[[34,16],17],[[]],[32,30],[[]],[31,30],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[3,[1]],[25,[30]]],[[3,[1]]]],[[32,36],32],[[32,33],32],[[31,36],31],[[31,33],31],[[]],[[]],[[]],[[]],[[]],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[37,21],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[38,39],[40,[[24,[41,18]]]],[[[25,[8]]],38],[[[25,[8]]],40],[38,38],[40,40],[41,41],[[]],[[],42],[37,[[45,[[44,[43]]]]]],[[39,37],[[45,[[44,[43]]]]]],[[42,37],[[45,[[44,[43]]]]]],[[41,37],[[45,[[44,[43]]]]]],[[37,37],11],[[],11],[[46,16],17],[[46,16],17],[[47,16],17],[[47,16],17],[[48,16],17],[[48,16],17],[[37,16],17],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[37,[[45,[[44,[43]]]]]],[[39,37],[[45,[[44,[43]]]]]],[[42,37],[[45,[[44,[43]]]]]],[[41,37],[[45,[[44,[43]]]]]],[[[25,[8]]],39],[[[25,[8]]],[[24,[41,18]]]],[27],[27],[27],[[[9,[8,8]],36],[[45,[[44,[43]]]]]],[[39,[9,[8,8]],36],[[45,[[44,[43]]]]]],[[42,[9,[8,8]],36],[[45,[[44,[43]]]]]],[[41,[9,[8,8]],36],[[45,[[44,[43]]]]]],[46,[[23,[28]]]],[47,[[23,[28]]]],[48,[[23,[28]]]],[[]],[[],8],[[],8],[[],8],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[8,[[24,[37]]]],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[],29],[[37,[9,[8,8]],36],[[45,[[44,[43]]]]]],[[39,37,[9,[8,8]],36],[[45,[[44,[43]]]]]],[[42,37,[9,[8,8]],36],[[45,[[44,[43]]]]]],[[41,37,[9,[8,8]],36],[[45,[[44,[43]]]]]],[[37,36],[[45,[[44,[43]]]]]],[[39,37,36],[[45,[[44,[43]]]]]],[[42,37,36],[[45,[[44,[43]]]]]],[[41,37,36],[[45,[[44,[43]]]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0],"p":[[8,"SessionStore"],[3,"Key"],[3,"SessionMiddlewareBuilder"],[3,"Session"],[8,"Clone"],[3,"SessionMiddleware"],[4,"SessionStatus"],[3,"String"],[3,"HashMap"],[3,"Ref"],[15,"bool"],[3,"SessionGetError"],[3,"BoxBody"],[3,"HttpResponse"],[3,"SessionInsertError"],[3,"Formatter"],[6,"Result"],[3,"Error"],[3,"HttpRequest"],[4,"Payload"],[15,"str"],[8,"DeserializeOwned"],[4,"Option"],[4,"Result"],[8,"Into"],[8,"Serialize"],[3,"Demand"],[8,"Error"],[3,"TypeId"],[4,"SessionLifecycle"],[3,"BrowserSession"],[3,"PersistentSession"],[4,"TtlExtensionPolicy"],[4,"CookieContentSecurity"],[4,"SameSite"],[3,"Duration"],[3,"SessionKey"],[3,"RedisActorSessionStoreBuilder"],[3,"RedisActorSessionStore"],[3,"RedisSessionStoreBuilder"],[3,"RedisSessionStore"],[3,"CookieSessionStore"],[8,"Future"],[3,"Box"],[3,"Pin"],[4,"LoadError"],[4,"SaveError"],[4,"UpdateError"],[8,"SessionExt"],[13,"BrowserSession"],[13,"PersistentSession"],[13,"Deserialization"],[13,"Other"],[13,"Serialization"],[13,"Other"],[13,"Serialization"],[13,"Other"]]},\ +"actix_settings":{"doc":"Easily manage Actix Web’s settings from a TOML file and …","t":[3,3,8,4,3,13,13,13,13,13,13,13,13,13,4,13,13,13,4,13,13,13,13,4,4,13,4,3,4,13,8,13,13,13,13,13,13,6,4,3,13,12,12,10,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,11,11,10,11,11,11,11,11,11,11,11,11,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12],"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","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","clone_into","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","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","from_default_template","from_template","get_hash","get_hash","get_hash","get_hash","get_hash","get_hash","get_hash","get_hash","get_hash","get_hash","get_hash","get_hash","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","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_owned","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","0","0","0","0","0","0","0","0","column","expected","file","got","line","0","0","0","0","0","0"],"q":["actix_settings","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_settings::Backlog","actix_settings::Error","","","","","","","","","","","","actix_settings::KeepAlive","actix_settings::MaxConnectionRate","actix_settings::MaxConnections","actix_settings::NumWorkers","actix_settings::Timeout",""],"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 [AtError] 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.","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,2,0,2,2,2,0,4,6,7,9,0,0,10,0,0,0,5,0,2,2,2,8,5,10,0,0,0,2,1,1,31,12,2,3,4,5,6,7,8,9,10,11,12,1,14,2,3,4,5,6,7,8,9,10,11,12,1,14,11,12,12,2,3,4,5,6,7,8,9,10,11,12,1,14,2,3,4,5,6,7,8,9,10,11,12,1,14,3,4,5,6,7,8,9,10,11,12,1,14,12,12,11,3,4,5,6,7,8,9,10,11,12,1,14,3,4,5,6,7,8,9,10,11,12,1,14,2,3,4,5,6,7,8,9,10,11,12,1,14,2,2,2,2,2,2,2,3,4,5,6,7,8,9,10,11,12,1,14,1,1,3,4,5,6,7,8,9,10,11,12,1,14,3,4,5,6,7,8,9,10,11,12,1,14,3,12,2,3,4,5,6,7,8,9,10,11,12,1,14,12,12,12,12,12,1,1,32,3,4,5,6,7,8,9,10,1,3,11,12,12,2,3,4,5,6,7,8,9,10,11,12,1,14,2,3,4,5,6,7,8,9,10,11,12,1,14,2,3,4,5,6,7,8,9,10,11,12,1,14,2,3,4,5,6,7,8,9,10,11,12,1,14,2,3,4,5,6,7,8,9,10,11,12,1,14,1,33,34,35,36,37,38,39,40,41,41,41,41,41,42,43,44,45,46,47],"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,[1],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[2,2],[3,3],[4,4],[5,5],[6,6],[7,7],[8,8],[9,9],[10,10],[11,11],[12,12],[[[1,[13]]],[[1,[13]]]],[14,14],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[15,[3]]]],[[],[[15,[4]]]],[[],[[15,[5]]]],[[],[[15,[6]]]],[[],[[15,[7]]]],[[],[[15,[8]]]],[[],[[15,[9]]]],[[],[[15,[10]]]],[[],[[15,[11]]]],[[],[[15,[12]]]],[[],[[15,[1]]]],[[],[[15,[14]]]],0,0,0,[[3,3],16],[[4,4],16],[[5,5],16],[[6,6],16],[[7,7],16],[[8,8],16],[[9,9],16],[[10,10],16],[[11,11],16],[[12,12],16],[[[1,[17]],1],16],[[14,14],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[2,18],19],[[3,18],19],[[4,18],19],[[5,18],19],[[6,18],19],[[7,18],19],[[8,18],19],[[9,18],19],[[10,18],19],[[11,18],19],[[12,18],19],[[[1,[20]],18],19],[[14,18],19],[21,2],[22,2],[23,2],[24,2],[25,2],[26,2],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[15,[1,2]]]],[27,[[15,[1,2]]]],[[],28],[[],28],[[],28],[[],28],[[],28],[[],28],[[],28],[[],28],[[],28],[[],28],[[],28],[[],28],[3],[4],[5],[6],[7],[8],[9],[10],[11],[12],[[[1,[29]]]],[14],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,[[],[[15,[2]]]],[[],[[15,[2]]]],[27,[[15,[2]]]],[27,[[15,[3,2]]]],[27,[[15,[4,2]]]],[27,[[15,[5,2]]]],[27,[[15,[6,2]]]],[27,[[15,[7,2]]]],[27,[[15,[8,2]]]],[27,[[15,[9,2]]]],[27,[[15,[10,2]]]],[[],[[15,[1,2]]]],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[],30],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[15,[2]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"p":[[3,"BasicSettings"],[4,"Error"],[3,"Address"],[4,"Backlog"],[4,"KeepAlive"],[4,"MaxConnectionRate"],[4,"MaxConnections"],[4,"Mode"],[4,"NumWorkers"],[4,"Timeout"],[3,"Tls"],[3,"ActixSettings"],[8,"Clone"],[3,"NoSettings"],[4,"Result"],[15,"bool"],[8,"PartialEq"],[3,"Formatter"],[6,"Result"],[8,"Debug"],[3,"Error"],[3,"IoError"],[3,"ParseBoolError"],[3,"ParseIntError"],[3,"Error"],[4,"VarError"],[15,"str"],[15,"u64"],[8,"Hash"],[3,"TypeId"],[8,"ApplySettings"],[8,"Parse"],[13,"Manual"],[13,"EnvVarError"],[13,"FileExists"],[13,"IoError"],[13,"ParseBoolError"],[13,"ParseIntError"],[13,"ParseAddressError"],[13,"TomlError"],[13,"InvalidValue"],[13,"Seconds"],[13,"Manual"],[13,"Manual"],[13,"Manual"],[13,"Milliseconds"],[13,"Seconds"]],"a":{"https":[39],"ssl":[39]}},\ +"actix_web_httpauth":{"doc":"HTTP authentication schemes for Actix Web.","t":[0,0,0,8,3,16,0,0,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,3,4,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,0,3,13,3,3,13,13,13,4,8,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,8,3,0,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,3,4,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11],"n":["extractors","headers","middleware","AuthExtractorConfig","AuthenticationError","Inner","basic","bearer","borrow","borrow_mut","challenge_mut","error_response","fmt","fmt","from","from","into","into_inner","new","provide","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_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","get_hash","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","get_hash","hash","into","into","into","into","into_scheme","name","new","new","parse","parse","parse","parse","partial_cmp","partial_cmp","partial_cmp","password","provide","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","0","0","0","0","0","Challenge","WwwAuthenticate","basic","bearer","borrow","borrow_mut","clone","clone_into","cmp","default","eq","equivalent","fmt","from","get_hash","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","get_hash","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","get_hash","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":["actix_web_httpauth","","","actix_web_httpauth::extractors","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_web_httpauth::extractors::basic","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_web_httpauth::extractors::bearer","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_web_httpauth::headers","","actix_web_httpauth::headers::authorization","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_web_httpauth::headers::authorization::ParseError","","","","actix_web_httpauth::headers::www_authenticate","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_web_httpauth::headers::www_authenticate::basic","","","","","","","","","","","","","","","","","","","","","","","","","actix_web_httpauth::headers::www_authenticate::bearer","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_web_httpauth::middleware","","","","","","","","","","","","","","","",""],"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,52,0,0,2,2,2,2,2,2,2,2,2,52,2,2,2,2,2,2,2,2,2,2,2,2,0,0,14,14,16,14,16,14,16,14,16,14,14,16,14,16,16,14,16,14,16,14,14,16,14,16,14,16,14,16,16,14,16,0,0,0,13,13,13,21,21,22,13,21,22,13,21,22,13,21,22,13,13,21,13,13,21,22,13,13,21,22,13,22,13,13,21,22,13,21,13,21,21,13,21,22,13,13,22,21,22,13,21,22,13,21,22,13,21,22,13,0,0,0,36,0,0,36,36,36,0,0,36,36,29,29,36,29,31,32,36,29,31,32,29,31,32,29,31,32,29,31,32,29,29,31,32,29,31,32,36,36,29,29,31,31,32,32,36,36,36,36,29,29,29,31,32,29,29,36,29,31,32,29,29,31,32,28,29,31,32,29,31,32,31,36,36,29,31,32,36,29,31,32,32,36,29,31,32,36,29,31,32,29,29,31,32,36,29,31,32,31,36,29,31,32,53,54,55,56,47,0,0,0,0,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,1,47,47,47,47,47,47,47,0,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,0,13,13,13,50,12,50,12,12,12,12,12,50,12,12,12,50,50,50,50,50,12,12,50,12,12,12,50,12,12,50,50,12,12,50,12,50,12,12,50,12,50,12,0,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51],"f":[0,0,0,0,0,0,0,0,[[]],[[]],[[[2,[1]]]],[[[2,[1]]],3],[[[2,[[0,[4,1]]]],5],6],[[[2,[1]],5],6],[[],2],[[]],[[]],[[]],[1,[[2,[1]]]],[7],[[[2,[1]]],8],[[[2,[1]]],8],[[],9],[[],10],[[],10],[[],11],[[]],[[[2,[12]],13],[[2,[12]]]],[[[2,[12]]],[[2,[12]]]],[[[2,[12]]],[[2,[12]]]],0,0,[14,15],[[]],[[]],[[]],[[]],[14,14],[16,16],[[]],[[]],[[],14],[[14,5],6],[[16,5],6],[[]],[[]],[[17,18]],[[]],[[]],[14],[16,[[20,[19]]]],[14,14],[[]],[[]],[[],10],[[],10],[[],10],[[],10],[[],11],[[],11],[16,19],[[]],[[]],0,0,0,0,0,0,[21,12],[[]],[[]],[[]],[[]],[[]],[[]],[21,21],[22,22],[13,13],[[]],[[]],[[]],[[13,13],23],[[],21],[[13,13],24],[[],24],[[21,5],6],[[22,5],6],[[13,5],6],[[13,5],6],[[]],[[]],[[]],[[17,18]],[[],25],[13],[[]],[[]],[[]],[21],[[13,13],[[20,[23]]]],[[21,[27,[[26,[19]]]]],21],[[21,[27,[[26,[19]]]]],21],[13,8],[[]],[[]],[[]],[[],9],[22,19],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],11],[[],11],[[],11],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,[[[29,[28]]]],[[[29,[28]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[29,[[0,[30,28]]]]],[[29,[[0,[30,28]]]]]],[31,31],[32,32],[[]],[[]],[[]],[[[29,[[0,[33,28]]]],29],23],[[31,31],23],[[32,32],23],[[],[[29,[[0,[34,28]]]]]],[[[29,[[0,[35,28]]]],29],24],[[31,31],24],[[32,32],24],[[],24],[[],24],[[],24],[[36,5],6],[[36,5],6],[[[29,[[0,[4,28]]]],5],6],[[[29,[28]],5],6],[[31,5],6],[[31,5],6],[[32,5],6],[[32,5],6],[37,36],[[]],[38,36],[39,36],[40],[28,[[29,[28]]]],[[]],[[]],[[]],[[],25],[[[29,[[0,[41,28]]]]]],[[]],[[]],[[]],[[]],[[[29,[28]]],28],[[],42],[20,31],[[],32],[43,[[10,[36]]]],[[],[[10,[[29,[28]],44]]]],[43,[[10,[31,36]]]],[43,[[10,[32,36]]]],[[[29,[[0,[45,28]]]],29],[[20,[23]]]],[[31,31],[[20,[23]]]],[[32,32],[[20,[23]]]],[31,[[20,[19]]]],[7],[36,[[20,[46]]]],[[]],[[]],[[]],[[],9],[[],9],[[],9],[[],9],[32,19],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[[29,[28]]],[[10,[43]]]],[31,[[10,[43]]]],[32,[[10,[43]]]],[[],11],[[],11],[[],11],[[],11],[31,19],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,[[]],[[]],[[[47,[[0,[30,1]]]]],[[47,[[0,[30,1]]]]]],[[]],[[[47,[[0,[33,1]]]],47],23],[[],[[47,[[0,[34,1]]]]]],[[[47,[[0,[35,1]]]],47],24],[[],24],[[[47,[[0,[4,1]]]],5],6],[[]],[[],25],[[[47,[[0,[41,1]]]]]],[[]],[[],42],[[],[[10,[[47,[1]],44]]]],[[[47,[[0,[45,1]]]],47],[[20,[23]]]],[[],48],[[]],[[],10],[[],10],[[],10],[[[47,[1]]],[[10,[43]]]],[[],11],[[]],0,[[]],[[]],[15,15],[[]],[[15,15],23],[[],15],[[15,15],24],[[],24],[[15,5],[[10,[49]]]],[[15,5],6],[[]],[[],25],[15],[[]],[[],15],[[15,15],[[20,[23]]]],[[]],[[],9],[[],10],[[],10],[15,[[10,[43]]]],[[],11],[[]],[[],15],0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[],50],[12,12],[[]],[[12,12],23],[[],50],[[],12],[[12,12],24],[[],24],[[50,13],50],[50,50],[50,50],[50,12],[[50,5],6],[[12,5],[[10,[49]]]],[[12,5],6],[[]],[[]],[[],25],[12],[[]],[[]],[[12,12],[[20,[23]]]],[50,50],[50,50],[[]],[[],9],[[],10],[[],10],[[],10],[[],10],[12,[[10,[43]]]],[[],11],[[],11],[[]],[[]],0,[[],[[51,[16]]]],[[],[[51,[22]]]],[[]],[[]],[[[51,[30,30]]],[[51,[30,30]]]],[[]],[[[51,[4,4]],5],6],[[]],[[]],[51],[[]],[[],10],[[],10],[[],11],[[]],[[],51]],"p":[[8,"Challenge"],[3,"AuthenticationError"],[3,"HttpResponse"],[8,"Debug"],[3,"Formatter"],[6,"Result"],[3,"Demand"],[3,"StatusCode"],[3,"String"],[4,"Result"],[3,"TypeId"],[3,"Bearer"],[4,"Error"],[3,"Config"],[3,"Basic"],[3,"BasicAuth"],[3,"HttpRequest"],[4,"Payload"],[15,"str"],[4,"Option"],[3,"Config"],[3,"BearerAuth"],[4,"Ordering"],[15,"bool"],[15,"u64"],[4,"Cow"],[8,"Into"],[8,"Scheme"],[3,"Authorization"],[8,"Clone"],[3,"Basic"],[3,"Bearer"],[8,"Ord"],[8,"Default"],[8,"PartialEq"],[4,"ParseError"],[3,"Utf8Error"],[3,"ToStrError"],[4,"DecodeError"],[15,"never"],[8,"Hash"],[3,"HeaderName"],[3,"HeaderValue"],[4,"ParseError"],[8,"PartialOrd"],[8,"Error"],[3,"WwwAuthenticate"],[3,"Bytes"],[3,"Error"],[3,"BearerBuilder"],[3,"HttpAuthentication"],[8,"AuthExtractorConfig"],[13,"MissingField"],[13,"ToStrError"],[13,"Base64DecodeError"],[13,"Utf8Error"]]}\ }'); 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 ff977bab9..48436e3d8 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 3d2eb877d..fbcc8ae93 100644 --- a/src/actix_cors/all_or_some.rs.html +++ b/src/actix_cors/all_or_some.rs.html @@ -111,4 +111,4 @@ assert!(AllOrSome::Some(()).is_some()); } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_cors/builder.rs.html b/src/actix_cors/builder.rs.html index a7fcf8ed5..960249b6b 100644 --- a/src/actix_cors/builder.rs.html +++ b/src/actix_cors/builder.rs.html @@ -1283,4 +1283,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_cors/error.rs.html b/src/actix_cors/error.rs.html index 6c100e293..c3eea71f9 100644 --- a/src/actix_cors/error.rs.html +++ b/src/actix_cors/error.rs.html @@ -99,4 +99,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_cors/inner.rs.html b/src/actix_cors/inner.rs.html index 2abd6f135..474a1e83c 100644 --- a/src/actix_cors/inner.rs.html +++ b/src/actix_cors/inner.rs.html @@ -767,4 +767,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_cors/lib.rs.html b/src/actix_cors/lib.rs.html index eacb431c1..ef1820334 100644 --- a/src/actix_cors/lib.rs.html +++ b/src/actix_cors/lib.rs.html @@ -121,4 +121,4 @@ use inner::{Inner, OriginFn}; pub use middleware::CorsMiddleware; -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_cors/middleware.rs.html b/src/actix_cors/middleware.rs.html index dcc4845cd..13a3a2628 100644 --- a/src/actix_cors/middleware.rs.html +++ b/src/actix_cors/middleware.rs.html @@ -527,4 +527,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_identity/config.rs.html b/src/actix_identity/config.rs.html index bfb06bdca..5394bb2a2 100644 --- a/src/actix_identity/config.rs.html +++ b/src/actix_identity/config.rs.html @@ -201,4 +201,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_identity/identity.rs.html b/src/actix_identity/identity.rs.html index 42cd1876a..7ec2351d4 100644 --- a/src/actix_identity/identity.rs.html +++ b/src/actix_identity/identity.rs.html @@ -529,4 +529,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_identity/identity_ext.rs.html b/src/actix_identity/identity_ext.rs.html index 93954a614..ac45d8d29 100644 --- a/src/actix_identity/identity_ext.rs.html +++ b/src/actix_identity/identity_ext.rs.html @@ -53,4 +53,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_identity/lib.rs.html b/src/actix_identity/lib.rs.html index 12e3c979c..c6c518d03 100644 --- a/src/actix_identity/lib.rs.html +++ b/src/actix_identity/lib.rs.html @@ -199,4 +199,4 @@ pub use self::identity_ext::IdentityExt; pub use self::middleware::IdentityMiddleware; -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_identity/middleware.rs.html b/src/actix_identity/middleware.rs.html index aad970550..36179692b 100644 --- a/src/actix_identity/middleware.rs.html +++ b/src/actix_identity/middleware.rs.html @@ -511,4 +511,4 @@ LogOut, } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_limitation/builder.rs.html b/src/actix_limitation/builder.rs.html index e14eb9321..59fa83859 100644 --- a/src/actix_limitation/builder.rs.html +++ b/src/actix_limitation/builder.rs.html @@ -121,11 +121,64 @@ 119 120 121 -
    use std::{borrow::Cow, time::Duration};
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +132
    +133
    +134
    +135
    +136
    +137
    +138
    +139
    +140
    +141
    +142
    +143
    +144
    +145
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +165
    +166
    +167
    +168
    +169
    +170
    +171
    +
    use std::{borrow::Cow, sync::Arc, time::Duration};
     
    +#[cfg(feature = "session")]
    +use actix_session::SessionExt as _;
    +use actix_web::dev::ServiceRequest;
     use redis::Client;
     
    -use crate::{errors::Error, Limiter};
    +use crate::{errors::Error, GetArcBoxKeyFn, Limiter};
     
     /// Rate limiter builder.
     #[derive(Debug)]
    @@ -133,8 +186,10 @@
         pub(crate) redis_url: String,
         pub(crate) limit: usize,
         pub(crate) period: Duration,
    +    pub(crate) get_key_fn: Option<GetArcBoxKeyFn>,
         pub(crate) cookie_name: Cow<'static, str>,
    -    pub(crate) session_key: Cow<'static, str>,
    +    #[cfg(feature = "session")]
    +    pub(crate) session_key: Cow<'static, str>,
     }
     
     impl Builder {
    @@ -150,14 +205,38 @@
             self
         }
     
    -    /// Set name of cookie to be sent.
    +    /// Sets rate limit key derivation function.
    +    ///
    +    /// Should not be used in combination with `cookie_name` or `session_key` as they conflict.
    +    pub fn key_by<F>(&mut self, resolver: F) -> &mut Self
    +    where
    +        F: Fn(&ServiceRequest) -> Option<String> + Send + Sync + 'static,
    +    {
    +        self.get_key_fn = Some(Arc::new(resolver));
    +        self
    +    }
    +
    +    /// Sets name of cookie to be sent.
    +    ///
    +    /// This method should not be used in combination of `key_by` as they conflict.
    +    #[deprecated = "Prefer `key_by`."]
         pub fn cookie_name(&mut self, cookie_name: impl Into<Cow<'static, str>>) -> &mut Self {
    +        if self.get_key_fn.is_some() {
    +            panic!("This method should not be used in combination of get_key as they overwrite each other")
    +        }
             self.cookie_name = cookie_name.into();
             self
         }
     
    -    /// Set session key to be used in backend.
    +    /// Sets session key to be used in backend.
    +    ///
    +    /// This method should not be used in combination of `key_by` as they conflict.
    +    #[deprecated = "Prefer `key_by`."]
    +    #[cfg(feature = "session")]
         pub fn session_key(&mut self, session_key: impl Into<Cow<'static, str>>) -> &mut Self {
    +        if self.get_key_fn.is_some() {
    +            panic!("This method should not be used in combination of get_key as they overwrite each other")
    +        }
             self.session_key = session_key.into();
             self
         }
    @@ -166,13 +245,35 @@
         ///
         /// Note that this method will connect to the Redis server to test its connection which is a
         /// **synchronous** operation.
    -    pub fn build(&self) -> Result<Limiter, Error> {
    +    pub fn build(&mut self) -> Result<Limiter, Error> {
    +        let get_key = if let Some(resolver) = self.get_key_fn.clone() {
    +            resolver
    +        } else {
    +            let cookie_name = self.cookie_name.clone();
    +
    +            #[cfg(feature = "session")]
    +            let session_key = self.session_key.clone();
    +
    +            let closure: GetArcBoxKeyFn = Arc::new(Box::new(move |req: &ServiceRequest| {
    +                #[cfg(feature = "session")]
    +                let res = req
    +                    .get_session()
    +                    .get(&session_key)
    +                    .unwrap_or_else(|_| req.cookie(&cookie_name).map(|c| c.to_string()));
    +
    +                #[cfg(not(feature = "session"))]
    +                let res = req.cookie(&cookie_name).map(|c| c.to_string());
    +
    +                res
    +            }));
    +            closure
    +        };
    +
             Ok(Limiter {
                 client: Client::open(self.redis_url.as_str())?,
                 limit: self.limit,
                 period: self.period,
    -            cookie_name: self.cookie_name.clone(),
    -            session_key: self.session_key.clone(),
    +            get_key_fn: get_key,
             })
         }
     }
    @@ -189,14 +290,17 @@
                 redis_url: redis_url.to_owned(),
                 limit: 100,
                 period,
    +            get_key_fn: Some(Arc::new(|_| None)),
                 cookie_name: Cow::Owned("session".to_string()),
    -            session_key: Cow::Owned("rate-api".to_string()),
    +            #[cfg(feature = "session")]
    +            session_key: Cow::Owned("rate-api".to_string()),
             };
     
             assert_eq!(builder.redis_url, redis_url);
             assert_eq!(builder.limit, 100);
             assert_eq!(builder.period, period);
    -        assert_eq!(builder.session_key, "rate-api");
    +        #[cfg(feature = "session")]
    +        assert_eq!(builder.session_key, "rate-api");
             assert_eq!(builder.cookie_name, "session");
         }
     
    @@ -208,22 +312,16 @@
                 redis_url: redis_url.to_owned(),
                 limit: 100,
                 period: Duration::from_secs(10),
    -            session_key: Cow::Borrowed("key"),
    +            get_key_fn: Some(Arc::new(|_| None)),
                 cookie_name: Cow::Borrowed("sid"),
    +            #[cfg(feature = "session")]
    +            session_key: Cow::Borrowed("key"),
             };
     
    -        let limiter = builder
    -            .limit(200)
    -            .period(period)
    -            .cookie_name("session".to_string())
    -            .session_key("rate-api".to_string())
    -            .build()
    -            .unwrap();
    +        let limiter = builder.limit(200).period(period).build().unwrap();
     
             assert_eq!(limiter.limit, 200);
             assert_eq!(limiter.period, period);
    -        assert_eq!(limiter.session_key, "rate-api");
    -        assert_eq!(limiter.cookie_name, "session");
         }
     
         #[test]
    @@ -235,12 +333,14 @@
                 redis_url: redis_url.to_owned(),
                 limit: 100,
                 period: Duration::from_secs(10),
    -            session_key: Cow::Borrowed("key"),
    +            get_key_fn: Some(Arc::new(|_| None)),
                 cookie_name: Cow::Borrowed("sid"),
    +            #[cfg(feature = "session")]
    +            session_key: Cow::Borrowed("key"),
             };
     
             builder.limit(200).period(period).build().unwrap();
         }
     }
     
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_limitation/errors.rs.html b/src/actix_limitation/errors.rs.html index 2dca962c4..c7f823530 100644 --- a/src/actix_limitation/errors.rs.html +++ b/src/actix_limitation/errors.rs.html @@ -85,4 +85,4 @@ } }
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_limitation/lib.rs.html b/src/actix_limitation/lib.rs.html index d2d583ea0..224d0d65d 100644 --- a/src/actix_limitation/lib.rs.html +++ b/src/actix_limitation/lib.rs.html @@ -159,6 +159,29 @@ 157 158 159 +160 +161 +162 +163 +164 +165 +166 +167 +168 +169 +170 +171 +172 +173 +174 +175 +176 +177 +178 +179 +180 +181 +182
    //! Rate limiter using a fixed window counter for arbitrary keys, backed by Redis for Actix Web.
     //!
     //! ```toml
    @@ -168,8 +191,9 @@
     //! ```
     //!
     //! ```no_run
    -//! use std::time::Duration;
    -//! use actix_web::{get, web, App, HttpServer, Responder};
    +//! use std::{sync::Arc, time::Duration};
    +//! use actix_web::{dev::ServiceRequest, get, web, App, HttpServer, Responder};
    +//! use actix_session::SessionExt as _;
     //! use actix_limitation::{Limiter, RateLimiter};
     //!
     //! #[get("/{id}/{name}")]
    @@ -181,8 +205,11 @@
     //! async fn main() -> std::io::Result<()> {
     //!     let limiter = web::Data::new(
     //!         Limiter::builder("redis://127.0.0.1")
    -//!             .cookie_name("session-id".to_owned())
    -//!             .session_key("rate-api-id".to_owned())
    +//!             .key_by(|req: &ServiceRequest| {
    +//!                 req.get_session()
    +//!                     .get(&"session-id")
    +//!                     .unwrap_or_else(|_| req.cookie(&"rate-api-id").map(|c| c.to_string()))
    +//!             })
     //!             .limit(5000)
     //!             .period(Duration::from_secs(3600)) // 60 minutes
     //!             .build()
    @@ -207,8 +234,9 @@
     #![doc(html_logo_url = "https://actix.rs/img/logo.png")]
     #![doc(html_favicon_url = "https://actix.rs/favicon.ico")]
     
    -use std::{borrow::Cow, time::Duration};
    +use std::{borrow::Cow, fmt, sync::Arc, time::Duration};
     
    +use actix_web::dev::ServiceRequest;
     use redis::Client;
     
     mod builder;
    @@ -231,16 +259,34 @@
     pub const DEFAULT_COOKIE_NAME: &str = "sid";
     
     /// Default session key.
    +#[cfg(feature = "session")]
     pub const DEFAULT_SESSION_KEY: &str = "rate-api-id";
     
    +/// Helper trait to impl Debug on GetKeyFn type
    +trait GetKeyFnT: Fn(&ServiceRequest) -> Option<String> {}
    +
    +impl<T> GetKeyFnT for T where T: Fn(&ServiceRequest) -> Option<String> {}
    +
    +/// Get key function type with auto traits
    +type GetKeyFn = dyn GetKeyFnT + Send + Sync;
    +
    +/// Get key resolver function type
    +impl fmt::Debug for GetKeyFn {
    +    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
    +        write!(f, "GetKeyFn")
    +    }
    +}
    +
    +/// Wrapped Get key function Trait
    +type GetArcBoxKeyFn = Arc<GetKeyFn>;
    +
     /// Rate limiter.
     #[derive(Debug, Clone)]
     pub struct Limiter {
         client: Client,
         limit: usize,
         period: Duration,
    -    cookie_name: Cow<'static, str>,
    -    session_key: Cow<'static, str>,
    +    get_key_fn: GetArcBoxKeyFn,
     }
     
     impl Limiter {
    @@ -254,8 +300,10 @@
                 redis_url: redis_url.into(),
                 limit: DEFAULT_REQUEST_LIMIT,
                 period: Duration::from_secs(DEFAULT_PERIOD_SECS),
    +            get_key_fn: None,
                 cookie_name: Cow::Borrowed(DEFAULT_COOKIE_NAME),
    -            session_key: Cow::Borrowed(DEFAULT_SESSION_KEY),
    +            #[cfg(feature = "session")]
    +            session_key: Cow::Borrowed(DEFAULT_SESSION_KEY),
             }
         }
     
    @@ -307,16 +355,14 @@
     
         #[test]
         fn test_create_limiter() {
    -        let builder = Limiter::builder("redis://127.0.0.1:6379/1");
    +        let mut builder = Limiter::builder("redis://127.0.0.1:6379/1");
             let limiter = builder.build();
             assert!(limiter.is_ok());
     
             let limiter = limiter.unwrap();
             assert_eq!(limiter.limit, 5000);
             assert_eq!(limiter.period, Duration::from_secs(3600));
    -        assert_eq!(limiter.cookie_name, DEFAULT_COOKIE_NAME);
    -        assert_eq!(limiter.session_key, DEFAULT_SESSION_KEY);
         }
     }
     
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_limitation/middleware.rs.html b/src/actix_limitation/middleware.rs.html index b98482b78..b88f646fe 100644 --- a/src/actix_limitation/middleware.rs.html +++ b/src/actix_limitation/middleware.rs.html @@ -115,17 +115,8 @@ 113 114 115 -116 -117 -118 -119 -120 -121 -122 -123
    use std::{future::Future, pin::Pin, rc::Rc};
     
    -use actix_session::SessionExt as _;
     use actix_utils::future::{ok, Ready};
     use actix_web::{
         body::EitherBody,
    @@ -186,25 +177,18 @@
                 .expect("web::Data<Limiter> should be set in app data for RateLimiter middleware")
                 .clone();
     
    -        let key = req.get_session().get(&limiter.session_key).unwrap_or(None);
    +        let key = (limiter.get_key_fn)(&req);
             let service = Rc::clone(&self.service);
     
             let key = match key {
                 Some(key) => key,
                 None => {
    -                let fallback = req.cookie(&limiter.cookie_name).map(|c| c.to_string());
    -
    -                match fallback {
    -                    Some(key) => key,
    -                    None => {
    -                        return Box::pin(async move {
    -                            service
    -                                .call(req)
    -                                .await
    -                                .map(ServiceResponse::map_into_left_body)
    -                        });
    -                    }
    -                }
    +                return Box::pin(async move {
    +                    service
    +                        .call(req)
    +                        .await
    +                        .map(ServiceResponse::map_into_left_body)
    +                });
                 }
             };
     
    @@ -247,4 +231,4 @@
         }
     }
     
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_limitation/status.rs.html b/src/actix_limitation/status.rs.html index 7fb841580..d1d33e4d3 100644 --- a/src/actix_limitation/status.rs.html +++ b/src/actix_limitation/status.rs.html @@ -237,4 +237,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_protobuf/lib.rs.html b/src/actix_protobuf/lib.rs.html index 40e4e2835..0416e06b3 100644 --- a/src/actix_protobuf/lib.rs.html +++ b/src/actix_protobuf/lib.rs.html @@ -669,4 +669,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_redis/lib.rs.html b/src/actix_redis/lib.rs.html index 57b49dda4..f6b12129e 100644 --- a/src/actix_redis/lib.rs.html +++ b/src/actix_redis/lib.rs.html @@ -57,4 +57,4 @@ #[cfg(feature = "web")] impl actix_web::ResponseError for Error {} -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_redis/redis.rs.html b/src/actix_redis/redis.rs.html index 9fe7bb0a6..21275edb9 100644 --- a/src/actix_redis/redis.rs.html +++ b/src/actix_redis/redis.rs.html @@ -285,4 +285,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_session/config.rs.html b/src/actix_session/config.rs.html index d4b4dfabc..424384df4 100644 --- a/src/actix_session/config.rs.html +++ b/src/actix_session/config.rs.html @@ -793,4 +793,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_session/lib.rs.html b/src/actix_session/lib.rs.html index 44040bd41..4708517c7 100644 --- a/src/actix_session/lib.rs.html +++ b/src/actix_session/lib.rs.html @@ -1465,4 +1465,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_session/middleware.rs.html b/src/actix_session/middleware.rs.html index 52c95875f..df072b512 100644 --- a/src/actix_session/middleware.rs.html +++ b/src/actix_session/middleware.rs.html @@ -927,4 +927,4 @@ Ok(()) } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_session/session.rs.html b/src/actix_session/session.rs.html index afce976a8..7a72c379b 100644 --- a/src/actix_session/session.rs.html +++ b/src/actix_session/session.rs.html @@ -649,4 +649,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_session/session_ext.rs.html b/src/actix_session/session_ext.rs.html index 0c6bdbbb2..988169ac3 100644 --- a/src/actix_session/session_ext.rs.html +++ b/src/actix_session/session_ext.rs.html @@ -77,4 +77,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_session/storage/cookie.rs.html b/src/actix_session/storage/cookie.rs.html index d54351228..d583c3a85 100644 --- a/src/actix_session/storage/cookie.rs.html +++ b/src/actix_session/storage/cookie.rs.html @@ -243,4 +243,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_session/storage/interface.rs.html b/src/actix_session/storage/interface.rs.html index 5d1e050de..ad3351117 100644 --- a/src/actix_session/storage/interface.rs.html +++ b/src/actix_session/storage/interface.rs.html @@ -231,4 +231,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_session/storage/mod.rs.html b/src/actix_session/storage/mod.rs.html index dcc71a9c2..8b314f3b9 100644 --- a/src/actix_session/storage/mod.rs.html +++ b/src/actix_session/storage/mod.rs.html @@ -53,4 +53,4 @@ #[cfg(feature = "redis-rs-session")] pub use redis_rs::{RedisSessionStore, RedisSessionStoreBuilder}; -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_session/storage/redis_actor.rs.html b/src/actix_session/storage/redis_actor.rs.html index 7f117ad91..f60536cb0 100644 --- a/src/actix_session/storage/redis_actor.rs.html +++ b/src/actix_session/storage/redis_actor.rs.html @@ -631,4 +631,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_session/storage/redis_rs.rs.html b/src/actix_session/storage/redis_rs.rs.html index 0e48e3cdb..1b95e56b6 100644 --- a/src/actix_session/storage/redis_rs.rs.html +++ b/src/actix_session/storage/redis_rs.rs.html @@ -695,4 +695,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_session/storage/session_key.rs.html b/src/actix_session/storage/session_key.rs.html index 3b66451c5..1e08bb355 100644 --- a/src/actix_session/storage/session_key.rs.html +++ b/src/actix_session/storage/session_key.rs.html @@ -117,4 +117,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_session/storage/utils.rs.html b/src/actix_session/storage/utils.rs.html index 3bccbfbe3..8b392abb3 100644 --- a/src/actix_session/storage/utils.rs.html +++ b/src/actix_session/storage/utils.rs.html @@ -39,4 +39,4 @@ String::from_utf8(value).unwrap().try_into().unwrap() } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_settings/error.rs.html b/src/actix_settings/error.rs.html index 6556fae51..18e7145df 100644 --- a/src/actix_settings/error.rs.html +++ b/src/actix_settings/error.rs.html @@ -277,4 +277,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_settings/lib.rs.html b/src/actix_settings/lib.rs.html index 8b11604ad..7dc928757 100644 --- a/src/actix_settings/lib.rs.html +++ b/src/actix_settings/lib.rs.html @@ -1619,4 +1619,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_settings/parse.rs.html b/src/actix_settings/parse.rs.html index e556d88d8..b33f42467 100644 --- a/src/actix_settings/parse.rs.html +++ b/src/actix_settings/parse.rs.html @@ -81,4 +81,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_settings/settings/address.rs.html b/src/actix_settings/settings/address.rs.html index ca8f9e111..177e1dfdc 100644 --- a/src/actix_settings/settings/address.rs.html +++ b/src/actix_settings/settings/address.rs.html @@ -187,4 +187,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_settings/settings/backlog.rs.html b/src/actix_settings/settings/backlog.rs.html index 6fd576891..213bccf41 100644 --- a/src/actix_settings/settings/backlog.rs.html +++ b/src/actix_settings/settings/backlog.rs.html @@ -141,4 +141,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_settings/settings/keep_alive.rs.html b/src/actix_settings/settings/keep_alive.rs.html index 88507e44b..583ddee94 100644 --- a/src/actix_settings/settings/keep_alive.rs.html +++ b/src/actix_settings/settings/keep_alive.rs.html @@ -191,4 +191,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_settings/settings/max_connection_rate.rs.html b/src/actix_settings/settings/max_connection_rate.rs.html index 57161f9dc..87c9fdcef 100644 --- a/src/actix_settings/settings/max_connection_rate.rs.html +++ b/src/actix_settings/settings/max_connection_rate.rs.html @@ -135,4 +135,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_settings/settings/max_connections.rs.html b/src/actix_settings/settings/max_connections.rs.html index 5b1cef9b5..507666f1d 100644 --- a/src/actix_settings/settings/max_connections.rs.html +++ b/src/actix_settings/settings/max_connections.rs.html @@ -135,4 +135,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_settings/settings/mod.rs.html b/src/actix_settings/settings/mod.rs.html index 68191a4e8..b3a13e546 100644 --- a/src/actix_settings/settings/mod.rs.html +++ b/src/actix_settings/settings/mod.rs.html @@ -131,4 +131,4 @@ pub tls: Tls, } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_settings/settings/mode.rs.html b/src/actix_settings/settings/mode.rs.html index d12c41a2d..fc0f36a27 100644 --- a/src/actix_settings/settings/mode.rs.html +++ b/src/actix_settings/settings/mode.rs.html @@ -55,4 +55,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_settings/settings/num_workers.rs.html b/src/actix_settings/settings/num_workers.rs.html index a3747705e..980275a8a 100644 --- a/src/actix_settings/settings/num_workers.rs.html +++ b/src/actix_settings/settings/num_workers.rs.html @@ -133,4 +133,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_settings/settings/timeout.rs.html b/src/actix_settings/settings/timeout.rs.html index 03f4392e5..c9097b3ac 100644 --- a/src/actix_settings/settings/timeout.rs.html +++ b/src/actix_settings/settings/timeout.rs.html @@ -197,4 +197,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_settings/settings/tls.rs.html b/src/actix_settings/settings/tls.rs.html index 10e11d63d..c8e85484a 100644 --- a/src/actix_settings/settings/tls.rs.html +++ b/src/actix_settings/settings/tls.rs.html @@ -37,4 +37,4 @@ pub private_key: PathBuf, } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_web_httpauth/extractors/basic.rs.html b/src/actix_web_httpauth/extractors/basic.rs.html index d7a816e03..bdaf9de68 100644 --- a/src/actix_web_httpauth/extractors/basic.rs.html +++ b/src/actix_web_httpauth/extractors/basic.rs.html @@ -223,4 +223,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_web_httpauth/extractors/bearer.rs.html b/src/actix_web_httpauth/extractors/bearer.rs.html index bbeb2f970..e3b302d8e 100644 --- a/src/actix_web_httpauth/extractors/bearer.rs.html +++ b/src/actix_web_httpauth/extractors/bearer.rs.html @@ -287,4 +287,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_web_httpauth/extractors/config.rs.html b/src/actix_web_httpauth/extractors/config.rs.html index 55d05d05a..1d661b748 100644 --- a/src/actix_web_httpauth/extractors/config.rs.html +++ b/src/actix_web_httpauth/extractors/config.rs.html @@ -41,4 +41,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_web_httpauth/extractors/errors.rs.html b/src/actix_web_httpauth/extractors/errors.rs.html index 31aa770ab..75b93f2f6 100644 --- a/src/actix_web_httpauth/extractors/errors.rs.html +++ b/src/actix_web_httpauth/extractors/errors.rs.html @@ -157,4 +157,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_web_httpauth/extractors/mod.rs.html b/src/actix_web_httpauth/extractors/mod.rs.html index 2768f8139..9fc38ddc7 100644 --- a/src/actix_web_httpauth/extractors/mod.rs.html +++ b/src/actix_web_httpauth/extractors/mod.rs.html @@ -17,4 +17,4 @@ pub use self::config::AuthExtractorConfig; pub use self::errors::AuthenticationError; -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_web_httpauth/headers/authorization/errors.rs.html b/src/actix_web_httpauth/headers/authorization/errors.rs.html index f01557061..89b84c634 100644 --- a/src/actix_web_httpauth/headers/authorization/errors.rs.html +++ b/src/actix_web_httpauth/headers/authorization/errors.rs.html @@ -143,4 +143,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_web_httpauth/headers/authorization/header.rs.html b/src/actix_web_httpauth/headers/authorization/header.rs.html index 57dc708d2..514e66890 100644 --- a/src/actix_web_httpauth/headers/authorization/header.rs.html +++ b/src/actix_web_httpauth/headers/authorization/header.rs.html @@ -167,4 +167,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_web_httpauth/headers/authorization/mod.rs.html b/src/actix_web_httpauth/headers/authorization/mod.rs.html index f8ca7791c..9525f930d 100644 --- a/src/actix_web_httpauth/headers/authorization/mod.rs.html +++ b/src/actix_web_httpauth/headers/authorization/mod.rs.html @@ -17,4 +17,4 @@ pub use self::header::Authorization; pub use self::scheme::{basic::Basic, bearer::Bearer, Scheme}; -
    \ No newline at end of file +
    \ No newline at end of file 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 1172db41f..d1107de1c 100644 --- a/src/actix_web_httpauth/headers/authorization/scheme/basic.rs.html +++ b/src/actix_web_httpauth/headers/authorization/scheme/basic.rs.html @@ -389,4 +389,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file 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 265b0dcc5..15461ab58 100644 --- a/src/actix_web_httpauth/headers/authorization/scheme/bearer.rs.html +++ b/src/actix_web_httpauth/headers/authorization/scheme/bearer.rs.html @@ -275,4 +275,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file 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 36e68a6b7..b7fa7ba45 100644 --- a/src/actix_web_httpauth/headers/authorization/scheme/mod.rs.html +++ b/src/actix_web_httpauth/headers/authorization/scheme/mod.rs.html @@ -27,4 +27,4 @@ fn parse(header: &HeaderValue) -> Result<Self, ParseError>; } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_web_httpauth/headers/mod.rs.html b/src/actix_web_httpauth/headers/mod.rs.html index 3819c5532..56b2fecee 100644 --- a/src/actix_web_httpauth/headers/mod.rs.html +++ b/src/actix_web_httpauth/headers/mod.rs.html @@ -7,4 +7,4 @@ pub mod authorization; pub mod www_authenticate; -
    \ No newline at end of file +
    \ No newline at end of file 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 e288b49a3..ec06351ea 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 @@ -271,4 +271,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file 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 328a22460..9c7422219 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 @@ -141,4 +141,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file 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 2943d7254..8b6c5e96f 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 @@ -283,4 +283,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file 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 9b2fcb213..3a8430f39 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 @@ -99,4 +99,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file 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 a4af2f7e4..7df357a97 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 @@ -53,4 +53,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file 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 8842d14c8..6d08a4e1d 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 @@ -23,4 +23,4 @@ fn to_bytes(&self) -> Bytes; } -
    \ No newline at end of file +
    \ No newline at end of file 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 8f26685a3..ffb475c55 100644 --- a/src/actix_web_httpauth/headers/www_authenticate/header.rs.html +++ b/src/actix_web_httpauth/headers/www_authenticate/header.rs.html @@ -69,4 +69,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file 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 1c5857dc4..934708c13 100644 --- a/src/actix_web_httpauth/headers/www_authenticate/mod.rs.html +++ b/src/actix_web_httpauth/headers/www_authenticate/mod.rs.html @@ -13,4 +13,4 @@ pub use self::challenge::{basic, bearer, Challenge}; pub use self::header::WwwAuthenticate; -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_web_httpauth/lib.rs.html b/src/actix_web_httpauth/lib.rs.html index 3cf7de750..e8432b429 100644 --- a/src/actix_web_httpauth/lib.rs.html +++ b/src/actix_web_httpauth/lib.rs.html @@ -47,4 +47,4 @@ pub mod middleware; mod utils; -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_web_httpauth/middleware.rs.html b/src/actix_web_httpauth/middleware.rs.html index a4ee3a466..6cf7a3b69 100644 --- a/src/actix_web_httpauth/middleware.rs.html +++ b/src/actix_web_httpauth/middleware.rs.html @@ -833,4 +833,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/src/actix_web_httpauth/utils.rs.html b/src/actix_web_httpauth/utils.rs.html index 4a26d3d25..ec55d66f7 100644 --- a/src/actix_web_httpauth/utils.rs.html +++ b/src/actix_web_httpauth/utils.rs.html @@ -223,4 +223,4 @@ } } -
    \ No newline at end of file +
    \ No newline at end of file