diff --git a/actix_cors/all.html b/actix_cors/all.html index 267e14e95..66db96296 100644 --- a/actix_cors/all.html +++ b/actix_cors/all.html @@ -1,5 +1,5 @@ List of all items in this crate -

List of all items[] +

List of all items[] -

Structs

Enums

+

Structs

Enums

\ No newline at end of file diff --git a/actix_cors/enum.CorsError.html b/actix_cors/enum.CorsError.html index 655bf6ca8..b6f3298a5 100644 --- a/actix_cors/enum.CorsError.html +++ b/actix_cors/enum.CorsError.html @@ -50,5 +50,5 @@ pub enum CorsError { WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_cors/index.html b/actix_cors/index.html index 335a0b1f4..901a98a62 100644 --- a/actix_cors/index.html +++ b/actix_cors/index.html @@ -1,5 +1,5 @@ actix_cors - Rust -

Crate actix_cors[][src]

Expand description

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

+

Crate actix_cors[][src]

Expand description

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

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

@@ -40,5 +40,5 @@

Builder for CORS middleware.

Enums

Errors that can occur when processing CORS guarded requests.

-
+
\ No newline at end of file diff --git a/actix_cors/struct.Cors.html b/actix_cors/struct.Cors.html index 161f9999b..08850f8c5 100644 --- a/actix_cors/struct.Cors.html +++ b/actix_cors/struct.Cors.html @@ -132,5 +132,5 @@ not supported. No max age (will use browser’s default).

WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_identity/all.html b/actix_identity/all.html index d31d85480..e422f1c7c 100644 --- a/actix_identity/all.html +++ b/actix_identity/all.html @@ -1,5 +1,5 @@ List of all items in this crate

List of all items[] -

Structs

Traits

+

Structs

Traits

\ No newline at end of file diff --git a/actix_identity/index.html b/actix_identity/index.html index 86e212b56..cd98a95cb 100644 --- a/actix_identity/index.html +++ b/actix_identity/index.html @@ -46,5 +46,5 @@ identity information.

Traits

Identity policy.

Helper trait that allows to get Identity.

-
+
\ No newline at end of file diff --git a/actix_identity/struct.CookieIdentityPolicy.html b/actix_identity/struct.CookieIdentityPolicy.html index 75cb483da..d82c78b98 100644 --- a/actix_identity/struct.CookieIdentityPolicy.html +++ b/actix_identity/struct.CookieIdentityPolicy.html @@ -63,5 +63,5 @@ into the issued cookies, making it immutable to users.

WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_identity/struct.Identity.html b/actix_identity/struct.Identity.html index 95d1ac49f..b3e3c4ca5 100644 --- a/actix_identity/struct.Identity.html +++ b/actix_identity/struct.Identity.html @@ -73,5 +73,5 @@ found associated with the request.

WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_identity/struct.IdentityService.html b/actix_identity/struct.IdentityService.html index 26c847826..3f6b040d3 100644 --- a/actix_identity/struct.IdentityService.html +++ b/actix_identity/struct.IdentityService.html @@ -37,5 +37,5 @@ WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_identity/trait.IdentityPolicy.html b/actix_identity/trait.IdentityPolicy.html index 87b5dd0f8..e21d90092 100644 --- a/actix_identity/trait.IdentityPolicy.html +++ b/actix_identity/trait.IdentityPolicy.html @@ -9,5 +9,5 @@

The return type of the middleware

Required methods

Parse the session from request and load data from a service identity.

Write changes to response

-

Implementors

+

Implementors

\ No newline at end of file diff --git a/actix_identity/trait.RequestIdentity.html b/actix_identity/trait.RequestIdentity.html index f1da92dff..f40a26c23 100644 --- a/actix_identity/trait.RequestIdentity.html +++ b/actix_identity/trait.RequestIdentity.html @@ -4,5 +4,5 @@ }
Expand description

Helper trait that allows to get Identity.

It could be used in middleware but identity policy must be set before any other middleware that needs identity. RequestIdentity is implemented both for ServiceRequest and HttpRequest.

-

Required methods

Implementors

+

Required methods

Implementors

\ No newline at end of file diff --git a/actix_protobuf/all.html b/actix_protobuf/all.html index 26e5a23af..cd6b4241a 100644 --- a/actix_protobuf/all.html +++ b/actix_protobuf/all.html @@ -1,5 +1,5 @@ List of all items in this crate

List of all items[] -

Structs

Enums

Traits

+

Structs

Enums

Traits

\ No newline at end of file diff --git a/actix_protobuf/enum.ProtoBufPayloadError.html b/actix_protobuf/enum.ProtoBufPayloadError.html index 67adabd3b..a8bb9c428 100644 --- a/actix_protobuf/enum.ProtoBufPayloadError.html +++ b/actix_protobuf/enum.ProtoBufPayloadError.html @@ -35,5 +35,5 @@ WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_protobuf/index.html b/actix_protobuf/index.html index f84108aa9..2136aa2ae 100644 --- a/actix_protobuf/index.html +++ b/actix_protobuf/index.html @@ -2,5 +2,5 @@

Crate actix_protobuf[][src]

Structs

Enums

Traits

-
+
\ No newline at end of file diff --git a/actix_protobuf/struct.ProtoBuf.html b/actix_protobuf/struct.ProtoBuf.html index c8b089d1e..3e83b7939 100644 --- a/actix_protobuf/struct.ProtoBuf.html +++ b/actix_protobuf/struct.ProtoBuf.html @@ -30,5 +30,5 @@ WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_protobuf/struct.ProtoBufConfig.html b/actix_protobuf/struct.ProtoBufConfig.html index 0f0894592..e47888ec5 100644 --- a/actix_protobuf/struct.ProtoBufConfig.html +++ b/actix_protobuf/struct.ProtoBufConfig.html @@ -19,5 +19,5 @@ WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_protobuf/struct.ProtoBufMessage.html b/actix_protobuf/struct.ProtoBufMessage.html index 35da6a1bb..9e8e5cd8c 100644 --- a/actix_protobuf/struct.ProtoBufMessage.html +++ b/actix_protobuf/struct.ProtoBufMessage.html @@ -85,5 +85,5 @@ future types. Read more

WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_protobuf/trait.ProtoBufResponseBuilder.html b/actix_protobuf/trait.ProtoBufResponseBuilder.html index 677cac620..d4092a737 100644 --- a/actix_protobuf/trait.ProtoBufResponseBuilder.html +++ b/actix_protobuf/trait.ProtoBufResponseBuilder.html @@ -1,5 +1,5 @@ ProtoBufResponseBuilder in actix_protobuf - Rust

Trait actix_protobuf::ProtoBufResponseBuilder[][src]

pub trait ProtoBufResponseBuilder {
     fn protobuf<T: Message>(&mut self, value: T) -> Result<HttpResponse, Error>;
-}

Required methods

Implementations on Foreign Types

Implementors

+}

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 5a74fb547..3af4e53a1 100644 --- a/actix_redis/all.html +++ b/actix_redis/all.html @@ -1,5 +1,5 @@ List of all items in this crate

List of all items[] -

Structs

Enums

+

Structs

Enums

\ No newline at end of file diff --git a/actix_redis/enum.Error.html b/actix_redis/enum.Error.html index b46ff0c93..d413fb2d6 100644 --- a/actix_redis/enum.Error.html +++ b/actix_redis/enum.Error.html @@ -34,5 +34,5 @@ WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_redis/enum.RespError.html b/actix_redis/enum.RespError.html index 930edb7e5..2dd5235ca 100644 --- a/actix_redis/enum.RespError.html +++ b/actix_redis/enum.RespError.html @@ -45,5 +45,5 @@ a proper option.

WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_redis/enum.RespValue.html b/actix_redis/enum.RespValue.html index d2e5a7ab2..07add748e 100644 --- a/actix_redis/enum.RespValue.html +++ b/actix_redis/enum.RespValue.html @@ -57,5 +57,5 @@ by ==. WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_redis/enum.SameSite.html b/actix_redis/enum.SameSite.html index d0878b00e..013ff8d86 100644 --- a/actix_redis/enum.SameSite.html +++ b/actix_redis/enum.SameSite.html @@ -78,5 +78,5 @@ by ==. WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_redis/index.html b/actix_redis/index.html index 30055abc0..c6f321488 100644 --- a/actix_redis/index.html +++ b/actix_redis/index.html @@ -8,5 +8,5 @@

General purpose actix redis error

A single RESP value, this owns the data that is read/to-be written to Redis.

The SameSite cookie attribute.

-
+
\ No newline at end of file diff --git a/actix_redis/struct.Command.html b/actix_redis/struct.Command.html index 69249b70c..284cf4310 100644 --- a/actix_redis/struct.Command.html +++ b/actix_redis/struct.Command.html @@ -23,5 +23,5 @@ successful. Read more

WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_redis/struct.RedisActor.html b/actix_redis/struct.RedisActor.html index eaf78f302..1f5d2916f 100644 --- a/actix_redis/struct.RedisActor.html +++ b/actix_redis/struct.RedisActor.html @@ -37,5 +37,5 @@ address. Read more

WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_redis/struct.RedisSession.html b/actix_redis/struct.RedisSession.html index 84f2837c4..d267d0e68 100644 --- a/actix_redis/struct.RedisSession.html +++ b/actix_redis/struct.RedisSession.html @@ -47,5 +47,5 @@ connection is secure - i.e. https.

WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_session/all.html b/actix_session/all.html index 99446a4ab..3cdd6c611 100644 --- a/actix_session/all.html +++ b/actix_session/all.html @@ -1,5 +1,5 @@ List of all items in this crate

List of all items[] -

Structs

Enums

Traits

+

Structs

Enums

Traits

\ No newline at end of file diff --git a/actix_session/enum.SessionStatus.html b/actix_session/enum.SessionStatus.html index 3f01a5450..a311c206c 100644 --- a/actix_session/enum.SessionStatus.html +++ b/actix_session/enum.SessionStatus.html @@ -43,5 +43,5 @@ by ==. WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_session/index.html b/actix_session/index.html index bfe966e27..a84724a47 100644 --- a/actix_session/index.html +++ b/actix_session/index.html @@ -41,5 +41,5 @@ modifying session data.

Status of a Session.

Traits

Extraction of a Session object.

-
+
\ No newline at end of file diff --git a/actix_session/struct.CookieSession.html b/actix_session/struct.CookieSession.html index a850fccb7..3ce297ddc 100644 --- a/actix_session/struct.CookieSession.html +++ b/actix_session/struct.CookieSession.html @@ -77,5 +77,5 @@ connection is secure - i.e. https

WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_session/struct.Session.html b/actix_session/struct.Session.html index 6ac9787e3..585b69d7d 100644 --- a/actix_session/struct.Session.html +++ b/actix_session/struct.Session.html @@ -79,5 +79,5 @@ already be JSON serialized.

WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_session/trait.UserSession.html b/actix_session/trait.UserSession.html index c0887e538..631633005 100644 --- a/actix_session/trait.UserSession.html +++ b/actix_session/trait.UserSession.html @@ -3,5 +3,5 @@ fn get_session(&self) -> Session; }
Expand description

Extraction of a Session object.

Required methods

Extract the Session object

-

Implementations on Foreign Types

Implementors

+

Implementations on Foreign Types

Implementors

\ No newline at end of file diff --git a/actix_web_httpauth/all.html b/actix_web_httpauth/all.html index a0d9feaa6..217533b43 100644 --- a/actix_web_httpauth/all.html +++ b/actix_web_httpauth/all.html @@ -1,5 +1,5 @@ List of all items in this crate

List of all items[] -

Structs

Enums

Traits

+

Structs

Enums

Traits

\ 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 a65356ebf..92b0a39c0 100644 --- a/actix_web_httpauth/extractors/basic/index.html +++ b/actix_web_httpauth/extractors/basic/index.html @@ -4,5 +4,5 @@

Extractor for HTTP Basic auth.

BasicAuth extractor configuration, used for WWW-Authenticate header later.

-
+
\ 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 78da06cf8..9f6a0a552 100644 --- a/actix_web_httpauth/extractors/basic/struct.BasicAuth.html +++ b/actix_web_httpauth/extractors/basic/struct.BasicAuth.html @@ -56,5 +56,5 @@ response header.

WithDispatch wrapper. Read more

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

-
+
\ 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 df25791c8..a1447fb10 100644 --- a/actix_web_httpauth/extractors/basic/struct.Config.html +++ b/actix_web_httpauth/extractors/basic/struct.Config.html @@ -32,5 +32,5 @@ described in HTTP/1.1 WithDispatch wrapper. Read more

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

-
+
\ 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 4ba967390..f7e19f8e2 100644 --- a/actix_web_httpauth/extractors/bearer/enum.Error.html +++ b/actix_web_httpauth/extractors/bearer/enum.Error.html @@ -56,5 +56,5 @@ operator. WithDispatch wrapper. Read more

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

-
+
\ 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 995e427e7..419e50efa 100644 --- a/actix_web_httpauth/extractors/bearer/index.html +++ b/actix_web_httpauth/extractors/bearer/index.html @@ -5,5 +5,5 @@
Config

BearerAuth extractor configuration.

Enums

Bearer authorization error types, described in RFC 6750

-
+
\ 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 8bd0fc7ca..92cea78f1 100644 --- a/actix_web_httpauth/extractors/bearer/struct.BearerAuth.html +++ b/actix_web_httpauth/extractors/bearer/struct.BearerAuth.html @@ -58,5 +58,5 @@ response header.

WithDispatch wrapper. Read more

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

-
+
\ 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 b2790a163..b9d7d7aa6 100644 --- a/actix_web_httpauth/extractors/bearer/struct.Config.html +++ b/actix_web_httpauth/extractors/bearer/struct.Config.html @@ -35,5 +35,5 @@ described in HTTP/1.1 WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_web_httpauth/extractors/index.html b/actix_web_httpauth/extractors/index.html index a29435b13..d4f8729b9 100644 --- a/actix_web_httpauth/extractors/index.html +++ b/actix_web_httpauth/extractors/index.html @@ -10,5 +10,5 @@ HTTP authentication scheme credentials from the request.

AuthExtractorConfig

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

-
+
\ 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 e15f30953..7c9ffdea5 100644 --- a/actix_web_httpauth/extractors/struct.AuthenticationError.html +++ b/actix_web_httpauth/extractors/struct.AuthenticationError.html @@ -43,5 +43,5 @@ this lib tries to stick to the RFC, so it might be unreasonable.

WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/actix_web_httpauth/extractors/trait.AuthExtractor.html b/actix_web_httpauth/extractors/trait.AuthExtractor.html index 740c9137a..a14cebb7e 100644 --- a/actix_web_httpauth/extractors/trait.AuthExtractor.html +++ b/actix_web_httpauth/extractors/trait.AuthExtractor.html @@ -13,5 +13,5 @@ authentication scheme.

Associated Types

The associated error which can be returned.

Future that resolves into extracted credentials type.

Required methods

Parse the authentication credentials from the actix’ ServiceRequest.

-

Implementations on Foreign Types

Implementors

+

Implementations on Foreign Types

Implementors

\ 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 db748a5b5..940a0d307 100644 --- a/actix_web_httpauth/extractors/trait.AuthExtractorConfig.html +++ b/actix_web_httpauth/extractors/trait.AuthExtractorConfig.html @@ -6,5 +6,5 @@ for the authentication extractors.

Associated Types

Associated challenge type.

Required methods

Convert the config instance into a HTTP challenge.

-

Implementors

+

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 39a34bbef..084d1f383 100644 --- a/actix_web_httpauth/headers/authorization/enum.ParseError.html +++ b/actix_web_httpauth/headers/authorization/enum.ParseError.html @@ -43,5 +43,5 @@ your own authentication scheme.

WithDispatch wrapper. Read more

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

-
+
\ 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 2e6fc6ea2..8f00b24ad 100644 --- a/actix_web_httpauth/headers/authorization/index.html +++ b/actix_web_httpauth/headers/authorization/index.html @@ -9,5 +9,5 @@

Traits

Authentication scheme for Authorization header.

-
+
\ 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 931f79b84..8d3723929 100644 --- a/actix_web_httpauth/headers/authorization/struct.Authorization.html +++ b/actix_web_httpauth/headers/authorization/struct.Authorization.html @@ -67,5 +67,5 @@ operator. WithDispatch wrapper. Read more

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

-
+
\ 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 f78253e83..dd0758688 100644 --- a/actix_web_httpauth/headers/authorization/struct.Basic.html +++ b/actix_web_httpauth/headers/authorization/struct.Basic.html @@ -50,5 +50,5 @@ operator. WithDispatch wrapper. Read more

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

-
+
\ 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 8b866cb3c..4c5e12c8d 100644 --- a/actix_web_httpauth/headers/authorization/struct.Bearer.html +++ b/actix_web_httpauth/headers/authorization/struct.Bearer.html @@ -50,5 +50,5 @@ operator. WithDispatch wrapper. Read more

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

-
+
\ 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 ab3453a89..693c565d4 100644 --- a/actix_web_httpauth/headers/authorization/trait.Scheme.html +++ b/actix_web_httpauth/headers/authorization/trait.Scheme.html @@ -4,5 +4,5 @@ }
Expand description

Authentication scheme for Authorization header.

Required methods

Try to parse the authentication scheme from the Authorization header.

-

Implementors

+

Implementors

\ No newline at end of file diff --git a/actix_web_httpauth/headers/index.html b/actix_web_httpauth/headers/index.html index d457ce4f4..0394d6c1c 100644 --- a/actix_web_httpauth/headers/index.html +++ b/actix_web_httpauth/headers/index.html @@ -3,5 +3,5 @@

Modules

Authorization header and various auth schemes

WWW-Authenticate header and various auth challenges

-
+
\ 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 524a9dacc..7020f98d6 100644 --- a/actix_web_httpauth/headers/www_authenticate/basic/index.html +++ b/actix_web_httpauth/headers/www_authenticate/basic/index.html @@ -3,5 +3,5 @@

Structs

Challenge for WWW-Authenticate header with HTTP Basic auth scheme, described in RFC 7617

-
+
\ 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 4958e4eb3..8e450a7a9 100644 --- a/actix_web_httpauth/headers/www_authenticate/basic/struct.Basic.html +++ b/actix_web_httpauth/headers/www_authenticate/basic/struct.Basic.html @@ -68,5 +68,5 @@ operator. WithDispatch wrapper. Read more

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

-
+
\ 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 ae65568da..fee207ae2 100644 --- a/actix_web_httpauth/headers/www_authenticate/bearer/enum.Error.html +++ b/actix_web_httpauth/headers/www_authenticate/bearer/enum.Error.html @@ -56,5 +56,5 @@ operator. WithDispatch wrapper. Read more

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

-
+
\ 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 1aa74e435..b037fcd1e 100644 --- a/actix_web_httpauth/headers/www_authenticate/bearer/index.html +++ b/actix_web_httpauth/headers/www_authenticate/bearer/index.html @@ -6,5 +6,5 @@ described in RFC 6750
BearerBuilder

Builder for the Bearer challenge.

Enums

Bearer authorization error types, described in RFC 6750

-
+
\ 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 4939324d1..7357a2ebe 100644 --- a/actix_web_httpauth/headers/www_authenticate/bearer/struct.Bearer.html +++ b/actix_web_httpauth/headers/www_authenticate/bearer/struct.Bearer.html @@ -73,5 +73,5 @@ operator. WithDispatch wrapper. Read more

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

-
+
\ 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 5873abd06..e6197bb04 100644 --- a/actix_web_httpauth/headers/www_authenticate/bearer/struct.BearerBuilder.html +++ b/actix_web_httpauth/headers/www_authenticate/bearer/struct.BearerBuilder.html @@ -29,5 +29,5 @@ neither this Builder or BearerWithDispatch wrapper. Read more

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

-
+
\ 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 4ef9e7fe1..88b524d5c 100644 --- a/actix_web_httpauth/headers/www_authenticate/index.html +++ b/actix_web_httpauth/headers/www_authenticate/index.html @@ -7,5 +7,5 @@

WWW-Authenticate header, described in RFC 7235

Traits

Authentication challenge for WWW-Authenticate header.

-
+
\ No newline at end of file diff --git a/actix_web_httpauth/headers/www_authenticate/struct.WwwAuthenticate.html b/actix_web_httpauth/headers/www_authenticate/struct.WwwAuthenticate.html index 6e99ceb53..27cbadc56 100644 --- a/actix_web_httpauth/headers/www_authenticate/struct.WwwAuthenticate.html +++ b/actix_web_httpauth/headers/www_authenticate/struct.WwwAuthenticate.html @@ -49,5 +49,5 @@ operator. WithDispatch wrapper. Read more

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

-
+
\ 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 a07097454..d1f215bc3 100644 --- a/actix_web_httpauth/headers/www_authenticate/trait.Challenge.html +++ b/actix_web_httpauth/headers/www_authenticate/trait.Challenge.html @@ -3,5 +3,5 @@ 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

+

Implementors

\ No newline at end of file diff --git a/actix_web_httpauth/index.html b/actix_web_httpauth/index.html index 05f0fd268..ff31ce817 100644 --- a/actix_web_httpauth/index.html +++ b/actix_web_httpauth/index.html @@ -15,5 +15,5 @@

Type-safe authentication information extractors

Typed HTTP headers

HTTP Authentication middleware.

-
+
\ No newline at end of file diff --git a/actix_web_httpauth/middleware/index.html b/actix_web_httpauth/middleware/index.html index 6e5831296..86264207f 100644 --- a/actix_web_httpauth/middleware/index.html +++ b/actix_web_httpauth/middleware/index.html @@ -2,5 +2,5 @@

Module actix_web_httpauth::middleware[][src]

Expand description

HTTP Authentication middleware.

Structs

Middleware for checking HTTP authentication.

-
+
\ 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 45bf04361..499c136ca 100644 --- a/actix_web_httpauth/middleware/struct.HttpAuthentication.html +++ b/actix_web_httpauth/middleware/struct.HttpAuthentication.html @@ -66,5 +66,5 @@ validation callback F.

WithDispatch wrapper. Read more

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

-
+
\ No newline at end of file diff --git a/settings.html b/settings.html index 32ee73abf..f86a7775b 100644 --- a/settings.html +++ b/settings.html @@ -1,4 +1,4 @@ Rustdoc settings

Rustdoc settings

Theme preferences
Use system theme
Preferred dark theme
Preferred light theme
-
Auto-hide item contents for large items.
Auto-hide item methods' documentation
Auto-hide trait implementation documentation
Directly go to item in search if there is only one result
Show line numbers on code examples
Disable keyboard shortcuts
+
Auto-hide item contents for large items.
Auto-hide item methods' documentation
Auto-hide trait implementation documentation
Directly go to item in search if there is only one result
Show line numbers on code examples
Disable keyboard shortcuts
\ 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 c284fc257..657818b4a 100644 --- a/src/actix_cors/all_or_some.rs.html +++ b/src/actix_cors/all_or_some.rs.html @@ -110,5 +110,5 @@ assert!(AllOrSome::Some(()).is_some()); } -
+
\ No newline at end of file diff --git a/src/actix_cors/builder.rs.html b/src/actix_cors/builder.rs.html index ae628b5c3..f3aa3ddf6 100644 --- a/src/actix_cors/builder.rs.html +++ b/src/actix_cors/builder.rs.html @@ -1288,5 +1288,5 @@ } } -
+
\ No newline at end of file diff --git a/src/actix_cors/error.rs.html b/src/actix_cors/error.rs.html index 9fd63e0e3..e011b2074 100644 --- a/src/actix_cors/error.rs.html +++ b/src/actix_cors/error.rs.html @@ -100,5 +100,5 @@ } } -
+
\ No newline at end of file diff --git a/src/actix_cors/inner.rs.html b/src/actix_cors/inner.rs.html index 70f476e04..015ca8916 100644 --- a/src/actix_cors/inner.rs.html +++ b/src/actix_cors/inner.rs.html @@ -660,5 +660,5 @@ } } -
+
\ No newline at end of file diff --git a/src/actix_cors/lib.rs.html b/src/actix_cors/lib.rs.html index 5457b03e0..3faac47c7 100644 --- a/src/actix_cors/lib.rs.html +++ b/src/actix_cors/lib.rs.html @@ -120,5 +120,5 @@ use inner::{Inner, OriginFn}; pub use middleware::CorsMiddleware; -
+
\ No newline at end of file diff --git a/src/actix_cors/middleware.rs.html b/src/actix_cors/middleware.rs.html index 3a6e81530..b2b12e618 100644 --- a/src/actix_cors/middleware.rs.html +++ b/src/actix_cors/middleware.rs.html @@ -232,19 +232,6 @@ 231 232 233 -234 -235 -236 -237 -238 -239 -240 -241 -242 -243 -244 -245 -246
use std::{collections::HashSet, convert::TryInto, error::Error as StdError, rc::Rc};
 
 use actix_utils::future::ok;
@@ -410,10 +397,6 @@
                 }
             }
 
-            let (req, pl) = req.into_parts();
-            let req2 = req.clone();
-            let req = ServiceRequest::from_parts(req, pl);
-
             let inner = Rc::clone(&self.inner);
             let fut = self.service.call(req);
 
@@ -421,16 +404,7 @@
                 let res = fut.await;
 
                 if origin.is_some() {
-                    let res = match res {
-                        Ok(res) => res,
-                        Err(err) => {
-                            let res = HttpResponse::from_error(err);
-                            let res = ServiceResponse::new(req2, res);
-                            return Ok(res.map_into_right_body());
-                        }
-                    };
-
-                    Ok(Self::augment_response(&inner, res))
+                    Ok(Self::augment_response(&inner, res?))
                 } else {
                     res
                 }
@@ -492,5 +466,5 @@
     }
 }
 
-
+
\ No newline at end of file diff --git a/src/actix_identity/cookie.rs.html b/src/actix_identity/cookie.rs.html index 9db656e48..ebb1c4b34 100644 --- a/src/actix_identity/cookie.rs.html +++ b/src/actix_identity/cookie.rs.html @@ -1658,5 +1658,5 @@ } } -
+
\ No newline at end of file diff --git a/src/actix_identity/identity.rs.html b/src/actix_identity/identity.rs.html index cbed03c45..fee140eb1 100644 --- a/src/actix_identity/identity.rs.html +++ b/src/actix_identity/identity.rs.html @@ -200,5 +200,5 @@ } } -
+
\ No newline at end of file diff --git a/src/actix_identity/lib.rs.html b/src/actix_identity/lib.rs.html index 2df514570..c1e6a4801 100644 --- a/src/actix_identity/lib.rs.html +++ b/src/actix_identity/lib.rs.html @@ -314,5 +314,5 @@ } } -
+
\ No newline at end of file diff --git a/src/actix_identity/middleware.rs.html b/src/actix_identity/middleware.rs.html index b42320d27..32d23ffca 100644 --- a/src/actix_identity/middleware.rs.html +++ b/src/actix_identity/middleware.rs.html @@ -346,5 +346,5 @@ } } -
+
\ No newline at end of file diff --git a/src/actix_protobuf/lib.rs.html b/src/actix_protobuf/lib.rs.html index f4d4022b0..5af7bb44e 100644 --- a/src/actix_protobuf/lib.rs.html +++ b/src/actix_protobuf/lib.rs.html @@ -660,5 +660,5 @@ } } -
+
\ No newline at end of file diff --git a/src/actix_redis/lib.rs.html b/src/actix_redis/lib.rs.html index d6cd2bef2..1b3a97437 100644 --- a/src/actix_redis/lib.rs.html +++ b/src/actix_redis/lib.rs.html @@ -72,5 +72,5 @@ pub use redis_async::error::Error as RespError; pub use redis_async::resp::RespValue; -
+
\ No newline at end of file diff --git a/src/actix_redis/redis.rs.html b/src/actix_redis/redis.rs.html index 7f3d7702c..aa3f8505d 100644 --- a/src/actix_redis/redis.rs.html +++ b/src/actix_redis/redis.rs.html @@ -282,5 +282,5 @@ } } -
+
\ No newline at end of file diff --git a/src/actix_redis/session.rs.html b/src/actix_redis/session.rs.html index 359e3434c..1047035f3 100644 --- a/src/actix_redis/session.rs.html +++ b/src/actix_redis/session.rs.html @@ -1368,5 +1368,5 @@ } } -
+
\ No newline at end of file diff --git a/src/actix_session/cookie.rs.html b/src/actix_session/cookie.rs.html index c561e7787..582d090ae 100644 --- a/src/actix_session/cookie.rs.html +++ b/src/actix_session/cookie.rs.html @@ -1128,5 +1128,5 @@ } } -
+
\ No newline at end of file diff --git a/src/actix_session/lib.rs.html b/src/actix_session/lib.rs.html index 46ae8a75e..3f749dd4b 100644 --- a/src/actix_session/lib.rs.html +++ b/src/actix_session/lib.rs.html @@ -760,5 +760,5 @@ } } -
+
\ 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 0439815c2..152d39441 100644 --- a/src/actix_web_httpauth/extractors/basic.rs.html +++ b/src/actix_web_httpauth/extractors/basic.rs.html @@ -296,5 +296,5 @@ } } -
+
\ 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 7dd3bca70..d2a0e35a6 100644 --- a/src/actix_web_httpauth/extractors/bearer.rs.html +++ b/src/actix_web_httpauth/extractors/bearer.rs.html @@ -348,5 +348,5 @@ } } -
+
\ 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 d41bddce0..ace3a9236 100644 --- a/src/actix_web_httpauth/extractors/config.rs.html +++ b/src/actix_web_httpauth/extractors/config.rs.html @@ -46,5 +46,5 @@ } } -
+
\ 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 76f55a8e2..05bb3e5d7 100644 --- a/src/actix_web_httpauth/extractors/errors.rs.html +++ b/src/actix_web_httpauth/extractors/errors.rs.html @@ -164,5 +164,5 @@ } } -
+
\ 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 af8bfd7bd..f98a9aa90 100644 --- a/src/actix_web_httpauth/extractors/mod.rs.html +++ b/src/actix_web_httpauth/extractors/mod.rs.html @@ -206,5 +206,5 @@ } } -
+
\ 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 1bc295a9b..a92918679 100644 --- a/src/actix_web_httpauth/headers/authorization/errors.rs.html +++ b/src/actix_web_httpauth/headers/authorization/errors.rs.html @@ -138,5 +138,5 @@ } } -
+
\ 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 fc4b6e51d..e907e54d0 100644 --- a/src/actix_web_httpauth/headers/authorization/header.rs.html +++ b/src/actix_web_httpauth/headers/authorization/header.rs.html @@ -202,5 +202,5 @@ } } -
+
\ 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 05232e961..3b3fd10cf 100644 --- a/src/actix_web_httpauth/headers/authorization/mod.rs.html +++ b/src/actix_web_httpauth/headers/authorization/mod.rs.html @@ -22,5 +22,5 @@ pub use self::scheme::bearer::Bearer; pub use self::scheme::Scheme; -
+
\ 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 9b8cd8113..e30ffd3e8 100644 --- a/src/actix_web_httpauth/headers/authorization/scheme/basic.rs.html +++ b/src/actix_web_httpauth/headers/authorization/scheme/basic.rs.html @@ -394,5 +394,5 @@ } } -
+
\ 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 8218efed6..ea2abbfc8 100644 --- a/src/actix_web_httpauth/headers/authorization/scheme/bearer.rs.html +++ b/src/actix_web_httpauth/headers/authorization/scheme/bearer.rs.html @@ -276,5 +276,5 @@ } } -
+
\ 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 efdf560d4..b32b73b69 100644 --- a/src/actix_web_httpauth/headers/authorization/scheme/mod.rs.html +++ b/src/actix_web_httpauth/headers/authorization/scheme/mod.rs.html @@ -30,5 +30,5 @@ fn parse(header: &HeaderValue) -> Result<Self, ParseError>; } -
+
\ 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 3a1282482..7f8814e19 100644 --- a/src/actix_web_httpauth/headers/mod.rs.html +++ b/src/actix_web_httpauth/headers/mod.rs.html @@ -8,5 +8,5 @@ pub mod authorization; pub mod www_authenticate; -
+
\ 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 93347c9c7..0c854a73c 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 @@ -280,5 +280,5 @@ } } -
+
\ 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 2333ceb64..c52cea56a 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 @@ -126,5 +126,5 @@ } } -
+
\ 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 634cfd653..dea761534 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 @@ -278,5 +278,5 @@ } } -
+
\ 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 3b92651ec..602bf8785 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 @@ -102,5 +102,5 @@ } } -
+
\ 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 e21da3ae7..2c5d2b63c 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 @@ -24,5 +24,5 @@ #[cfg(test)] mod tests; -
+
\ 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 57dc5c2d3..6e1fc0d9c 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 @@ -26,5 +26,5 @@ fn to_bytes(&self) -> Bytes; } -
+
\ 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 65dd2844e..d06f61fe8 100644 --- a/src/actix_web_httpauth/headers/www_authenticate/header.rs.html +++ b/src/actix_web_httpauth/headers/www_authenticate/header.rs.html @@ -62,5 +62,5 @@ } } -
+
\ 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 5f48b1471..37689bc27 100644 --- a/src/actix_web_httpauth/headers/www_authenticate/mod.rs.html +++ b/src/actix_web_httpauth/headers/www_authenticate/mod.rs.html @@ -18,5 +18,5 @@ pub use self::challenge::Challenge; pub use self::header::WwwAuthenticate; -
+
\ 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 c6a5df22a..615213944 100644 --- a/src/actix_web_httpauth/lib.rs.html +++ b/src/actix_web_httpauth/lib.rs.html @@ -50,5 +50,5 @@ pub mod middleware; mod utils; -
+
\ 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 cdaf15514..1e435e0de 100644 --- a/src/actix_web_httpauth/middleware.rs.html +++ b/src/actix_web_httpauth/middleware.rs.html @@ -720,5 +720,5 @@ } } -
+
\ 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 42d66fcaa..bb89d95fd 100644 --- a/src/actix_web_httpauth/utils.rs.html +++ b/src/actix_web_httpauth/utils.rs.html @@ -222,5 +222,5 @@ } } -
+
\ No newline at end of file