From 62ea0a56753c3dd8559fb93149eb0b1efba58d61 Mon Sep 17 00:00:00 2001 From: "github-merge-queue[bot]" Date: Sat, 2 Mar 2024 18:28:27 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20actix/ac?= =?UTF-8?q?tix-extras@9112cf9f23b5905820cab522f11d265e2a5cafe4=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- actix_cors/all.html | 2 +- actix_cors/enum.CorsError.html | 18 ++++++------- actix_cors/index.html | 2 +- actix_cors/struct.Cors.html | 14 +++++----- actix_identity/all.html | 2 +- .../config/enum.LogoutBehaviour.html | 14 +++++----- actix_identity/config/index.html | 2 +- .../struct.IdentityMiddlewareBuilder.html | 14 +++++----- .../error/enum.GetIdentityError.html | 22 ++++++++-------- actix_identity/error/index.html | 2 +- actix_identity/error/struct.LoginError.html | 18 ++++++------- .../error/struct.LostIdentityError.html | 18 ++++++------- .../error/struct.MissingIdentityError.html | 18 ++++++------- .../error/struct.SessionExpiryError.html | 16 ++++++------ actix_identity/index.html | 2 +- actix_identity/struct.Identity.html | 14 +++++----- actix_identity/struct.IdentityMiddleware.html | 14 +++++----- actix_identity/trait.IdentityExt.html | 2 +- actix_limitation/all.html | 2 +- .../constant.DEFAULT_COOKIE_NAME.html | 2 +- .../constant.DEFAULT_PERIOD_SECS.html | 2 +- .../constant.DEFAULT_REQUEST_LIMIT.html | 2 +- .../constant.DEFAULT_SESSION_KEY.html | 2 +- actix_limitation/enum.Error.html | 18 ++++++------- actix_limitation/index.html | 2 +- actix_limitation/struct.Builder.html | 14 +++++----- actix_limitation/struct.Limiter.html | 14 +++++----- actix_limitation/struct.RateLimiter.html | 14 +++++----- actix_limitation/struct.Status.html | 14 +++++----- actix_protobuf/all.html | 2 +- actix_protobuf/enum.ProtoBufPayloadError.html | 18 ++++++------- actix_protobuf/index.html | 2 +- actix_protobuf/struct.ProtoBuf.html | 20 +++++++------- actix_protobuf/struct.ProtoBufConfig.html | 14 +++++----- actix_protobuf/struct.ProtoBufMessage.html | 16 ++++++------ .../trait.ProtoBufResponseBuilder.html | 2 +- actix_redis/all.html | 2 +- actix_redis/enum.Error.html | 16 ++++++------ actix_redis/enum.RespError.html | 20 +++++++------- actix_redis/enum.RespValue.html | 16 ++++++------ actix_redis/index.html | 2 +- actix_redis/macro.resp_array.html | 4 +-- actix_redis/struct.Command.html | 16 ++++++------ actix_redis/struct.RedisActor.html | 20 +++++++------- actix_session/all.html | 2 +- .../config/enum.CookieContentSecurity.html | 14 +++++----- .../config/enum.SessionLifecycle.html | 16 ++++++------ .../config/enum.TtlExtensionPolicy.html | 14 +++++----- actix_session/config/index.html | 2 +- .../config/struct.BrowserSession.html | 14 +++++----- .../config/struct.PersistentSession.html | 14 +++++----- .../struct.SessionMiddlewareBuilder.html | 14 +++++----- actix_session/enum.SessionStatus.html | 14 +++++----- actix_session/index.html | 2 +- actix_session/storage/enum.LoadError.html | 18 ++++++------- actix_session/storage/enum.SaveError.html | 18 ++++++------- actix_session/storage/enum.UpdateError.html | 16 ++++++------ actix_session/storage/index.html | 2 +- .../storage/struct.CookieSessionStore.html | 14 +++++----- .../struct.RedisActorSessionStore.html | 14 +++++----- .../struct.RedisActorSessionStoreBuilder.html | 14 +++++----- .../storage/struct.RedisSessionStore.html | 14 +++++----- .../struct.RedisSessionStoreBuilder.html | 14 +++++----- actix_session/storage/struct.SessionKey.html | 14 +++++----- actix_session/storage/trait.SessionStore.html | 2 +- actix_session/struct.Session.html | 20 +++++++------- actix_session/struct.SessionGetError.html | 16 ++++++------ actix_session/struct.SessionInsertError.html | 18 ++++++------- actix_session/struct.SessionMiddleware.html | 14 +++++----- actix_session/trait.SessionExt.html | 2 +- actix_settings/all.html | 2 +- actix_settings/enum.Backlog.html | 22 ++++++++-------- actix_settings/enum.Error.html | 18 ++++++------- actix_settings/enum.KeepAlive.html | 22 ++++++++-------- actix_settings/enum.MaxConnectionRate.html | 22 ++++++++-------- actix_settings/enum.MaxConnections.html | 22 ++++++++-------- actix_settings/enum.Mode.html | 22 ++++++++-------- actix_settings/enum.NumWorkers.html | 22 ++++++++-------- actix_settings/enum.Timeout.html | 22 ++++++++-------- actix_settings/index.html | 2 +- actix_settings/struct.ActixSettings.html | 22 ++++++++-------- actix_settings/struct.Address.html | 22 ++++++++-------- actix_settings/struct.BasicSettings.html | 26 +++++++++---------- actix_settings/struct.NoSettings.html | 22 ++++++++-------- actix_settings/struct.Tls.html | 22 ++++++++-------- actix_settings/trait.ApplySettings.html | 4 +-- actix_settings/trait.Parse.html | 4 +-- actix_settings/type.Settings.html | 2 +- actix_web_httpauth/all.html | 2 +- .../extractors/basic/index.html | 2 +- .../extractors/basic/struct.BasicAuth.html | 14 +++++----- .../extractors/basic/struct.Config.html | 14 +++++----- .../extractors/bearer/enum.Error.html | 18 ++++++------- .../extractors/bearer/index.html | 2 +- .../extractors/bearer/struct.BearerAuth.html | 14 +++++----- .../extractors/bearer/struct.Config.html | 14 +++++----- actix_web_httpauth/extractors/index.html | 2 +- .../struct.AuthenticationError.html | 16 ++++++------ .../extractors/trait.AuthExtractorConfig.html | 2 +- .../authorization/enum.ParseError.html | 18 ++++++------- .../headers/authorization/index.html | 2 +- .../authorization/struct.Authorization.html | 18 ++++++------- .../headers/authorization/struct.Basic.html | 18 ++++++------- .../headers/authorization/struct.Bearer.html | 18 ++++++------- .../headers/authorization/trait.Scheme.html | 2 +- actix_web_httpauth/headers/index.html | 2 +- .../headers/www_authenticate/basic/index.html | 2 +- .../www_authenticate/basic/struct.Basic.html | 18 ++++++------- .../www_authenticate/bearer/enum.Error.html | 18 ++++++------- .../www_authenticate/bearer/index.html | 2 +- .../bearer/struct.Bearer.html | 16 ++++++------ .../bearer/struct.BearerBuilder.html | 14 +++++----- .../headers/www_authenticate/index.html | 2 +- .../struct.WwwAuthenticate.html | 14 +++++----- .../www_authenticate/trait.Challenge.html | 2 +- actix_web_httpauth/index.html | 2 +- actix_web_httpauth/middleware/index.html | 2 +- .../middleware/struct.HttpAuthentication.html | 14 +++++----- actix_ws/all.html | 2 +- actix_ws/enum.CloseCode.html | 14 +++++----- actix_ws/enum.Message.html | 14 +++++----- actix_ws/enum.ProtocolError.html | 20 +++++++------- actix_ws/fn.handle.html | 2 +- actix_ws/index.html | 2 +- actix_ws/struct.CloseReason.html | 14 +++++----- actix_ws/struct.Closed.html | 16 ++++++------ actix_ws/struct.MessageStream.html | 14 +++++----- actix_ws/struct.Session.html | 14 +++++----- actix_ws/struct.StreamingBody.html | 14 +++++----- help.html | 4 +-- search-index.js | 18 ++++++------- settings.html | 4 +-- src/actix_cors/all_or_some.rs.html | 2 +- src/actix_cors/builder.rs.html | 2 +- src/actix_cors/error.rs.html | 2 +- src/actix_cors/inner.rs.html | 2 +- src/actix_cors/lib.rs.html | 2 +- src/actix_cors/middleware.rs.html | 2 +- src/actix_identity/config.rs.html | 2 +- src/actix_identity/error.rs.html | 2 +- src/actix_identity/identity.rs.html | 2 +- src/actix_identity/identity_ext.rs.html | 2 +- src/actix_identity/lib.rs.html | 2 +- src/actix_identity/middleware.rs.html | 2 +- src/actix_limitation/builder.rs.html | 2 +- src/actix_limitation/errors.rs.html | 6 ++--- src/actix_limitation/lib.rs.html | 2 +- src/actix_limitation/middleware.rs.html | 2 +- src/actix_limitation/status.rs.html | 2 +- src/actix_protobuf/lib.rs.html | 2 +- src/actix_redis/lib.rs.html | 2 +- src/actix_redis/redis.rs.html | 2 +- src/actix_session/config.rs.html | 2 +- src/actix_session/lib.rs.html | 2 +- src/actix_session/middleware.rs.html | 2 +- src/actix_session/session.rs.html | 2 +- src/actix_session/session_ext.rs.html | 2 +- src/actix_session/storage/cookie.rs.html | 2 +- src/actix_session/storage/interface.rs.html | 2 +- src/actix_session/storage/mod.rs.html | 2 +- src/actix_session/storage/redis_actor.rs.html | 2 +- src/actix_session/storage/redis_rs.rs.html | 2 +- src/actix_session/storage/session_key.rs.html | 2 +- src/actix_session/storage/utils.rs.html | 2 +- src/actix_settings/error.rs.html | 4 +-- src/actix_settings/lib.rs.html | 2 +- src/actix_settings/parse.rs.html | 4 +-- src/actix_settings/settings/address.rs.html | 2 +- src/actix_settings/settings/backlog.rs.html | 4 +-- .../settings/keep_alive.rs.html | 6 ++--- .../settings/max_connection_rate.rs.html | 4 +-- .../settings/max_connections.rs.html | 4 +-- src/actix_settings/settings/mod.rs.html | 2 +- src/actix_settings/settings/mode.rs.html | 4 +-- .../settings/num_workers.rs.html | 4 +-- src/actix_settings/settings/timeout.rs.html | 6 ++--- src/actix_settings/settings/tls.rs.html | 2 +- .../extractors/basic.rs.html | 2 +- .../extractors/bearer.rs.html | 2 +- .../extractors/config.rs.html | 2 +- .../extractors/errors.rs.html | 2 +- src/actix_web_httpauth/extractors/mod.rs.html | 2 +- .../headers/authorization/errors.rs.html | 2 +- .../headers/authorization/header.rs.html | 2 +- .../headers/authorization/mod.rs.html | 2 +- .../authorization/scheme/basic.rs.html | 2 +- .../authorization/scheme/bearer.rs.html | 2 +- .../headers/authorization/scheme/mod.rs.html | 2 +- src/actix_web_httpauth/headers/mod.rs.html | 2 +- .../www_authenticate/challenge/basic.rs.html | 2 +- .../challenge/bearer/builder.rs.html | 2 +- .../challenge/bearer/challenge.rs.html | 2 +- .../challenge/bearer/errors.rs.html | 2 +- .../challenge/bearer/mod.rs.html | 2 +- .../www_authenticate/challenge/mod.rs.html | 2 +- .../headers/www_authenticate/header.rs.html | 2 +- .../headers/www_authenticate/mod.rs.html | 2 +- src/actix_web_httpauth/lib.rs.html | 2 +- src/actix_web_httpauth/middleware.rs.html | 2 +- src/actix_web_httpauth/utils.rs.html | 2 +- src/actix_ws/fut.rs.html | 2 +- src/actix_ws/lib.rs.html | 2 +- src/actix_ws/session.rs.html | 2 +- static.files/main-12cf3b4f4f9dc36d.js | 11 ++++++++ static.files/main-c37d3936c59ababd.js | 11 -------- trait.impl/core/convert/trait.From.js | 2 +- trait.impl/serde/de/trait.Deserialize.js | 2 +- .../actix_settings/struct.BasicSettings.js | 2 +- 208 files changed, 849 insertions(+), 849 deletions(-) create mode 100644 static.files/main-12cf3b4f4f9dc36d.js delete mode 100644 static.files/main-c37d3936c59ababd.js diff --git a/actix_cors/all.html b/actix_cors/all.html index 422bdfc74..f1a0b20af 100644 --- a/actix_cors/all.html +++ b/actix_cors/all.html @@ -1,2 +1,2 @@ -List of all items in this crate +List of all items in this crate

List of all items

Structs

Enums

\ No newline at end of file diff --git a/actix_cors/enum.CorsError.html b/actix_cors/enum.CorsError.html index df063b725..a34280695 100644 --- a/actix_cors/enum.CorsError.html +++ b/actix_cors/enum.CorsError.html @@ -1,4 +1,4 @@ -CorsError in actix_cors - Rust +CorsError in actix_cors - Rust
#[non_exhaustive]
pub enum CorsError { WildcardOrigin, MissingOrigin, @@ -17,21 +17,21 @@
§

OriginNotAllowed

Origin is not allowed to make this request.

§

MethodNotAllowed

Request method is not allowed.

§

HeadersNotAllowed

One or more request headers are not allowed.

-

Trait Implementations§

source§

impl Clone for CorsError

source§

fn clone(&self) -> CorsError

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for CorsError

source§

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

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

impl Display for CorsError

source§

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

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

impl Error for CorsError

1.30.0 · source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl ResponseError for CorsError

source§

fn status_code(&self) -> StatusCode

Returns appropriate status code for error. Read more
source§

fn error_response(&self) -> HttpResponse

Creates full response for error. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

Trait Implementations§

source§

impl Clone for CorsError

source§

fn clone(&self) -> CorsError

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for CorsError

source§

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

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

impl Display for CorsError

source§

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

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

impl Error for CorsError

1.30.0 · source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl ResponseError for CorsError

source§

fn status_code(&self) -> StatusCode

Returns appropriate status code for error. Read more
source§

fn error_response(&self) -> HttpResponse

Creates full response for error. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

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

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

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

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/actix_cors/index.html b/actix_cors/index.html index 0d6d3cf75..804296ebf 100644 --- a/actix_cors/index.html +++ b/actix_cors/index.html @@ -1,4 +1,4 @@ -actix_cors - Rust
source§

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

\ No newline at end of file diff --git a/actix_settings/enum.MaxConnections.html b/actix_settings/enum.MaxConnections.html index 1f8ba764f..700b8cfb3 100644 --- a/actix_settings/enum.MaxConnections.html +++ b/actix_settings/enum.MaxConnections.html @@ -1,4 +1,4 @@ -MaxConnections in actix_settings - Rust +MaxConnections in actix_settings - Rust
pub enum MaxConnections {
     Default,
     Manual(usize),
@@ -8,8 +8,8 @@ By default max connections is set to a 25k. Takes a string value: Either “defa
 integer N > 0 e.g. “6”.

Variants§

§

Default

The default number of connections. See struct docs.

§

Manual(usize)

A specific number of connections.

-

Trait Implementations§

source§

impl Clone for MaxConnections

source§

fn clone(&self) -> MaxConnections

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for MaxConnections

source§

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

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

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

source§

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

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

impl Hash for MaxConnections

source§

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

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

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

Trait Implementations§

source§

impl Clone for MaxConnections

source§

fn clone(&self) -> MaxConnections

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for MaxConnections

source§

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

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

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

source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where + D: Deserializer<'de>,

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

impl Hash for MaxConnections

source§

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

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

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

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

impl Parse for MaxConnections

source§

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

Parse Self from string.
source§

impl PartialEq for MaxConnections

source§

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

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

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

This method tests for !=. The default implementation is almost always @@ -20,19 +20,19 @@ sufficient, and should not be overridden without very good reason.
Eq + ?Sized, K: Borrow<Q> + ?Sized,
§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ K: Borrow<Q> + ?Sized,
§

fn equivalent(&self, key: &K) -> bool

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

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

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

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

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

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

\ No newline at end of file diff --git a/actix_settings/enum.Mode.html b/actix_settings/enum.Mode.html index 24d0966fd..87d3d6a96 100644 --- a/actix_settings/enum.Mode.html +++ b/actix_settings/enum.Mode.html @@ -1,12 +1,12 @@ -Mode in actix_settings - Rust +Mode in actix_settings - Rust

Enum actix_settings::Mode

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

Marker of intended deployment environment.

Variants§

§

Development

Marks development environment.

§

Production

Marks production environment.

-

Trait Implementations§

source§

impl Clone for Mode

source§

fn clone(&self) -> Mode

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for Mode

source§

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

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

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

source§

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

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

impl Hash for Mode

source§

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

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

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

Trait Implementations§

source§

impl Clone for Mode

source§

fn clone(&self) -> Mode

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for Mode

source§

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

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

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

source§

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

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

impl Hash for Mode

source§

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

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

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

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

impl Parse for Mode

source§

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

Parse Self from string.
source§

impl PartialEq for Mode

source§

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

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

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

This method tests for !=. The default implementation is almost always @@ -17,19 +17,19 @@ sufficient, and should not be overridden without very good reason.
Eq + ?Sized, K: Borrow<Q> + ?Sized,
§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ K: Borrow<Q> + ?Sized,
§

fn equivalent(&self, key: &K) -> bool

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

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

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

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

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

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

\ No newline at end of file diff --git a/actix_settings/enum.NumWorkers.html b/actix_settings/enum.NumWorkers.html index d4ddb68ca..9acdc22c7 100644 --- a/actix_settings/enum.NumWorkers.html +++ b/actix_settings/enum.NumWorkers.html @@ -1,4 +1,4 @@ -NumWorkers in actix_settings - Rust +NumWorkers in actix_settings - Rust
pub enum NumWorkers {
     Default,
     Manual(usize),
@@ -7,8 +7,8 @@
 “default”, or an integer N > 0 e.g. “6”.

Variants§

§

Default

The default number of workers. See struct docs.

§

Manual(usize)

A specific number of workers.

-

Trait Implementations§

source§

impl Clone for NumWorkers

source§

fn clone(&self) -> NumWorkers

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for NumWorkers

source§

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

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

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

source§

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

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

impl Hash for NumWorkers

source§

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

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

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

Trait Implementations§

source§

impl Clone for NumWorkers

source§

fn clone(&self) -> NumWorkers

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for NumWorkers

source§

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

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

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

source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where + D: Deserializer<'de>,

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

impl Hash for NumWorkers

source§

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

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

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

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

impl Parse for NumWorkers

source§

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

Parse Self from string.
source§

impl PartialEq for NumWorkers

source§

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

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

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

This method tests for !=. The default implementation is almost always @@ -19,19 +19,19 @@ sufficient, and should not be overridden without very good reason.
Eq + ?Sized, K: Borrow<Q> + ?Sized,
§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ K: Borrow<Q> + ?Sized,
§

fn equivalent(&self, key: &K) -> bool

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

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

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

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

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

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

\ No newline at end of file diff --git a/actix_settings/enum.Timeout.html b/actix_settings/enum.Timeout.html index c64e3b41b..e00466d11 100644 --- a/actix_settings/enum.Timeout.html +++ b/actix_settings/enum.Timeout.html @@ -1,4 +1,4 @@ -Timeout in actix_settings - Rust +Timeout in actix_settings - Rust
pub enum Timeout {
     Default,
     Milliseconds(usize),
@@ -7,8 +7,8 @@
 

Variants§

§

Default

The default timeout. Depends on context.

§

Milliseconds(usize)

Timeout in milliseconds.

§

Seconds(usize)

Timeout in seconds.

-

Trait Implementations§

source§

impl Clone for Timeout

source§

fn clone(&self) -> Timeout

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for Timeout

source§

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

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

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

source§

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

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

impl Hash for Timeout

source§

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

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

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

Trait Implementations§

source§

impl Clone for Timeout

source§

fn clone(&self) -> Timeout

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for Timeout

source§

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

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

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

source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where + D: Deserializer<'de>,

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

impl Hash for Timeout

source§

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

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

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

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

impl Parse for Timeout

source§

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

Parse Self from string.
source§

impl PartialEq for Timeout

source§

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

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

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

This method tests for !=. The default implementation is almost always @@ -19,19 +19,19 @@ sufficient, and should not be overridden without very good reason.
Eq + ?Sized, K: Borrow<Q> + ?Sized,
§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ K: Borrow<Q> + ?Sized,
§

fn equivalent(&self, key: &K) -> bool

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

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

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

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

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

\ No newline at end of file +[WithDispatch] wrapper. Read more
source§

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

\ No newline at end of file diff --git a/actix_settings/index.html b/actix_settings/index.html index bab4ce902..77af494e9 100644 --- a/actix_settings/index.html +++ b/actix_settings/index.html @@ -1,4 +1,4 @@ -actix_settings - Rust