diff --git a/actix_limitation/all.html b/actix_limitation/all.html new file mode 100644 index 000000000..5e2238b2b --- /dev/null +++ b/actix_limitation/all.html @@ -0,0 +1,7 @@ +List of all items in this crate + +

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 new file mode 100644 index 000000000..689253e43 --- /dev/null +++ b/actix_limitation/constant.DEFAULT_COOKIE_NAME.html @@ -0,0 +1,8 @@ +DEFAULT_COOKIE_NAME in actix_limitation - Rust + +
pub const DEFAULT_COOKIE_NAME: &str = "sid";
+ \ No newline at end of file diff --git a/actix_limitation/constant.DEFAULT_PERIOD_SECS.html b/actix_limitation/constant.DEFAULT_PERIOD_SECS.html new file mode 100644 index 000000000..8b126a2fa --- /dev/null +++ b/actix_limitation/constant.DEFAULT_PERIOD_SECS.html @@ -0,0 +1,8 @@ +DEFAULT_PERIOD_SECS in actix_limitation - Rust + +
pub const DEFAULT_PERIOD_SECS: u64 = 3600;
+ \ No newline at end of file diff --git a/actix_limitation/constant.DEFAULT_REQUEST_LIMIT.html b/actix_limitation/constant.DEFAULT_REQUEST_LIMIT.html new file mode 100644 index 000000000..6e4594b57 --- /dev/null +++ b/actix_limitation/constant.DEFAULT_REQUEST_LIMIT.html @@ -0,0 +1,8 @@ +DEFAULT_REQUEST_LIMIT in actix_limitation - Rust + +
pub const DEFAULT_REQUEST_LIMIT: usize = 5000;
+ \ No newline at end of file diff --git a/actix_limitation/constant.DEFAULT_SESSION_KEY.html b/actix_limitation/constant.DEFAULT_SESSION_KEY.html new file mode 100644 index 000000000..20a94c842 --- /dev/null +++ b/actix_limitation/constant.DEFAULT_SESSION_KEY.html @@ -0,0 +1,8 @@ +DEFAULT_SESSION_KEY in actix_limitation - Rust + +
pub const DEFAULT_SESSION_KEY: &str = "rate-api-id";
+ \ No newline at end of file diff --git a/actix_limitation/core/builder/struct.Builder.html b/actix_limitation/core/builder/struct.Builder.html new file mode 100644 index 000000000..9e3c31f75 --- /dev/null +++ b/actix_limitation/core/builder/struct.Builder.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../actix_limitation/struct.Builder.html...

+ + + \ No newline at end of file diff --git a/actix_limitation/core/errors/enum.Error.html b/actix_limitation/core/errors/enum.Error.html new file mode 100644 index 000000000..674dbd1f5 --- /dev/null +++ b/actix_limitation/core/errors/enum.Error.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../actix_limitation/enum.Error.html...

+ + + \ No newline at end of file diff --git a/actix_limitation/core/status/struct.Status.html b/actix_limitation/core/status/struct.Status.html new file mode 100644 index 000000000..8fe5ac2e3 --- /dev/null +++ b/actix_limitation/core/status/struct.Status.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../actix_limitation/struct.Status.html...

+ + + \ No newline at end of file diff --git a/actix_limitation/enum.Error.html b/actix_limitation/enum.Error.html new file mode 100644 index 000000000..d31e60e02 --- /dev/null +++ b/actix_limitation/enum.Error.html @@ -0,0 +1,45 @@ +Error in actix_limitation - Rust + +
pub enum Error {
+    Client(RedisError),
+    LimitExceeded(Status),
+    Time(ComponentRange),
+    Other(String),
+}

Variants

Client(RedisError)

The Redis client failed to connect or run a query.

+

LimitExceeded(Status)

The limit is exceeded for a key.

+

Time(ComponentRange)

A time conversion failed.

+

Other(String)

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

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

Returns a stack backtrace, if available, of where this error occurred. 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

+

Performs the conversion.

+

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

+

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).

+

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 +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_limitation/index.html b/actix_limitation/index.html new file mode 100644 index 000000000..d3cc25757 --- /dev/null +++ b/actix_limitation/index.html @@ -0,0 +1,47 @@ +actix_limitation - Rust + +
Expand description

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

+
[dependencies]
+actix-limitation = "0.1.4"
+actix-web = "4"
+
use std::time::Duration;
+use actix_web::{get, web, App, HttpServer, Responder};
+use actix_limitation::{Limiter, RateLimiter};
+
+#[get("/{id}/{name}")]
+async fn index(info: web::Path<(u32, String)>) -> impl Responder {
+    format!("Hello {}! id:{}", info.1, info.0)
+}
+
+#[actix_web::main]
+async fn main() -> std::io::Result<()> {
+    let limiter = web::Data::new(
+        Limiter::build("redis://127.0.0.1")
+            .cookie_name("session-id".to_owned())
+            .session_key("rate-api-id".to_owned())
+            .limit(5000)
+            .period(Duration::from_secs(3600)) // 60 minutes
+            .finish()
+            .expect("Can't build actix-limiter"),
+    );
+
+    HttpServer::new(move || {
+        App::new()
+            .wrap(RateLimiter)
+            .app_data(limiter.clone())
+            .service(index)
+    })
+    .bind("127.0.0.1:8080")?
+    .run()
+    .await
+}
+

Structs

+

A report for a given key containing the limit status.

+

Enums

+

Constants

+
+ \ No newline at end of file diff --git a/actix_limitation/middleware/struct.RateLimiter.html b/actix_limitation/middleware/struct.RateLimiter.html new file mode 100644 index 000000000..ef00a10a3 --- /dev/null +++ b/actix_limitation/middleware/struct.RateLimiter.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../actix_limitation/struct.RateLimiter.html...

+ + + \ No newline at end of file diff --git a/actix_limitation/sidebar-items.js b/actix_limitation/sidebar-items.js new file mode 100644 index 000000000..fee221c25 --- /dev/null +++ b/actix_limitation/sidebar-items.js @@ -0,0 +1 @@ +initSidebarItems({"constant":[["DEFAULT_COOKIE_NAME",""],["DEFAULT_PERIOD_SECS",""],["DEFAULT_REQUEST_LIMIT",""],["DEFAULT_SESSION_KEY",""]],"enum":[["Error",""]],"struct":[["Builder",""],["Limiter",""],["RateLimiter",""],["Status","A report for a given key containing the limit status."]]}); \ No newline at end of file diff --git a/actix_limitation/struct.Builder.html b/actix_limitation/struct.Builder.html new file mode 100644 index 000000000..75fc1bd60 --- /dev/null +++ b/actix_limitation/struct.Builder.html @@ -0,0 +1,31 @@ +Builder in actix_limitation - Rust + +
pub struct Builder<'builder> { /* private fields */ }

Implementations

Finializes and returns a Limiter.

+

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

+

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).

+

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 +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_limitation/struct.Limiter.html b/actix_limitation/struct.Limiter.html new file mode 100644 index 000000000..421796dea --- /dev/null +++ b/actix_limitation/struct.Limiter.html @@ -0,0 +1,34 @@ +Limiter in actix_limitation - Rust + +
pub struct Limiter { /* private fields */ }

Implementations

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.

+

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).

+

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.

+

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

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

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 +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_limitation/struct.RateLimiter.html b/actix_limitation/struct.RateLimiter.html new file mode 100644 index 000000000..5e479dd3f --- /dev/null +++ b/actix_limitation/struct.RateLimiter.html @@ -0,0 +1,34 @@ +RateLimiter in actix_limitation - Rust + +
pub struct RateLimiter;

Trait Implementations

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.

+

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).

+

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 +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_limitation/struct.Status.html b/actix_limitation/struct.Status.html new file mode 100644 index 000000000..98504edea --- /dev/null +++ b/actix_limitation/struct.Status.html @@ -0,0 +1,41 @@ +Status in actix_limitation - Rust + +
pub struct Status { /* private fields */ }
Expand description

A report for a given key containing the limit status.

+

The status contains the following information:

+
    +
  • [limit]: the maximum number of requests allowed in the current period
  • +
  • [remaining]: how many requests are left in the current period
  • +
  • [reset_epoch_utc]: a UNIX timestamp in UTC approximately when the next period will begin
  • +
+

Implementations

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.

+

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).

+

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.

+

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

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

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 +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/crates.js b/crates.js index be1d5a7c2..11b614ad6 100644 --- a/crates.js +++ b/crates.js @@ -1 +1 @@ -window.ALL_CRATES = ["actix_cors","actix_identity","actix_protobuf","actix_redis","actix_session","actix_web_httpauth"]; \ No newline at end of file +window.ALL_CRATES = ["actix_cors","actix_identity","actix_limitation","actix_protobuf","actix_redis","actix_session","actix_web_httpauth"]; \ 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 46fae993f..b0b16ff61 100644 --- a/implementors/actix_service/transform/trait.Transform.js +++ b/implementors/actix_service/transform/trait.Transform.js @@ -1,6 +1,7 @@ (function() {var implementors = {}; implementors["actix_cors"] = [{"text":"impl<S, B> Transform<S, ServiceRequest> for Cors where
    S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error>,
    S::Future: 'static,
    B: MessageBody + 'static, 
","synthetic":false,"types":["actix_cors::builder::Cors"]}]; implementors["actix_identity"] = [{"text":"impl<S, T, B> Transform<S, ServiceRequest> for IdentityService<T> where
    S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error> + 'static,
    S::Future: 'static,
    T: IdentityPolicy,
    B: MessageBody + 'static, 
","synthetic":false,"types":["actix_identity::middleware::IdentityService"]}]; +implementors["actix_limitation"] = [{"text":"impl<S, B> Transform<S, ServiceRequest> for RateLimiter where
    S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error> + 'static,
    S::Future: 'static,
    B: 'static, 
","synthetic":false,"types":["actix_limitation::middleware::RateLimiter"]}]; implementors["actix_session"] = [{"text":"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, 
","synthetic":false,"types":["actix_session::middleware::SessionMiddleware"]}]; implementors["actix_web_httpauth"] = [{"text":"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>> + 'static,
    T: AuthExtractor + 'static,
    B: MessageBody + 'static, 
","synthetic":false,"types":["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/clone/trait.Clone.js b/implementors/core/clone/trait.Clone.js index efccf8f19..21176bc1e 100644 --- a/implementors/core/clone/trait.Clone.js +++ b/implementors/core/clone/trait.Clone.js @@ -1,6 +1,7 @@ (function() {var implementors = {}; implementors["actix_cors"] = [{"text":"impl Clone for CorsError","synthetic":false,"types":["actix_cors::error::CorsError"]}]; implementors["actix_identity"] = [{"text":"impl Clone for Identity","synthetic":false,"types":["actix_identity::identity::Identity"]}]; +implementors["actix_limitation"] = [{"text":"impl Clone for Limiter","synthetic":false,"types":["actix_limitation::Limiter"]},{"text":"impl Clone for Status","synthetic":false,"types":["actix_limitation::core::status::Status"]}]; implementors["actix_session"] = [{"text":"impl<Store: Clone + SessionStore> Clone for SessionMiddleware<Store>","synthetic":false,"types":["actix_session::middleware::SessionMiddleware"]},{"text":"impl Clone for SessionLength","synthetic":false,"types":["actix_session::middleware::SessionLength"]},{"text":"impl Clone for CookieContentSecurity","synthetic":false,"types":["actix_session::middleware::CookieContentSecurity"]},{"text":"impl Clone for SessionStatus","synthetic":false,"types":["actix_session::session::SessionStatus"]},{"text":"impl Clone for RedisSessionStore","synthetic":false,"types":["actix_session::storage::redis_rs::RedisSessionStore"]}]; implementors["actix_web_httpauth"] = [{"text":"impl Clone for Config","synthetic":false,"types":["actix_web_httpauth::extractors::basic::Config"]},{"text":"impl Clone for BasicAuth","synthetic":false,"types":["actix_web_httpauth::extractors::basic::BasicAuth"]},{"text":"impl Clone for Config","synthetic":false,"types":["actix_web_httpauth::extractors::bearer::Config"]},{"text":"impl Clone for BearerAuth","synthetic":false,"types":["actix_web_httpauth::extractors::bearer::BearerAuth"]},{"text":"impl<S: Clone + Scheme> Clone for Authorization<S>","synthetic":false,"types":["actix_web_httpauth::headers::authorization::header::Authorization"]},{"text":"impl Clone for Basic","synthetic":false,"types":["actix_web_httpauth::headers::authorization::scheme::basic::Basic"]},{"text":"impl Clone for Bearer","synthetic":false,"types":["actix_web_httpauth::headers::authorization::scheme::bearer::Bearer"]},{"text":"impl Clone for Basic","synthetic":false,"types":["actix_web_httpauth::headers::www_authenticate::challenge::basic::Basic"]},{"text":"impl Clone for Bearer","synthetic":false,"types":["actix_web_httpauth::headers::www_authenticate::challenge::bearer::challenge::Bearer"]},{"text":"impl Clone for Error","synthetic":false,"types":["actix_web_httpauth::headers::www_authenticate::challenge::bearer::errors::Error"]},{"text":"impl<C: Clone + Challenge> Clone for WwwAuthenticate<C>","synthetic":false,"types":["actix_web_httpauth::headers::www_authenticate::header::WwwAuthenticate"]},{"text":"impl<T: Clone, F: Clone> Clone for HttpAuthentication<T, F> where
    T: AuthExtractor
","synthetic":false,"types":["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/convert/trait.From.js b/implementors/core/convert/trait.From.js index 2dc4b1fc0..294708598 100644 --- a/implementors/core/convert/trait.From.js +++ b/implementors/core/convert/trait.From.js @@ -1,4 +1,5 @@ (function() {var implementors = {}; +implementors["actix_limitation"] = [{"text":"impl From<RedisError> for Error","synthetic":false,"types":["actix_limitation::core::errors::Error"]},{"text":"impl From<ComponentRange> for Error","synthetic":false,"types":["actix_limitation::core::errors::Error"]}]; implementors["actix_protobuf"] = [{"text":"impl From<PayloadError> for ProtoBufPayloadError","synthetic":false,"types":["actix_protobuf::ProtoBufPayloadError"]},{"text":"impl From<DecodeError> for ProtoBufPayloadError","synthetic":false,"types":["actix_protobuf::ProtoBufPayloadError"]}]; implementors["actix_redis"] = [{"text":"impl From<Error> for Error","synthetic":false,"types":["actix_redis::Error"]}]; implementors["actix_session"] = [{"text":"impl From<SessionKey> for String","synthetic":false,"types":["alloc::string::String"]}]; diff --git a/implementors/core/fmt/trait.Debug.js b/implementors/core/fmt/trait.Debug.js index 64db9605d..7efb15897 100644 --- a/implementors/core/fmt/trait.Debug.js +++ b/implementors/core/fmt/trait.Debug.js @@ -1,5 +1,6 @@ (function() {var implementors = {}; implementors["actix_cors"] = [{"text":"impl Debug for Cors","synthetic":false,"types":["actix_cors::builder::Cors"]},{"text":"impl Debug for CorsError","synthetic":false,"types":["actix_cors::error::CorsError"]}]; +implementors["actix_limitation"] = [{"text":"impl Debug for Limiter","synthetic":false,"types":["actix_limitation::Limiter"]},{"text":"impl Debug for Error","synthetic":false,"types":["actix_limitation::core::errors::Error"]},{"text":"impl Debug for Status","synthetic":false,"types":["actix_limitation::core::status::Status"]}]; implementors["actix_protobuf"] = [{"text":"impl Debug for ProtoBufPayloadError","synthetic":false,"types":["actix_protobuf::ProtoBufPayloadError"]},{"text":"impl<T: Message> Debug for ProtoBuf<T> where
    T: Debug
","synthetic":false,"types":["actix_protobuf::ProtoBuf"]}]; implementors["actix_redis"] = [{"text":"impl Debug for Command","synthetic":false,"types":["actix_redis::redis::Command"]},{"text":"impl Debug for Error","synthetic":false,"types":["actix_redis::Error"]}]; implementors["actix_session"] = [{"text":"impl Debug for SessionLength","synthetic":false,"types":["actix_session::middleware::SessionLength"]},{"text":"impl Debug for CookieContentSecurity","synthetic":false,"types":["actix_session::middleware::CookieContentSecurity"]},{"text":"impl Debug for SessionStatus","synthetic":false,"types":["actix_session::session::SessionStatus"]},{"text":"impl Debug for LoadError","synthetic":false,"types":["actix_session::storage::interface::LoadError"]},{"text":"impl Debug for SaveError","synthetic":false,"types":["actix_session::storage::interface::SaveError"]},{"text":"impl Debug for UpdateError","synthetic":false,"types":["actix_session::storage::interface::UpdateError"]},{"text":"impl Debug for SessionKey","synthetic":false,"types":["actix_session::storage::session_key::SessionKey"]}]; diff --git a/implementors/core/fmt/trait.Display.js b/implementors/core/fmt/trait.Display.js index e00288f18..54bc5abdb 100644 --- a/implementors/core/fmt/trait.Display.js +++ b/implementors/core/fmt/trait.Display.js @@ -1,5 +1,6 @@ (function() {var implementors = {}; implementors["actix_cors"] = [{"text":"impl Display for CorsError","synthetic":false,"types":["actix_cors::error::CorsError"]}]; +implementors["actix_limitation"] = [{"text":"impl Display for Error","synthetic":false,"types":["actix_limitation::core::errors::Error"]}]; implementors["actix_protobuf"] = [{"text":"impl Display for ProtoBufPayloadError","synthetic":false,"types":["actix_protobuf::ProtoBufPayloadError"]},{"text":"impl<T: Message> Display for ProtoBuf<T> where
    T: Display
","synthetic":false,"types":["actix_protobuf::ProtoBuf"]}]; implementors["actix_redis"] = [{"text":"impl Display for Error","synthetic":false,"types":["actix_redis::Error"]}]; implementors["actix_session"] = [{"text":"impl Display for LoadError","synthetic":false,"types":["actix_session::storage::interface::LoadError"]},{"text":"impl Display for SaveError","synthetic":false,"types":["actix_session::storage::interface::SaveError"]},{"text":"impl Display for UpdateError","synthetic":false,"types":["actix_session::storage::interface::UpdateError"]}]; diff --git a/implementors/core/marker/trait.Freeze.js b/implementors/core/marker/trait.Freeze.js index 0b85a566b..37b701d95 100644 --- a/implementors/core/marker/trait.Freeze.js +++ b/implementors/core/marker/trait.Freeze.js @@ -1,6 +1,7 @@ (function() {var implementors = {}; implementors["actix_cors"] = [{"text":"impl Freeze for Cors","synthetic":true,"types":["actix_cors::builder::Cors"]},{"text":"impl Freeze for CorsError","synthetic":true,"types":["actix_cors::error::CorsError"]}]; implementors["actix_identity"] = [{"text":"impl Freeze for CookieIdentityPolicy","synthetic":true,"types":["actix_identity::cookie::CookieIdentityPolicy"]},{"text":"impl Freeze for Identity","synthetic":true,"types":["actix_identity::identity::Identity"]},{"text":"impl<T> Freeze for IdentityService<T>","synthetic":true,"types":["actix_identity::middleware::IdentityService"]}]; +implementors["actix_limitation"] = [{"text":"impl<'builder> Freeze for Builder<'builder>","synthetic":true,"types":["actix_limitation::core::builder::Builder"]},{"text":"impl Freeze for Error","synthetic":true,"types":["actix_limitation::core::errors::Error"]},{"text":"impl Freeze for Status","synthetic":true,"types":["actix_limitation::core::status::Status"]},{"text":"impl Freeze for RateLimiter","synthetic":true,"types":["actix_limitation::middleware::RateLimiter"]},{"text":"impl Freeze for Limiter","synthetic":true,"types":["actix_limitation::Limiter"]}]; implementors["actix_protobuf"] = [{"text":"impl !Freeze for ProtoBufPayloadError","synthetic":true,"types":["actix_protobuf::ProtoBufPayloadError"]},{"text":"impl<T> Freeze for ProtoBuf<T> where
    T: Freeze, 
","synthetic":true,"types":["actix_protobuf::ProtoBuf"]},{"text":"impl Freeze for ProtoBufConfig","synthetic":true,"types":["actix_protobuf::ProtoBufConfig"]},{"text":"impl<T> !Freeze for ProtoBufMessage<T>","synthetic":true,"types":["actix_protobuf::ProtoBufMessage"]}]; implementors["actix_redis"] = [{"text":"impl Freeze for Command","synthetic":true,"types":["actix_redis::redis::Command"]},{"text":"impl Freeze for RedisActor","synthetic":true,"types":["actix_redis::redis::RedisActor"]},{"text":"impl Freeze for Error","synthetic":true,"types":["actix_redis::Error"]}]; implementors["actix_session"] = [{"text":"impl<Store> Freeze for SessionMiddleware<Store>","synthetic":true,"types":["actix_session::middleware::SessionMiddleware"]},{"text":"impl Freeze for SessionLength","synthetic":true,"types":["actix_session::middleware::SessionLength"]},{"text":"impl Freeze for CookieContentSecurity","synthetic":true,"types":["actix_session::middleware::CookieContentSecurity"]},{"text":"impl<Store> Freeze for SessionMiddlewareBuilder<Store>","synthetic":true,"types":["actix_session::middleware::SessionMiddlewareBuilder"]},{"text":"impl Freeze for Session","synthetic":true,"types":["actix_session::session::Session"]},{"text":"impl Freeze for SessionStatus","synthetic":true,"types":["actix_session::session::SessionStatus"]},{"text":"impl Freeze for LoadError","synthetic":true,"types":["actix_session::storage::interface::LoadError"]},{"text":"impl Freeze for SaveError","synthetic":true,"types":["actix_session::storage::interface::SaveError"]},{"text":"impl Freeze for UpdateError","synthetic":true,"types":["actix_session::storage::interface::UpdateError"]},{"text":"impl Freeze for SessionKey","synthetic":true,"types":["actix_session::storage::session_key::SessionKey"]},{"text":"impl Freeze for CookieSessionStore","synthetic":true,"types":["actix_session::storage::cookie::CookieSessionStore"]},{"text":"impl Freeze for RedisActorSessionStore","synthetic":true,"types":["actix_session::storage::redis_actor::RedisActorSessionStore"]},{"text":"impl Freeze for RedisActorSessionStoreBuilder","synthetic":true,"types":["actix_session::storage::redis_actor::RedisActorSessionStoreBuilder"]},{"text":"impl Freeze for RedisSessionStore","synthetic":true,"types":["actix_session::storage::redis_rs::RedisSessionStore"]},{"text":"impl Freeze for RedisSessionStoreBuilder","synthetic":true,"types":["actix_session::storage::redis_rs::RedisSessionStoreBuilder"]}]; diff --git a/implementors/core/marker/trait.Send.js b/implementors/core/marker/trait.Send.js index 84d978257..eb5915287 100644 --- a/implementors/core/marker/trait.Send.js +++ b/implementors/core/marker/trait.Send.js @@ -1,6 +1,7 @@ (function() {var implementors = {}; implementors["actix_cors"] = [{"text":"impl !Send for Cors","synthetic":true,"types":["actix_cors::builder::Cors"]},{"text":"impl Send for CorsError","synthetic":true,"types":["actix_cors::error::CorsError"]}]; implementors["actix_identity"] = [{"text":"impl !Send for CookieIdentityPolicy","synthetic":true,"types":["actix_identity::cookie::CookieIdentityPolicy"]},{"text":"impl !Send for Identity","synthetic":true,"types":["actix_identity::identity::Identity"]},{"text":"impl<T> !Send for IdentityService<T>","synthetic":true,"types":["actix_identity::middleware::IdentityService"]}]; +implementors["actix_limitation"] = [{"text":"impl<'builder> Send for Builder<'builder>","synthetic":true,"types":["actix_limitation::core::builder::Builder"]},{"text":"impl Send for Error","synthetic":true,"types":["actix_limitation::core::errors::Error"]},{"text":"impl Send for Status","synthetic":true,"types":["actix_limitation::core::status::Status"]},{"text":"impl Send for RateLimiter","synthetic":true,"types":["actix_limitation::middleware::RateLimiter"]},{"text":"impl Send for Limiter","synthetic":true,"types":["actix_limitation::Limiter"]}]; implementors["actix_protobuf"] = [{"text":"impl Send for ProtoBufPayloadError","synthetic":true,"types":["actix_protobuf::ProtoBufPayloadError"]},{"text":"impl<T> Send for ProtoBuf<T>","synthetic":true,"types":["actix_protobuf::ProtoBuf"]},{"text":"impl Send for ProtoBufConfig","synthetic":true,"types":["actix_protobuf::ProtoBufConfig"]},{"text":"impl<T> !Send for ProtoBufMessage<T>","synthetic":true,"types":["actix_protobuf::ProtoBufMessage"]}]; implementors["actix_redis"] = [{"text":"impl Send for Command","synthetic":true,"types":["actix_redis::redis::Command"]},{"text":"impl !Send for RedisActor","synthetic":true,"types":["actix_redis::redis::RedisActor"]},{"text":"impl Send for Error","synthetic":true,"types":["actix_redis::Error"]}]; implementors["actix_session"] = [{"text":"impl<Store> !Send for SessionMiddleware<Store>","synthetic":true,"types":["actix_session::middleware::SessionMiddleware"]},{"text":"impl Send for SessionLength","synthetic":true,"types":["actix_session::middleware::SessionLength"]},{"text":"impl Send for CookieContentSecurity","synthetic":true,"types":["actix_session::middleware::CookieContentSecurity"]},{"text":"impl<Store> !Send for SessionMiddlewareBuilder<Store>","synthetic":true,"types":["actix_session::middleware::SessionMiddlewareBuilder"]},{"text":"impl !Send for Session","synthetic":true,"types":["actix_session::session::Session"]},{"text":"impl Send for SessionStatus","synthetic":true,"types":["actix_session::session::SessionStatus"]},{"text":"impl Send for LoadError","synthetic":true,"types":["actix_session::storage::interface::LoadError"]},{"text":"impl Send for SaveError","synthetic":true,"types":["actix_session::storage::interface::SaveError"]},{"text":"impl Send for UpdateError","synthetic":true,"types":["actix_session::storage::interface::UpdateError"]},{"text":"impl Send for SessionKey","synthetic":true,"types":["actix_session::storage::session_key::SessionKey"]},{"text":"impl Send for CookieSessionStore","synthetic":true,"types":["actix_session::storage::cookie::CookieSessionStore"]},{"text":"impl !Send for RedisActorSessionStore","synthetic":true,"types":["actix_session::storage::redis_actor::RedisActorSessionStore"]},{"text":"impl !Send for RedisActorSessionStoreBuilder","synthetic":true,"types":["actix_session::storage::redis_actor::RedisActorSessionStoreBuilder"]},{"text":"impl Send for RedisSessionStore","synthetic":true,"types":["actix_session::storage::redis_rs::RedisSessionStore"]},{"text":"impl Send for RedisSessionStoreBuilder","synthetic":true,"types":["actix_session::storage::redis_rs::RedisSessionStoreBuilder"]}]; diff --git a/implementors/core/marker/trait.Sync.js b/implementors/core/marker/trait.Sync.js index 6876cc902..e372fb6b3 100644 --- a/implementors/core/marker/trait.Sync.js +++ b/implementors/core/marker/trait.Sync.js @@ -1,6 +1,7 @@ (function() {var implementors = {}; implementors["actix_cors"] = [{"text":"impl !Sync for Cors","synthetic":true,"types":["actix_cors::builder::Cors"]},{"text":"impl Sync for CorsError","synthetic":true,"types":["actix_cors::error::CorsError"]}]; implementors["actix_identity"] = [{"text":"impl !Sync for CookieIdentityPolicy","synthetic":true,"types":["actix_identity::cookie::CookieIdentityPolicy"]},{"text":"impl !Sync for Identity","synthetic":true,"types":["actix_identity::identity::Identity"]},{"text":"impl<T> !Sync for IdentityService<T>","synthetic":true,"types":["actix_identity::middleware::IdentityService"]}]; +implementors["actix_limitation"] = [{"text":"impl<'builder> Sync for Builder<'builder>","synthetic":true,"types":["actix_limitation::core::builder::Builder"]},{"text":"impl Sync for Error","synthetic":true,"types":["actix_limitation::core::errors::Error"]},{"text":"impl Sync for Status","synthetic":true,"types":["actix_limitation::core::status::Status"]},{"text":"impl Sync for RateLimiter","synthetic":true,"types":["actix_limitation::middleware::RateLimiter"]},{"text":"impl Sync for Limiter","synthetic":true,"types":["actix_limitation::Limiter"]}]; implementors["actix_protobuf"] = [{"text":"impl Sync for ProtoBufPayloadError","synthetic":true,"types":["actix_protobuf::ProtoBufPayloadError"]},{"text":"impl<T> Sync for ProtoBuf<T>","synthetic":true,"types":["actix_protobuf::ProtoBuf"]},{"text":"impl Sync for ProtoBufConfig","synthetic":true,"types":["actix_protobuf::ProtoBufConfig"]},{"text":"impl<T> !Sync for ProtoBufMessage<T>","synthetic":true,"types":["actix_protobuf::ProtoBufMessage"]}]; implementors["actix_redis"] = [{"text":"impl Sync for Command","synthetic":true,"types":["actix_redis::redis::Command"]},{"text":"impl !Sync for RedisActor","synthetic":true,"types":["actix_redis::redis::RedisActor"]},{"text":"impl Sync for Error","synthetic":true,"types":["actix_redis::Error"]}]; implementors["actix_session"] = [{"text":"impl<Store> !Sync for SessionMiddleware<Store>","synthetic":true,"types":["actix_session::middleware::SessionMiddleware"]},{"text":"impl Sync for SessionLength","synthetic":true,"types":["actix_session::middleware::SessionLength"]},{"text":"impl Sync for CookieContentSecurity","synthetic":true,"types":["actix_session::middleware::CookieContentSecurity"]},{"text":"impl<Store> !Sync for SessionMiddlewareBuilder<Store>","synthetic":true,"types":["actix_session::middleware::SessionMiddlewareBuilder"]},{"text":"impl !Sync for Session","synthetic":true,"types":["actix_session::session::Session"]},{"text":"impl Sync for SessionStatus","synthetic":true,"types":["actix_session::session::SessionStatus"]},{"text":"impl Sync for LoadError","synthetic":true,"types":["actix_session::storage::interface::LoadError"]},{"text":"impl Sync for SaveError","synthetic":true,"types":["actix_session::storage::interface::SaveError"]},{"text":"impl Sync for UpdateError","synthetic":true,"types":["actix_session::storage::interface::UpdateError"]},{"text":"impl Sync for SessionKey","synthetic":true,"types":["actix_session::storage::session_key::SessionKey"]},{"text":"impl Sync for CookieSessionStore","synthetic":true,"types":["actix_session::storage::cookie::CookieSessionStore"]},{"text":"impl !Sync for RedisActorSessionStore","synthetic":true,"types":["actix_session::storage::redis_actor::RedisActorSessionStore"]},{"text":"impl !Sync for RedisActorSessionStoreBuilder","synthetic":true,"types":["actix_session::storage::redis_actor::RedisActorSessionStoreBuilder"]},{"text":"impl Sync for RedisSessionStore","synthetic":true,"types":["actix_session::storage::redis_rs::RedisSessionStore"]},{"text":"impl Sync for RedisSessionStoreBuilder","synthetic":true,"types":["actix_session::storage::redis_rs::RedisSessionStoreBuilder"]}]; diff --git a/implementors/core/marker/trait.Unpin.js b/implementors/core/marker/trait.Unpin.js index 093ce8c90..9f77f7e15 100644 --- a/implementors/core/marker/trait.Unpin.js +++ b/implementors/core/marker/trait.Unpin.js @@ -1,6 +1,7 @@ (function() {var implementors = {}; implementors["actix_cors"] = [{"text":"impl Unpin for Cors","synthetic":true,"types":["actix_cors::builder::Cors"]},{"text":"impl Unpin for CorsError","synthetic":true,"types":["actix_cors::error::CorsError"]}]; implementors["actix_identity"] = [{"text":"impl Unpin for CookieIdentityPolicy","synthetic":true,"types":["actix_identity::cookie::CookieIdentityPolicy"]},{"text":"impl Unpin for Identity","synthetic":true,"types":["actix_identity::identity::Identity"]},{"text":"impl<T> Unpin for IdentityService<T>","synthetic":true,"types":["actix_identity::middleware::IdentityService"]}]; +implementors["actix_limitation"] = [{"text":"impl<'builder> Unpin for Builder<'builder>","synthetic":true,"types":["actix_limitation::core::builder::Builder"]},{"text":"impl Unpin for Error","synthetic":true,"types":["actix_limitation::core::errors::Error"]},{"text":"impl Unpin for Status","synthetic":true,"types":["actix_limitation::core::status::Status"]},{"text":"impl Unpin for RateLimiter","synthetic":true,"types":["actix_limitation::middleware::RateLimiter"]},{"text":"impl Unpin for Limiter","synthetic":true,"types":["actix_limitation::Limiter"]}]; implementors["actix_protobuf"] = [{"text":"impl Unpin for ProtoBufPayloadError","synthetic":true,"types":["actix_protobuf::ProtoBufPayloadError"]},{"text":"impl<T> Unpin for ProtoBuf<T> where
    T: Unpin
","synthetic":true,"types":["actix_protobuf::ProtoBuf"]},{"text":"impl Unpin for ProtoBufConfig","synthetic":true,"types":["actix_protobuf::ProtoBufConfig"]},{"text":"impl<T> Unpin for ProtoBufMessage<T>","synthetic":true,"types":["actix_protobuf::ProtoBufMessage"]}]; implementors["actix_redis"] = [{"text":"impl Unpin for Command","synthetic":true,"types":["actix_redis::redis::Command"]},{"text":"impl Unpin for RedisActor","synthetic":true,"types":["actix_redis::redis::RedisActor"]},{"text":"impl Unpin for Error","synthetic":true,"types":["actix_redis::Error"]}]; implementors["actix_session"] = [{"text":"impl<Store> Unpin for SessionMiddleware<Store>","synthetic":true,"types":["actix_session::middleware::SessionMiddleware"]},{"text":"impl Unpin for SessionLength","synthetic":true,"types":["actix_session::middleware::SessionLength"]},{"text":"impl Unpin for CookieContentSecurity","synthetic":true,"types":["actix_session::middleware::CookieContentSecurity"]},{"text":"impl<Store> Unpin for SessionMiddlewareBuilder<Store>","synthetic":true,"types":["actix_session::middleware::SessionMiddlewareBuilder"]},{"text":"impl Unpin for Session","synthetic":true,"types":["actix_session::session::Session"]},{"text":"impl Unpin for SessionStatus","synthetic":true,"types":["actix_session::session::SessionStatus"]},{"text":"impl Unpin for LoadError","synthetic":true,"types":["actix_session::storage::interface::LoadError"]},{"text":"impl Unpin for SaveError","synthetic":true,"types":["actix_session::storage::interface::SaveError"]},{"text":"impl Unpin for UpdateError","synthetic":true,"types":["actix_session::storage::interface::UpdateError"]},{"text":"impl Unpin for SessionKey","synthetic":true,"types":["actix_session::storage::session_key::SessionKey"]},{"text":"impl Unpin for CookieSessionStore","synthetic":true,"types":["actix_session::storage::cookie::CookieSessionStore"]},{"text":"impl Unpin for RedisActorSessionStore","synthetic":true,"types":["actix_session::storage::redis_actor::RedisActorSessionStore"]},{"text":"impl Unpin for RedisActorSessionStoreBuilder","synthetic":true,"types":["actix_session::storage::redis_actor::RedisActorSessionStoreBuilder"]},{"text":"impl Unpin for RedisSessionStore","synthetic":true,"types":["actix_session::storage::redis_rs::RedisSessionStore"]},{"text":"impl Unpin for RedisSessionStoreBuilder","synthetic":true,"types":["actix_session::storage::redis_rs::RedisSessionStoreBuilder"]}]; diff --git a/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js b/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js index b68deb4c2..855fb1b6b 100644 --- a/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -1,6 +1,7 @@ (function() {var implementors = {}; implementors["actix_cors"] = [{"text":"impl !RefUnwindSafe for Cors","synthetic":true,"types":["actix_cors::builder::Cors"]},{"text":"impl RefUnwindSafe for CorsError","synthetic":true,"types":["actix_cors::error::CorsError"]}]; implementors["actix_identity"] = [{"text":"impl RefUnwindSafe for CookieIdentityPolicy","synthetic":true,"types":["actix_identity::cookie::CookieIdentityPolicy"]},{"text":"impl !RefUnwindSafe for Identity","synthetic":true,"types":["actix_identity::identity::Identity"]},{"text":"impl<T> RefUnwindSafe for IdentityService<T> where
    T: RefUnwindSafe
","synthetic":true,"types":["actix_identity::middleware::IdentityService"]}]; +implementors["actix_limitation"] = [{"text":"impl<'builder> RefUnwindSafe for Builder<'builder>","synthetic":true,"types":["actix_limitation::core::builder::Builder"]},{"text":"impl RefUnwindSafe for Error","synthetic":true,"types":["actix_limitation::core::errors::Error"]},{"text":"impl RefUnwindSafe for Status","synthetic":true,"types":["actix_limitation::core::status::Status"]},{"text":"impl RefUnwindSafe for RateLimiter","synthetic":true,"types":["actix_limitation::middleware::RateLimiter"]},{"text":"impl RefUnwindSafe for Limiter","synthetic":true,"types":["actix_limitation::Limiter"]}]; implementors["actix_protobuf"] = [{"text":"impl RefUnwindSafe for ProtoBufPayloadError","synthetic":true,"types":["actix_protobuf::ProtoBufPayloadError"]},{"text":"impl<T> RefUnwindSafe for ProtoBuf<T> where
    T: RefUnwindSafe
","synthetic":true,"types":["actix_protobuf::ProtoBuf"]},{"text":"impl RefUnwindSafe for ProtoBufConfig","synthetic":true,"types":["actix_protobuf::ProtoBufConfig"]},{"text":"impl<T> !RefUnwindSafe for ProtoBufMessage<T>","synthetic":true,"types":["actix_protobuf::ProtoBufMessage"]}]; implementors["actix_redis"] = [{"text":"impl RefUnwindSafe for Command","synthetic":true,"types":["actix_redis::redis::Command"]},{"text":"impl !RefUnwindSafe for RedisActor","synthetic":true,"types":["actix_redis::redis::RedisActor"]},{"text":"impl RefUnwindSafe for Error","synthetic":true,"types":["actix_redis::Error"]}]; implementors["actix_session"] = [{"text":"impl<Store> RefUnwindSafe for SessionMiddleware<Store> where
    Store: RefUnwindSafe
","synthetic":true,"types":["actix_session::middleware::SessionMiddleware"]},{"text":"impl RefUnwindSafe for SessionLength","synthetic":true,"types":["actix_session::middleware::SessionLength"]},{"text":"impl RefUnwindSafe for CookieContentSecurity","synthetic":true,"types":["actix_session::middleware::CookieContentSecurity"]},{"text":"impl<Store> RefUnwindSafe for SessionMiddlewareBuilder<Store> where
    Store: RefUnwindSafe
","synthetic":true,"types":["actix_session::middleware::SessionMiddlewareBuilder"]},{"text":"impl !RefUnwindSafe for Session","synthetic":true,"types":["actix_session::session::Session"]},{"text":"impl RefUnwindSafe for SessionStatus","synthetic":true,"types":["actix_session::session::SessionStatus"]},{"text":"impl !RefUnwindSafe for LoadError","synthetic":true,"types":["actix_session::storage::interface::LoadError"]},{"text":"impl !RefUnwindSafe for SaveError","synthetic":true,"types":["actix_session::storage::interface::SaveError"]},{"text":"impl !RefUnwindSafe for UpdateError","synthetic":true,"types":["actix_session::storage::interface::UpdateError"]},{"text":"impl RefUnwindSafe for SessionKey","synthetic":true,"types":["actix_session::storage::session_key::SessionKey"]},{"text":"impl RefUnwindSafe for CookieSessionStore","synthetic":true,"types":["actix_session::storage::cookie::CookieSessionStore"]},{"text":"impl !RefUnwindSafe for RedisActorSessionStore","synthetic":true,"types":["actix_session::storage::redis_actor::RedisActorSessionStore"]},{"text":"impl !RefUnwindSafe for RedisActorSessionStoreBuilder","synthetic":true,"types":["actix_session::storage::redis_actor::RedisActorSessionStoreBuilder"]},{"text":"impl !RefUnwindSafe for RedisSessionStore","synthetic":true,"types":["actix_session::storage::redis_rs::RedisSessionStore"]},{"text":"impl !RefUnwindSafe for RedisSessionStoreBuilder","synthetic":true,"types":["actix_session::storage::redis_rs::RedisSessionStoreBuilder"]}]; diff --git a/implementors/core/panic/unwind_safe/trait.UnwindSafe.js b/implementors/core/panic/unwind_safe/trait.UnwindSafe.js index 653f7f684..5f83ed89a 100644 --- a/implementors/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/implementors/core/panic/unwind_safe/trait.UnwindSafe.js @@ -1,6 +1,7 @@ (function() {var implementors = {}; implementors["actix_cors"] = [{"text":"impl !UnwindSafe for Cors","synthetic":true,"types":["actix_cors::builder::Cors"]},{"text":"impl UnwindSafe for CorsError","synthetic":true,"types":["actix_cors::error::CorsError"]}]; implementors["actix_identity"] = [{"text":"impl UnwindSafe for CookieIdentityPolicy","synthetic":true,"types":["actix_identity::cookie::CookieIdentityPolicy"]},{"text":"impl !UnwindSafe for Identity","synthetic":true,"types":["actix_identity::identity::Identity"]},{"text":"impl<T> UnwindSafe for IdentityService<T> where
    T: RefUnwindSafe
","synthetic":true,"types":["actix_identity::middleware::IdentityService"]}]; +implementors["actix_limitation"] = [{"text":"impl<'builder> UnwindSafe for Builder<'builder>","synthetic":true,"types":["actix_limitation::core::builder::Builder"]},{"text":"impl UnwindSafe for Error","synthetic":true,"types":["actix_limitation::core::errors::Error"]},{"text":"impl UnwindSafe for Status","synthetic":true,"types":["actix_limitation::core::status::Status"]},{"text":"impl UnwindSafe for RateLimiter","synthetic":true,"types":["actix_limitation::middleware::RateLimiter"]},{"text":"impl UnwindSafe for Limiter","synthetic":true,"types":["actix_limitation::Limiter"]}]; implementors["actix_protobuf"] = [{"text":"impl UnwindSafe for ProtoBufPayloadError","synthetic":true,"types":["actix_protobuf::ProtoBufPayloadError"]},{"text":"impl<T> UnwindSafe for ProtoBuf<T> where
    T: UnwindSafe
","synthetic":true,"types":["actix_protobuf::ProtoBuf"]},{"text":"impl UnwindSafe for ProtoBufConfig","synthetic":true,"types":["actix_protobuf::ProtoBufConfig"]},{"text":"impl<T> !UnwindSafe for ProtoBufMessage<T>","synthetic":true,"types":["actix_protobuf::ProtoBufMessage"]}]; implementors["actix_redis"] = [{"text":"impl UnwindSafe for Command","synthetic":true,"types":["actix_redis::redis::Command"]},{"text":"impl !UnwindSafe for RedisActor","synthetic":true,"types":["actix_redis::redis::RedisActor"]},{"text":"impl UnwindSafe for Error","synthetic":true,"types":["actix_redis::Error"]}]; implementors["actix_session"] = [{"text":"impl<Store> UnwindSafe for SessionMiddleware<Store> where
    Store: RefUnwindSafe
","synthetic":true,"types":["actix_session::middleware::SessionMiddleware"]},{"text":"impl UnwindSafe for SessionLength","synthetic":true,"types":["actix_session::middleware::SessionLength"]},{"text":"impl UnwindSafe for CookieContentSecurity","synthetic":true,"types":["actix_session::middleware::CookieContentSecurity"]},{"text":"impl<Store> UnwindSafe for SessionMiddlewareBuilder<Store> where
    Store: RefUnwindSafe
","synthetic":true,"types":["actix_session::middleware::SessionMiddlewareBuilder"]},{"text":"impl !UnwindSafe for Session","synthetic":true,"types":["actix_session::session::Session"]},{"text":"impl UnwindSafe for SessionStatus","synthetic":true,"types":["actix_session::session::SessionStatus"]},{"text":"impl !UnwindSafe for LoadError","synthetic":true,"types":["actix_session::storage::interface::LoadError"]},{"text":"impl !UnwindSafe for SaveError","synthetic":true,"types":["actix_session::storage::interface::SaveError"]},{"text":"impl !UnwindSafe for UpdateError","synthetic":true,"types":["actix_session::storage::interface::UpdateError"]},{"text":"impl UnwindSafe for SessionKey","synthetic":true,"types":["actix_session::storage::session_key::SessionKey"]},{"text":"impl UnwindSafe for CookieSessionStore","synthetic":true,"types":["actix_session::storage::cookie::CookieSessionStore"]},{"text":"impl !UnwindSafe for RedisActorSessionStore","synthetic":true,"types":["actix_session::storage::redis_actor::RedisActorSessionStore"]},{"text":"impl !UnwindSafe for RedisActorSessionStoreBuilder","synthetic":true,"types":["actix_session::storage::redis_actor::RedisActorSessionStoreBuilder"]},{"text":"impl !UnwindSafe for RedisSessionStore","synthetic":true,"types":["actix_session::storage::redis_rs::RedisSessionStore"]},{"text":"impl !UnwindSafe for RedisSessionStoreBuilder","synthetic":true,"types":["actix_session::storage::redis_rs::RedisSessionStoreBuilder"]}]; diff --git a/implementors/std/error/trait.Error.js b/implementors/std/error/trait.Error.js index 28c24c169..4a7c3dd41 100644 --- a/implementors/std/error/trait.Error.js +++ b/implementors/std/error/trait.Error.js @@ -1,5 +1,6 @@ (function() {var implementors = {}; implementors["actix_cors"] = [{"text":"impl Error for CorsError","synthetic":false,"types":["actix_cors::error::CorsError"]}]; +implementors["actix_limitation"] = [{"text":"impl Error for Error","synthetic":false,"types":["actix_limitation::core::errors::Error"]}]; implementors["actix_redis"] = [{"text":"impl Error for Error","synthetic":false,"types":["actix_redis::Error"]}]; implementors["actix_session"] = [{"text":"impl Error for LoadError","synthetic":false,"types":["actix_session::storage::interface::LoadError"]},{"text":"impl Error for SaveError","synthetic":false,"types":["actix_session::storage::interface::SaveError"]},{"text":"impl Error for UpdateError","synthetic":false,"types":["actix_session::storage::interface::UpdateError"]}]; implementors["actix_web_httpauth"] = [{"text":"impl<C: 'static + Challenge> Error for AuthenticationError<C>","synthetic":false,"types":["actix_web_httpauth::extractors::errors::AuthenticationError"]},{"text":"impl Error for ParseError","synthetic":false,"types":["actix_web_httpauth::headers::authorization::errors::ParseError"]}]; diff --git a/search-index.js b/search-index.js index e76cd31e3..fe3533fcb 100644 --- a/search-index.js +++ b/search-index.js @@ -1,6 +1,7 @@ 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],"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","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 any …","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":[1,1,0,0,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,1,2,1,1,1,2,2,2,1,2,2,2,1,1,2,1,2,1,2,2,2,2,1,2,1,1,2,1,2,1,2,1,2,1],"f":[null,null,null,null,null,null,null,null,null,null,[[],["cors",3]],[[],["cors",3]],[[],["cors",3]],[[],["cors",3]],[[],["cors",3]],[[],["cors",3]],[[["str",0]],["cors",3]],[[],["cors",3]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["corserror",4]],[[["",0],["",0]]],[[],["cors",3]],[[],["cors",3]],[[],["cors",3]],[[["",0]],["httpresponse",3]],[[],["cors",3]],[[],["cors",3]],[[["",0],["formatter",3]],["result",6]],[[["",0],["formatter",3]],["result",6]],[[["",0],["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[],["cors",3]],[[["",0]]],[[]],[[],["cors",3]],[[["",0]],["statuscode",3]],[[],["cors",3]],[[["",0]]],[[["",0]],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[]],[[]]],"p":[[4,"CorsError"],[3,"Cors"]]},\ "actix_identity":{"doc":"Opinionated request identity service for Actix Web apps.","t":[3,16,3,8,3,8,16,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,10,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],"n":["CookieIdentityPolicy","Future","Identity","IdentityPolicy","IdentityService","RequestIdentity","ResponseFuture","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","domain","forget","from","from","from","from_request","from_request","from_request","get_identity","http_only","identity","into","into","into","login_deadline","max_age","max_age_secs","name","new","new","new_transform","path","remember","same_site","secure","to_owned","to_response","to_response","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","visit_deadline","vzip","vzip","vzip"],"q":["actix_identity","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"d":["Use cookies for request identity storage.","The return type of the middleware","The extractor type to obtain your identity from a request.","Identity policy.","Request identity middleware","Helper trait that allows to get Identity.","The return type of the middleware","","","","","","","","","Sets the Domain attribute of issued cookies.","This method is used to ‘forget’ the current identity …","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Parse the session from request and load data from a …","","","","Sets the HttpOnly attribute of issued cookies.","Return the claimed identity of the user associated request …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Accepts only users who authenticated within the given …","Sets the Max-Age attribute of issued cookies.","Sets the Max-Age attribute of issued cookies with given …","Sets the name of issued cookies.","Create new CookieIdentityPolicy instance.","Create new identity service with specified backend.","","Sets the Path attribute of issued cookies.","Remember identity.","Sets the SameSite attribute of issued cookies.","Sets the Secure attribute of issued cookies.","","Write changes to response","","","","","","","","","","","Accepts only users who have visited within given deadline.","","",""],"i":[0,1,0,0,0,0,1,2,3,4,2,3,4,4,4,2,4,2,3,4,1,2,4,5,2,4,2,3,4,2,2,2,2,2,3,3,2,4,2,2,4,1,2,2,3,4,2,3,4,2,3,4,2,2,3,4],"f":[null,null,null,null,null,null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["identity",3]],[[["",0],["",0]]],[[],["cookieidentitypolicy",3]],[[["",0]]],[[]],[[]],[[]],[[["",0],["servicerequest",3]]],[[["",0],["servicerequest",3]]],[[["httprequest",3],["payload",4]]],[[["",0]],["option",4,[["string",3]]]],[[["bool",0]]],[[["",0]],["option",4,[["string",3]]]],[[]],[[]],[[]],[[["duration",3]],["cookieidentitypolicy",3]],[[["duration",3]],["cookieidentitypolicy",3]],[[["i64",0]],["cookieidentitypolicy",3]],[[],["cookieidentitypolicy",3]],[[],["cookieidentitypolicy",3]],[[]],[[["",0]]],[[],["cookieidentitypolicy",3]],[[["",0],["string",3]]],[[["samesite",4]]],[[["bool",0]],["cookieidentitypolicy",3]],[[["",0]]],[[["",0],["option",4,[["string",3]]],["bool",0],["serviceresponse",3]]],[[["",0],["option",4,[["string",3]]],["bool",0],["serviceresponse",3]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["duration",3]],["cookieidentitypolicy",3]],[[]],[[]],[[]]],"p":[[8,"IdentityPolicy"],[3,"CookieIdentityPolicy"],[3,"IdentityService"],[3,"Identity"],[8,"RequestIdentity"]]},\ +"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,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","clone","clone","clone_into","clone_into","cookie_name","count","finish","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","into","into","into","into","into","limit","limit","new_transform","period","remaining","reset_epoch_utc","session_key","source","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","0","0","0","0"],"q":["actix_limitation","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_limitation::Error","","",""],"d":["","The Redis client failed to connect or run a query.","","","","","","The limit is exceeded for a key.","","","","A report for a given key containing the limit status.","A time conversion failed.","","","","","","","","","","","","","","","","","","Finializes and returns a Limiter.","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,1,0,0,0,0,0,1,0,1,0,0,1,2,3,4,1,5,2,3,4,1,5,4,4,5,4,5,2,4,2,4,1,1,5,2,3,4,1,1,1,5,2,3,4,1,5,2,5,3,2,5,5,2,1,4,5,1,2,3,4,1,5,2,3,4,1,5,2,3,4,1,5,2,3,4,1,5,6,7,8,9],"f":[null,null,null,null,null,null,null,null,null,null,null,null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["str",0]],["builder",3]],[[["",0]],["limiter",3]],[[["",0]],["status",3]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["string",3]],["",0]],[[["",0],["into",8,[["string",3]]]]],[[["",0]],["result",4,[["limiter",3],["error",4]]]],[[["",0],["formatter",3]],["result",6]],[[["",0],["formatter",3]],["result",6]],[[["",0],["formatter",3]],["result",6]],[[["",0],["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[["componentrange",3]]],[[["rediserror",3]]],[[]],[[]],[[]],[[]],[[]],[[]],[[["",0],["usize",0]],["",0]],[[["",0]],["usize",0]],[[["",0]]],[[["",0],["duration",3]],["",0]],[[["",0]],["usize",0]],[[["",0]],["usize",0]],[[["",0],["string",3]],["",0]],[[["",0]],["option",4,[["error",8]]]],[[["",0]]],[[["",0]]],[[["",0]],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[]],[[]],[[]],[[]],[[]],null,null,null,null],"p":[[4,"Error"],[3,"Builder"],[3,"RateLimiter"],[3,"Limiter"],[3,"Status"],[13,"Client"],[13,"LimitExceeded"],[13,"Time"],[13,"Other"]]},\ "actix_protobuf":{"doc":"","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":[1,2,2,2,2,0,0,0,0,0,2,1,3,4,2,1,3,4,2,3,1,1,2,1,1,2,2,1,3,4,2,2,2,1,1,3,4,2,4,3,4,4,4,5,1,1,1,2,1,3,4,2,1,3,4,2,4,1,3,4,2,1,3,4,2,6,7,8],"f":[null,null,null,null,null,null,null,null,null,null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["httpresponse",3]],[[["",0],["formatter",3]],["result",6]],[[["",0],["formatter",3]],["result",6]],[[["",0],["formatter",3]],["result",6]],[[["",0],["formatter",3]],["result",6]],[[]],[[]],[[]],[[["payloaderror",4]],["protobufpayloaderror",4]],[[["protobufdecodeerror",3]],["protobufpayloaderror",4]],[[]],[[["httprequest",3],["payload",4]]],[[]],[[]],[[]],[[]],[[]],[[["",0],["usize",0]],["",0]],[[["usize",0]]],[[["httprequest",3],["payload",4]]],[[["pin",3],["context",3]],["poll",4]],[[["",0],["message",8]],["result",4,[["httpresponse",3],["error",3]]]],[[["",0]],["path",3]],[[["httprequest",3]],["httpresponse",3]],[[["",0]],["string",3]],[[["",0]],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["pin",3],["context",3]],["poll",4]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[]],[[]],[[]],[[]],null,null,null],"p":[[3,"ProtoBuf"],[4,"ProtoBufPayloadError"],[3,"ProtoBufConfig"],[3,"ProtoBufMessage"],[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,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","ne","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 send data to Redis","Error creating a connection, or an error with a connection …","Cancel all waters when connection get dropped","General purpose actix-redis error.","An error from the Redis server","An IO error occurred","Redis documentation defines an integer as being a signed …","A non-specific internal error that prevented an operation …","","Receiving message during reconnecting","","Redis communication actor","A remote error","A RESP parsing/serialising error occurred","","A single RESP value, this owns the data that is read/to-be …","","An unexpected error. In this context “unexpected” …","Convenience function for building dynamic Redis commands …","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Push item to Resp array","Macro to create a RESP array, useful for preparing …","","","","Start new Supervisor with RedisActor.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[1,2,2,0,3,4,0,2,3,2,3,2,4,4,0,3,3,0,0,2,3,2,5,1,4,2,3,5,1,4,2,3,2,2,2,2,5,1,4,4,2,3,3,5,1,4,4,2,2,2,2,2,2,2,2,3,3,3,2,5,5,5,1,4,2,3,2,2,0,5,4,3,5,5,2,4,3,5,1,4,2,3,5,1,4,2,3,5,1,4,2,3,5,1,4,2,3,6,7,8,9,10,11,12,9,13,14,15,16,17],"f":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[],["respvalue",4]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["respvalue",4]],[[["",0],["",0]]],[[["",0],["respvalue",4]],["bool",0]],[[["",0],["",0]],["bool",0]],[[["",0],["error",3]],["running",4]],[[["",0],["formatter",3]],["result",6]],[[["",0],["formatter",3]],["result",6]],[[["",0],["formatter",3]],["result",6]],[[["",0],["formatter",3]],["result",4,[["error",3]]]],[[["",0],["formatter",3]],["result",4,[["error",3]]]],[[["",0],["formatter",3]],["result",4,[["error",3]]]],[[]],[[]],[[["error",4]],["error",4]],[[]],[[["arc",3,[["str",0]]]],["respvalue",4]],[[["usize",0]],["respvalue",4]],[[["string",3]],["respvalue",4]],[[["str",0]],["respvalue",4]],[[["vec",3,[["u8",0],["global",3]]]],["respvalue",4]],[[["string",3]],["respvalue",4]],[[],["respvalue",4]],[[]],[[["trysenderror",3]],["error",4]],[[["error",3]],["error",4]],[[]],[[["respvalue",4]],["result",4,[["respvalue",4],["error",4]]]],[[["",0],["command",3]]],[[["",0],["result",4,[["respvalue",4],["resperror",4]]]]],[[]],[[]],[[]],[[]],[[]],[[["",0],["respvalue",4]],["bool",0]],[[["",0]]],null,[[["",0]]],[[["",0]],["option",4,[["error",8]]]],[[["",0]],["option",4,[["error",8]]]],[[["into",8,[["string",3]]]],["addr",3,[["redisactor",3]]]],[[["",0],["context",3]]],[[["",0]]],[[["",0]],["string",3]],[[["",0]],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null],"p":[[3,"Command"],[4,"RespValue"],[4,"RespError"],[4,"Error"],[3,"RedisActor"],[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,4,13,13,13,13,3,8,4,3,3,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,10,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,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,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,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12],"n":["BrowserSession","Changed","CookieContentSecurity","Predetermined","Private","Purged","Renewed","Session","SessionExt","SessionLength","SessionMiddleware","SessionMiddlewareBuilder","SessionStatus","Signed","Unchanged","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","builder","clear","clone","clone","clone","clone","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","entries","eq","equivalent","fmt","fmt","fmt","from","from","from","from","from","from","from_request","get","get_session","insert","into","into","into","into","into","into","new","new_transform","purge","remove","remove_as","renew","session_length","status","storage","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","max_session_length","state_ttl","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","ne","new","new","save","save","save","save","source","source","source","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","update","update","update","update","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","0","0","0","0","0","0"],"q":["actix_session","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_session::SessionLength","","actix_session::storage","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","actix_session::storage::LoadError","","actix_session::storage::SaveError","","actix_session::storage::UpdateError",""],"d":["The session cookie will expire when the current browser …","Session state has been updated - the changes will have to …","Used by SessionMiddlewareBuilder::cookie_content_security …","The session cookie will be a persistent cookie.","CookieContentSecurity::Private selects encrypted cookie …","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 …","Describes how long a session should last.","A middleware for session management in Actix Web …","A fluent builder to construct a SessionMiddleware instance …","Status of a Session.","CookieContentSecurity::Signed selects signed cookie …","The session state has not been modified since its …","","","","","","","","","","","","","Finalise the builder and return a SessionMiddleware …","A fluent API to configure SessionMiddleware.","Clear the session.","","","","","","","","","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 …","","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.","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).","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 …","Determine how long a session should last - check out …","Returns session status.","Pluggable storage backends for session state.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Set max_session_length to specify how long the session …","We must provide a time-to-live (TTL) when storing the …","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 …","","","","","","","","","","","","","","","","","",""],"i":[1,2,0,1,3,2,2,0,0,0,0,0,0,3,2,4,5,6,1,3,2,4,5,6,1,3,2,4,6,5,6,1,3,2,6,1,3,2,4,4,4,4,4,4,4,2,5,2,2,1,3,2,4,5,6,1,3,2,5,5,7,5,4,5,6,1,3,2,6,6,5,5,5,5,4,5,0,6,1,3,2,4,5,6,1,3,2,4,5,6,1,3,2,4,5,6,1,3,2,4,5,6,1,3,2,8,9,0,10,0,10,11,12,0,0,0,0,0,11,12,0,0,0,13,14,15,16,10,11,12,13,17,18,14,15,16,10,11,12,13,17,18,15,16,14,18,15,16,18,18,17,19,14,17,18,13,13,10,10,11,11,12,12,13,14,15,16,10,11,12,13,17,18,14,15,16,10,11,12,13,17,18,19,14,17,18,13,14,18,19,14,17,18,10,11,12,18,10,11,12,14,15,16,10,11,12,13,13,17,18,14,15,16,10,11,12,13,17,18,14,15,16,10,11,12,13,17,18,19,14,17,18,14,15,16,10,11,12,13,17,18,20,21,22,23,24,25],"f":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[],["sessionmiddleware",3]],[[["key",3]],["sessionmiddlewarebuilder",3]],[[["",0]]],[[["",0]],["sessionmiddleware",3]],[[["",0]],["sessionlength",4]],[[["",0]],["cookiecontentsecurity",4]],[[["",0]],["sessionstatus",4]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["cookiecontentsecurity",4]]],[[["option",4,[["string",3]]]]],[[["bool",0]]],[[["string",3]]],[[["string",3]]],[[["samesite",4]]],[[["bool",0]]],[[],["sessionstatus",4]],[[["",0]],["ref",3,[["hashmap",3,[["string",3],["string",3]]]]]],[[["",0],["sessionstatus",4]],["bool",0]],[[["",0],["",0]],["bool",0]],[[["",0],["formatter",3]],["result",6]],[[["",0],["formatter",3]],["result",6]],[[["",0],["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[]],[[["httprequest",3],["payload",4]]],[[["",0],["str",0]],["result",4,[["option",4,[["deserializeowned",8]]],["error",3]]]],[[["",0]],["session",3]],[[["",0]],["result",4,[["error",3]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[["key",3]]],[[["",0]]],[[["",0]]],[[["",0],["str",0]],["option",4,[["string",3]]]],[[["",0],["str",0]],["option",4,[["result",4,[["deserializeowned",8],["string",3]]]]]],[[["",0]]],[[["sessionlength",4]]],[[["",0]],["sessionstatus",4]],null,[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["",0]],["str",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]],[[],["redisactorsessionstore",3]],[[]],[[["into",8,[["string",3]]]],["redisactorsessionstorebuilder",3]],[[["into",8,[["string",3]]]],["redissessionstorebuilder",3]],[[]],[[]],[[["",0]],["redissessionstore",3]],[[["",0],["",0]]],[[],["cookiesessionstore",3]],[[["",0],["sessionkey",3]],["pin",3,[["box",3,[["future",8]]]]]],[[["",0],["sessionkey",3]],["pin",3,[["box",3,[["future",8]]]]]],[[["",0],["sessionkey",3]],["pin",3,[["box",3,[["future",8]]]]]],[[["",0],["sessionkey",3]],["pin",3,[["box",3,[["future",8]]]]]],[[["",0],["sessionkey",3]],["bool",0]],[[["",0],["",0]],["bool",0]],[[["",0],["formatter",3]],["result",6]],[[["",0],["formatter",3]],["result",6]],[[["",0],["formatter",3]],["result",6]],[[["",0],["formatter",3]],["result",6]],[[["",0],["formatter",3]],["result",6]],[[["",0],["formatter",3]],["result",6]],[[["",0],["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["",0],["sessionkey",3]],["pin",3,[["box",3,[["future",8]]]]]],[[["",0],["sessionkey",3]],["pin",3,[["box",3,[["future",8]]]]]],[[["",0],["sessionkey",3]],["pin",3,[["box",3,[["future",8]]]]]],[[["",0],["sessionkey",3]],["pin",3,[["box",3,[["future",8]]]]]],[[["",0],["sessionkey",3]],["bool",0]],[[["into",8,[["string",3]]]],["redisactorsessionstore",3]],[[["into",8,[["string",3]]]]],[[["",0],["hashmap",3,[["string",3],["string",3]]],["duration",3]],["pin",3,[["box",3,[["future",8]]]]]],[[["",0],["hashmap",3,[["string",3],["string",3]]],["duration",3]],["pin",3,[["box",3,[["future",8]]]]]],[[["",0],["hashmap",3,[["string",3],["string",3]]],["duration",3]],["pin",3,[["box",3,[["future",8]]]]]],[[["",0],["hashmap",3,[["string",3],["string",3]]],["duration",3]],["pin",3,[["box",3,[["future",8]]]]]],[[["",0]],["option",4,[["error",8]]]],[[["",0]],["option",4,[["error",8]]]],[[["",0]],["option",4,[["error",8]]]],[[["",0]]],[[["",0]],["string",3]],[[["",0]],["string",3]],[[["",0]],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["string",3]],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0],["sessionkey",3],["hashmap",3,[["string",3],["string",3]]],["duration",3]],["pin",3,[["box",3,[["future",8]]]]]],[[["",0],["sessionkey",3],["hashmap",3,[["string",3],["string",3]]],["duration",3]],["pin",3,[["box",3,[["future",8]]]]]],[[["",0],["sessionkey",3],["hashmap",3,[["string",3],["string",3]]],["duration",3]],["pin",3,[["box",3,[["future",8]]]]]],[[["",0],["sessionkey",3],["hashmap",3,[["string",3],["string",3]]],["duration",3]],["pin",3,[["box",3,[["future",8]]]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null],"p":[[4,"SessionLength"],[4,"SessionStatus"],[4,"CookieContentSecurity"],[3,"SessionMiddlewareBuilder"],[3,"Session"],[3,"SessionMiddleware"],[8,"SessionExt"],[13,"Predetermined"],[13,"BrowserSession"],[4,"LoadError"],[4,"SaveError"],[4,"UpdateError"],[3,"SessionKey"],[3,"RedisActorSessionStore"],[3,"RedisActorSessionStoreBuilder"],[3,"RedisSessionStoreBuilder"],[3,"CookieSessionStore"],[3,"RedisSessionStore"],[8,"SessionStore"],[13,"Deserialization"],[13,"Other"],[13,"Serialization"],[13,"Other"],[13,"Serialization"],[13,"Other"]]},\ diff --git a/settings.html b/settings.html index 02eb76f32..e35610db1 100644 --- a/settings.html +++ b/settings.html @@ -1,11 +1,9 @@ Rustdoc settings -