From 73296300a4a62e1c10db37eccf223a9d9b08f8d9 Mon Sep 17 00:00:00 2001 From: robjtede Date: Wed, 13 Mar 2024 01:49:41 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20actix/ac?= =?UTF-8?q?tix-extras@f250348e573aa67ac9be580037cdaf40648e4903=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 | 4 +- actix_cors/index.html | 2 +- actix_cors/struct.Cors.html | 4 +- actix_identity/all.html | 2 +- .../config/enum.LogoutBehaviour.html | 4 +- actix_identity/config/index.html | 2 +- .../struct.IdentityMiddlewareBuilder.html | 4 +- .../error/enum.GetIdentityError.html | 8 +- actix_identity/error/index.html | 2 +- actix_identity/error/struct.LoginError.html | 4 +- .../error/struct.LostIdentityError.html | 4 +- .../error/struct.MissingIdentityError.html | 4 +- .../error/struct.SessionExpiryError.html | 4 +- actix_identity/index.html | 2 +- actix_identity/struct.Identity.html | 4 +- actix_identity/struct.IdentityMiddleware.html | 4 +- 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 | 4 +- actix_limitation/index.html | 2 +- actix_limitation/struct.Builder.html | 4 +- actix_limitation/struct.Limiter.html | 4 +- actix_limitation/struct.RateLimiter.html | 4 +- actix_limitation/struct.Status.html | 4 +- actix_protobuf/all.html | 2 +- actix_protobuf/enum.ProtoBufPayloadError.html | 4 +- actix_protobuf/index.html | 2 +- actix_protobuf/struct.ProtoBuf.html | 9 +- actix_protobuf/struct.ProtoBufConfig.html | 4 +- actix_protobuf/struct.ProtoBufMessage.html | 4 +- .../trait.ProtoBufResponseBuilder.html | 2 +- actix_redis/all.html | 2 - actix_redis/enum.Error.html | 26 - actix_redis/enum.RespError.html | 39 -- actix_redis/enum.RespValue.html | 45 -- actix_redis/index.html | 5 - actix_redis/macro.resp_array!.html | 11 - actix_redis/macro.resp_array.html | 25 - actix_redis/redis/struct.Command.html | 11 - actix_redis/redis/struct.RedisActor.html | 11 - actix_redis/sidebar-items.js | 1 - actix_redis/struct.Command.html | 20 - actix_redis/struct.RedisActor.html | 28 - actix_session/all.html | 4 +- .../config/enum.CookieContentSecurity.html | 4 +- .../config/enum.SessionLifecycle.html | 4 +- .../config/enum.TtlExtensionPolicy.html | 4 +- actix_session/config/index.html | 2 +- .../config/struct.BrowserSession.html | 4 +- .../config/struct.PersistentSession.html | 4 +- .../struct.SessionMiddlewareBuilder.html | 5 +- actix_session/enum.SessionStatus.html | 4 +- actix_session/index.html | 13 +- actix_session/storage/enum.LoadError.html | 12 +- actix_session/storage/enum.SaveError.html | 12 +- actix_session/storage/enum.UpdateError.html | 12 +- actix_session/storage/index.html | 7 +- .../struct.RedisActorSessionStore.html | 11 - .../struct.RedisActorSessionStoreBuilder.html | 11 - actix_session/storage/sidebar-items.js | 2 +- .../storage/struct.CookieSessionStore.html | 4 +- .../struct.RedisActorSessionStore.html | 76 --- .../struct.RedisActorSessionStoreBuilder.html | 23 - .../storage/struct.RedisSessionStore.html | 14 +- .../struct.RedisSessionStoreBuilder.html | 8 +- actix_session/storage/struct.SessionKey.html | 4 +- actix_session/storage/trait.SessionStore.html | 12 +- actix_session/struct.Session.html | 4 +- actix_session/struct.SessionGetError.html | 4 +- actix_session/struct.SessionInsertError.html | 4 +- actix_session/struct.SessionMiddleware.html | 74 +-- actix_session/trait.SessionExt.html | 2 +- actix_settings/all.html | 2 +- actix_settings/enum.Backlog.html | 4 +- actix_settings/enum.Error.html | 4 +- actix_settings/enum.KeepAlive.html | 4 +- actix_settings/enum.MaxConnectionRate.html | 4 +- actix_settings/enum.MaxConnections.html | 4 +- actix_settings/enum.Mode.html | 4 +- actix_settings/enum.NumWorkers.html | 4 +- actix_settings/enum.Timeout.html | 4 +- actix_settings/index.html | 2 +- actix_settings/struct.ActixSettings.html | 4 +- actix_settings/struct.Address.html | 4 +- actix_settings/struct.BasicSettings.html | 5 +- actix_settings/struct.NoSettings.html | 4 +- actix_settings/struct.Tls.html | 4 +- actix_settings/trait.ApplySettings.html | 2 +- actix_settings/trait.Parse.html | 2 +- actix_settings/type.Settings.html | 2 +- actix_web_httpauth/all.html | 2 +- .../extractors/basic/index.html | 2 +- .../extractors/basic/struct.BasicAuth.html | 4 +- .../extractors/basic/struct.Config.html | 4 +- .../extractors/bearer/enum.Error.html | 4 +- .../extractors/bearer/index.html | 2 +- .../extractors/bearer/struct.BearerAuth.html | 4 +- .../extractors/bearer/struct.Config.html | 4 +- actix_web_httpauth/extractors/index.html | 2 +- .../struct.AuthenticationError.html | 5 +- .../extractors/trait.AuthExtractorConfig.html | 2 +- .../authorization/enum.ParseError.html | 4 +- .../headers/authorization/index.html | 2 +- .../authorization/struct.Authorization.html | 5 +- .../headers/authorization/struct.Basic.html | 4 +- .../headers/authorization/struct.Bearer.html | 6 +- .../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 | 6 +- .../www_authenticate/bearer/enum.Error.html | 4 +- .../www_authenticate/bearer/index.html | 2 +- .../bearer/struct.Bearer.html | 6 +- .../bearer/struct.BearerBuilder.html | 4 +- .../headers/www_authenticate/index.html | 2 +- .../struct.WwwAuthenticate.html | 5 +- .../www_authenticate/trait.Challenge.html | 2 +- actix_web_httpauth/index.html | 2 +- actix_web_httpauth/middleware/index.html | 2 +- .../middleware/struct.HttpAuthentication.html | 4 +- actix_ws/all.html | 2 +- actix_ws/enum.CloseCode.html | 6 +- actix_ws/enum.Message.html | 4 +- actix_ws/enum.ProtocolError.html | 4 +- actix_ws/fn.handle.html | 2 +- actix_ws/index.html | 2 +- actix_ws/struct.CloseReason.html | 4 +- actix_ws/struct.Closed.html | 4 +- actix_ws/struct.MessageStream.html | 4 +- actix_ws/struct.Session.html | 4 +- actix_ws/struct.StreamingBody.html | 4 +- crates.js | 2 +- help.html | 2 +- search-index.js | 17 +- settings.html | 2 +- src-files.js | 3 +- 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 | 2 +- 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 | 67 -- src/actix_redis/redis.rs.html | 289 -------- src/actix_session/config.rs.html | 2 +- src/actix_session/lib.rs.html | 20 +- src/actix_session/middleware.rs.html | 66 +- 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 | 14 +- src/actix_session/storage/redis_actor.rs.html | 623 ------------------ src/actix_session/storage/redis_rs.rs.html | 8 +- src/actix_session/storage/session_key.rs.html | 2 +- src/actix_session/storage/utils.rs.html | 2 +- src/actix_settings/error.rs.html | 2 +- src/actix_settings/lib.rs.html | 2 +- src/actix_settings/parse.rs.html | 2 +- src/actix_settings/settings/address.rs.html | 2 +- src/actix_settings/settings/backlog.rs.html | 2 +- .../settings/keep_alive.rs.html | 2 +- .../settings/max_connection_rate.rs.html | 2 +- .../settings/max_connections.rs.html | 2 +- src/actix_settings/settings/mod.rs.html | 2 +- src/actix_settings/settings/mode.rs.html | 2 +- .../settings/num_workers.rs.html | 2 +- src/actix_settings/settings/timeout.rs.html | 2 +- src/actix_settings/settings/tls.rs.html | 2 +- .../extractors/basic.rs.html | 2 +- .../extractors/bearer.rs.html | 2 +- .../extractors/config.rs.html | 2 +- .../extractors/errors.rs.html | 2 +- src/actix_web_httpauth/extractors/mod.rs.html | 2 +- .../headers/authorization/errors.rs.html | 2 +- .../headers/authorization/header.rs.html | 2 +- .../headers/authorization/mod.rs.html | 2 +- .../authorization/scheme/basic.rs.html | 2 +- .../authorization/scheme/bearer.rs.html | 2 +- .../headers/authorization/scheme/mod.rs.html | 2 +- src/actix_web_httpauth/headers/mod.rs.html | 2 +- .../www_authenticate/challenge/basic.rs.html | 2 +- .../challenge/bearer/builder.rs.html | 2 +- .../challenge/bearer/challenge.rs.html | 2 +- .../challenge/bearer/errors.rs.html | 2 +- .../challenge/bearer/mod.rs.html | 2 +- .../www_authenticate/challenge/mod.rs.html | 2 +- .../headers/www_authenticate/header.rs.html | 2 +- .../headers/www_authenticate/mod.rs.html | 2 +- src/actix_web_httpauth/lib.rs.html | 2 +- src/actix_web_httpauth/middleware.rs.html | 2 +- src/actix_web_httpauth/utils.rs.html | 2 +- src/actix_ws/fut.rs.html | 2 +- src/actix_ws/lib.rs.html | 2 +- src/actix_ws/session.rs.html | 2 +- trait.impl/actix/actor/trait.Actor.js | 3 - trait.impl/actix/actor/trait.Supervised.js | 3 - trait.impl/actix/handler/trait.Handler.js | 3 - trait.impl/actix/handler/trait.Message.js | 3 - trait.impl/actix/io/trait.WriteHandler.js | 3 - .../actix/stream/trait.StreamHandler.js | 3 - .../response_error/trait.ResponseError.js | 1 - trait.impl/core/convert/trait.From.js | 5 +- trait.impl/core/error/trait.Error.js | 1 - trait.impl/core/fmt/trait.Debug.js | 1 - trait.impl/core/fmt/trait.Display.js | 1 - trait.impl/core/marker/trait.Freeze.js | 17 +- trait.impl/core/marker/trait.Send.js | 3 +- trait.impl/core/marker/trait.Sync.js | 3 +- trait.impl/core/marker/trait.Unpin.js | 3 +- .../panic/unwind_safe/trait.RefUnwindSafe.js | 3 +- .../panic/unwind_safe/trait.UnwindSafe.js | 3 +- 229 files changed, 399 insertions(+), 1794 deletions(-) delete mode 100644 actix_redis/all.html delete mode 100644 actix_redis/enum.Error.html delete mode 100644 actix_redis/enum.RespError.html delete mode 100644 actix_redis/enum.RespValue.html delete mode 100644 actix_redis/index.html delete mode 100644 actix_redis/macro.resp_array!.html delete mode 100644 actix_redis/macro.resp_array.html delete mode 100644 actix_redis/redis/struct.Command.html delete mode 100644 actix_redis/redis/struct.RedisActor.html delete mode 100644 actix_redis/sidebar-items.js delete mode 100644 actix_redis/struct.Command.html delete mode 100644 actix_redis/struct.RedisActor.html delete mode 100644 actix_session/storage/redis_actor/struct.RedisActorSessionStore.html delete mode 100644 actix_session/storage/redis_actor/struct.RedisActorSessionStoreBuilder.html delete mode 100644 actix_session/storage/struct.RedisActorSessionStore.html delete mode 100644 actix_session/storage/struct.RedisActorSessionStoreBuilder.html delete mode 100644 src/actix_redis/lib.rs.html delete mode 100644 src/actix_redis/redis.rs.html delete mode 100644 src/actix_session/storage/redis_actor.rs.html delete mode 100644 trait.impl/actix/actor/trait.Actor.js delete mode 100644 trait.impl/actix/actor/trait.Supervised.js delete mode 100644 trait.impl/actix/handler/trait.Handler.js delete mode 100644 trait.impl/actix/handler/trait.Message.js delete mode 100644 trait.impl/actix/io/trait.WriteHandler.js delete mode 100644 trait.impl/actix/stream/trait.StreamHandler.js diff --git a/actix_cors/all.html b/actix_cors/all.html index 3b5fa2b83..c964a503b 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 9ee8d5e0e..5f94323a1 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,7 +17,7 @@
§

OriginNotAllowed

Origin is not allowed to make this request.

§

MethodNotAllowed

Request method is not allowed.

§

HeadersNotAllowed

One or more request headers are not allowed.

-

Trait Implementations§

source§

impl Clone for CorsError

source§

fn clone(&self) -> CorsError

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for CorsError

source§

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

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

impl Display for CorsError

source§

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

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

impl Error for CorsError

1.30.0 · source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl ResponseError for CorsError

source§

fn status_code(&self) -> StatusCode

Returns appropriate status code for error. Read more
source§

fn error_response(&self) -> HttpResponse

Creates full response for error. Read more

Auto Trait Implementations§

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.

diff --git a/actix_cors/index.html b/actix_cors/index.html index e8e7cd3a6..28505d754 100644 --- a/actix_cors/index.html +++ b/actix_cors/index.html @@ -1,4 +1,4 @@ -actix_cors - Rust
source§

impl PartialEq for ActixSettings

source§

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

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

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

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

impl Eq for ActixSettings

source§

impl StructuralPartialEq for ActixSettings

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl Eq for ActixSettings

source§

impl StructuralPartialEq for ActixSettings

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
§

impl<Q, K> Equivalent<K> for Q

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

impl Parse for Address

source§

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

Parse Self from string.
source§

impl PartialEq for Address

source§

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

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

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

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

impl Eq for Address

source§

impl StructuralPartialEq for Address

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl Eq for Address

source§

impl StructuralPartialEq for Address

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
§

impl<Q, K> Equivalent<K> for Q
where diff --git a/actix_settings/struct.BasicSettings.html b/actix_settings/struct.BasicSettings.html index 64459d75d..69ab676da 100644 --- a/actix_settings/struct.BasicSettings.html +++ b/actix_settings/struct.BasicSettings.html @@ -1,4 +1,4 @@ -BasicSettings in actix_settings - Rust +BasicSettings in actix_settings - Rust
pub struct BasicSettings<A> {
     pub actix: ActixSettings,
     pub application: A,
@@ -59,7 +59,8 @@ Settings::override_field_with_env_var(&mut setting
     H: Hasher,
     Self: Sized,

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

impl<A: PartialEq> PartialEq for BasicSettings<A>

source§

fn eq(&self, other: &BasicSettings<A>) -> bool

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

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

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

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

source§

impl<A> StructuralPartialEq for BasicSettings<A>

Auto Trait Implementations§

§

impl<A> RefUnwindSafe for BasicSettings<A>
where +sufficient, and should not be overridden without very good reason.

source§

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

source§

impl<A> StructuralPartialEq for BasicSettings<A>

Auto Trait Implementations§

§

impl<A> Freeze for BasicSettings<A>
where + A: Freeze,

§

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

§

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

§

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

§

impl<A> Unpin for BasicSettings<A>
where diff --git a/actix_settings/struct.NoSettings.html b/actix_settings/struct.NoSettings.html index 55ab1014a..69d0a100b 100644 --- a/actix_settings/struct.NoSettings.html +++ b/actix_settings/struct.NoSettings.html @@ -1,11 +1,11 @@ -NoSettings in actix_settings - Rust +NoSettings in actix_settings - Rust
#[non_exhaustive]
pub struct NoSettings {}
Expand description

Marker type representing no defined application-specific settings.

Trait Implementations§

source§

impl Clone for NoSettings

source§

fn clone(&self) -> NoSettings

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for NoSettings

source§

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

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

impl<'de> Deserialize<'de> for NoSettings

source§

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

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

impl Hash for NoSettings

source§

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

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

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

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

impl PartialEq for NoSettings

source§

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

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

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

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

impl Eq for NoSettings

source§

impl StructuralPartialEq for NoSettings

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl Eq for NoSettings

source§

impl StructuralPartialEq for NoSettings

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
§

impl<Q, K> Equivalent<K> for Q

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

impl PartialEq for Tls

source§

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

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

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

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

impl Eq for Tls

source§

impl StructuralPartialEq for Tls

Auto Trait Implementations§

§

impl RefUnwindSafe for Tls

§

impl Send for Tls

§

impl Sync for Tls

§

impl Unpin for Tls

§

impl UnwindSafe for Tls

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl Eq for Tls

source§

impl StructuralPartialEq for Tls

Auto Trait Implementations§

§

impl Freeze for Tls

§

impl RefUnwindSafe for Tls

§

impl Send for Tls

§

impl Sync for Tls

§

impl Unpin for Tls

§

impl UnwindSafe for Tls

Blanket Implementations§

source§

impl<T> Any for 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
§

impl<Q, K> Equivalent<K> for Q
where diff --git a/actix_settings/trait.ApplySettings.html b/actix_settings/trait.ApplySettings.html index eb9283569..19f8b35fe 100644 --- a/actix_settings/trait.ApplySettings.html +++ b/actix_settings/trait.ApplySettings.html @@ -1,4 +1,4 @@ -ApplySettings in actix_settings - Rust +ApplySettings in actix_settings - Rust
pub trait ApplySettings<S> {
     // Required method
     fn apply_settings(self, settings: &S) -> Self;
diff --git a/actix_settings/trait.Parse.html b/actix_settings/trait.Parse.html
index 958c94dfe..bc6bd444c 100644
--- a/actix_settings/trait.Parse.html
+++ b/actix_settings/trait.Parse.html
@@ -1,4 +1,4 @@
-Parse in actix_settings - Rust
+Parse in actix_settings - Rust
     

Trait actix_settings::Parse

source ·
pub trait Parse: Sized {
     // Required method
     fn parse(string: &str) -> Result<Self, Error>;
diff --git a/actix_settings/type.Settings.html b/actix_settings/type.Settings.html
index 73abc733d..bb19fc52c 100644
--- a/actix_settings/type.Settings.html
+++ b/actix_settings/type.Settings.html
@@ -1,4 +1,4 @@
-Settings in actix_settings - Rust
+Settings in actix_settings - Rust
     

Type Alias actix_settings::Settings

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

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

Aliased Type§

struct Settings {
     pub actix: ActixSettings,
diff --git a/actix_web_httpauth/all.html b/actix_web_httpauth/all.html
index 8f12fdbd5..01bd10f50 100644
--- a/actix_web_httpauth/all.html
+++ b/actix_web_httpauth/all.html
@@ -1,2 +1,2 @@
-List of all items in this crate
+List of all items in this crate
     
\ No newline at end of file diff --git a/actix_web_httpauth/extractors/basic/index.html b/actix_web_httpauth/extractors/basic/index.html index b75dcf724..6ccc111a2 100644 --- a/actix_web_httpauth/extractors/basic/index.html +++ b/actix_web_httpauth/extractors/basic/index.html @@ -1,3 +1,3 @@ -actix_web_httpauth::extractors::basic - Rust +actix_web_httpauth::extractors::basic - Rust
Expand description

Extractor for the “Basic” HTTP Authentication Scheme.

Structs§

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

Extractor for HTTP Basic auth.

§Examples

use actix_web_httpauth::extractors::basic::BasicAuth;
@@ -24,7 +24,7 @@ App::new()
 

Trait Implementations§

source§

impl Clone for BasicAuth

source§

fn clone(&self) -> BasicAuth

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 BasicAuth

source§

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

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

impl From<Basic> for BasicAuth

source§

fn from(basic: Basic) -> Self

Converts to this type from the input type.
source§

impl FromRequest for BasicAuth

§

type Future = Ready<Result<BasicAuth, <BasicAuth as FromRequest>::Error>>

Future that resolves to a Self. Read more
§

type Error = AuthenticationError<Basic>

The associated error which can be returned.
source§

fn from_request( req: &HttpRequest, _: &mut Payload -) -> <Self as FromRequest>::Future

Create a Self from request parts asynchronously.
§

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

Create a Self from request head asynchronously. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +) -> <Self as FromRequest>::Future

Create a Self from request parts asynchronously.
§

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

Create a Self from request head asynchronously. 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.

diff --git a/actix_web_httpauth/extractors/basic/struct.Config.html b/actix_web_httpauth/extractors/basic/struct.Config.html index 2d2969c88..76cda9ed6 100644 --- a/actix_web_httpauth/extractors/basic/struct.Config.html +++ b/actix_web_httpauth/extractors/basic/struct.Config.html @@ -1,10 +1,10 @@ -Config in actix_web_httpauth::extractors::basic - Rust +Config in actix_web_httpauth::extractors::basic - Rust
pub struct Config(/* private fields */);
Expand description

BasicAuth extractor configuration used for WWW-Authenticate header later.

Implementations§

source§

impl Config

source

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

Set challenge realm attribute.

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

-

Trait Implementations§

source§

impl AsRef<Basic> for Config

source§

fn as_ref(&self) -> &Challenge

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

impl AuthExtractorConfig for Config

§

type Inner = Basic

Associated challenge type.
source§

fn into_inner(self) -> Self::Inner

Convert the config instance into a HTTP challenge.
source§

impl Clone for Config

source§

fn clone(&self) -> Config

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 Config

source§

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

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

impl Default for Config

source§

fn default() -> Config

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

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

Trait Implementations§

source§

impl AsRef<Basic> for Config

source§

fn as_ref(&self) -> &Challenge

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

impl AuthExtractorConfig for Config

§

type Inner = Basic

Associated challenge type.
source§

fn into_inner(self) -> Self::Inner

Convert the config instance into a HTTP challenge.
source§

impl Clone for Config

source§

fn clone(&self) -> Config

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 Config

source§

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

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

impl Default for Config

source§

fn default() -> Config

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

Auto Trait Implementations§

§

impl Freeze for Config

§

impl RefUnwindSafe for Config

§

impl Send for Config

§

impl Sync for Config

§

impl Unpin for Config

§

impl UnwindSafe for Config

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

1.0.0 · source§

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

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

impl PartialOrd for Error

source§

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

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

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

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

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

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

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

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

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

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

impl Copy for Error

source§

impl Eq for Error

source§

impl StructuralPartialEq for Error

Auto Trait Implementations§

§

impl RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for T
where +operator. Read more

source§

impl Copy for Error

source§

impl Eq for Error

source§

impl StructuralPartialEq for Error

Auto Trait Implementations§

§

impl Freeze for Error

§

impl RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for 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.

diff --git a/actix_web_httpauth/extractors/bearer/index.html b/actix_web_httpauth/extractors/bearer/index.html index 07f105729..d5811c23d 100644 --- a/actix_web_httpauth/extractors/bearer/index.html +++ b/actix_web_httpauth/extractors/bearer/index.html @@ -1,3 +1,3 @@ -actix_web_httpauth::extractors::bearer - Rust +actix_web_httpauth::extractors::bearer - Rust
Expand description

Extractor for the “Bearer” HTTP Authentication Scheme.

Structs§

Enums§

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

Extractor for HTTP Bearer auth

§Examples

use actix_web_httpauth::extractors::bearer::BearerAuth;
@@ -28,7 +28,7 @@ App::new()
 

Trait Implementations§

source§

impl Clone for BearerAuth

source§

fn clone(&self) -> BearerAuth

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 BearerAuth

source§

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

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

impl FromRequest for BearerAuth

§

type Future = Ready<Result<BearerAuth, <BearerAuth as FromRequest>::Error>>

Future that resolves to a Self. Read more
§

type Error = AuthenticationError<Bearer>

The associated error which can be returned.
source§

fn from_request( req: &HttpRequest, _payload: &mut Payload -) -> <Self as FromRequest>::Future

Create a Self from request parts asynchronously.
§

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

Create a Self from request head asynchronously. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +) -> <Self as FromRequest>::Future

Create a Self from request parts asynchronously.
§

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

Create a Self from request head asynchronously. 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.

diff --git a/actix_web_httpauth/extractors/bearer/struct.Config.html b/actix_web_httpauth/extractors/bearer/struct.Config.html index b9af32937..7ee066f78 100644 --- a/actix_web_httpauth/extractors/bearer/struct.Config.html +++ b/actix_web_httpauth/extractors/bearer/struct.Config.html @@ -1,4 +1,4 @@ -Config in actix_web_httpauth::extractors::bearer - Rust +Config in actix_web_httpauth::extractors::bearer - Rust
pub struct Config(/* private fields */);
Expand description

BearerAuth extractor configuration.

Implementations§

source§

impl Config

source

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

Set challenge scope attribute.

The "scope" attribute is a space-delimited list of case-sensitive @@ -7,7 +7,7 @@ accessing the requested resource.

source

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

Set challenge realm attribute.

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

-

Trait Implementations§

source§

impl AsRef<Bearer> for Config

source§

fn as_ref(&self) -> &Bearer

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

impl AuthExtractorConfig for Config

§

type Inner = Bearer

Associated challenge type.
source§

fn into_inner(self) -> Self::Inner

Convert the config instance into a HTTP challenge.
source§

impl Clone for Config

source§

fn clone(&self) -> Config

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 Config

source§

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

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

impl Default for Config

source§

fn default() -> Config

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

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

Trait Implementations§

source§

impl AsRef<Bearer> for Config

source§

fn as_ref(&self) -> &Bearer

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

impl AuthExtractorConfig for Config

§

type Inner = Bearer

Associated challenge type.
source§

fn into_inner(self) -> Self::Inner

Convert the config instance into a HTTP challenge.
source§

impl Clone for Config

source§

fn clone(&self) -> Config

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 Config

source§

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

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

impl Default for Config

source§

fn default() -> Config

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

Auto Trait Implementations§

§

impl Freeze for Config

§

impl RefUnwindSafe for Config

§

impl Send for Config

§

impl Sync for Config

§

impl Unpin for Config

§

impl UnwindSafe for Config

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.

diff --git a/actix_web_httpauth/extractors/index.html b/actix_web_httpauth/extractors/index.html index 3fbe61f3f..32c913b2e 100644 --- a/actix_web_httpauth/extractors/index.html +++ b/actix_web_httpauth/extractors/index.html @@ -1,4 +1,4 @@ -actix_web_httpauth::extractors - Rust +actix_web_httpauth::extractors - Rust
Expand description

Type-safe authentication information extractors.

Modules§

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

Structs§

Traits§

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

Authentication error returned by authentication extractors.

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

@@ -18,7 +18,8 @@ Error.

Can be used to override returned status code, but by default this lib tries to stick to the RFC, so it might be unreasonable.

Trait Implementations§

source§

impl<C: Debug + Challenge> Debug for AuthenticationError<C>

source§

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

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

impl<C: Challenge> Display for AuthenticationError<C>

source§

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

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

impl<C: Challenge + 'static> Error for AuthenticationError<C>

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<T> From<T> for AuthenticationError<<T as AuthExtractorConfig>::Inner>

source§

fn from(config: T) -> Self

Converts to this type from the input type.
source§

impl<C: Challenge + 'static> ResponseError for AuthenticationError<C>

source§

fn status_code(&self) -> StatusCode

Returns appropriate status code for error. Read more
source§

fn error_response(&self) -> HttpResponse

Creates full response for error. Read more

Auto Trait Implementations§

§

impl<C> RefUnwindSafe for AuthenticationError<C>

source§

fn from(config: T) -> Self

Converts to this type from the input type.
source§

impl<C: Challenge + 'static> ResponseError for AuthenticationError<C>

source§

fn status_code(&self) -> StatusCode

Returns appropriate status code for error. Read more
source§

fn error_response(&self) -> HttpResponse

Creates full response for error. Read more

Auto Trait Implementations§

§

impl<C> Freeze for AuthenticationError<C>
where + C: Freeze,

§

impl<C> RefUnwindSafe for AuthenticationError<C>
where C: RefUnwindSafe,

§

impl<C> Send for AuthenticationError<C>

§

impl<C> Sync for AuthenticationError<C>

§

impl<C> Unpin for AuthenticationError<C>
where C: Unpin,

§

impl<C> UnwindSafe for AuthenticationError<C>
where C: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where diff --git a/actix_web_httpauth/extractors/trait.AuthExtractorConfig.html b/actix_web_httpauth/extractors/trait.AuthExtractorConfig.html index a9fdd90cf..b11bba03d 100644 --- a/actix_web_httpauth/extractors/trait.AuthExtractorConfig.html +++ b/actix_web_httpauth/extractors/trait.AuthExtractorConfig.html @@ -1,4 +1,4 @@ -AuthExtractorConfig in actix_web_httpauth::extractors - Rust +AuthExtractorConfig in actix_web_httpauth::extractors - Rust
pub trait AuthExtractorConfig {
     type Inner: Challenge;
 
diff --git a/actix_web_httpauth/headers/authorization/enum.ParseError.html b/actix_web_httpauth/headers/authorization/enum.ParseError.html
index 49ccbb384..099151919 100644
--- a/actix_web_httpauth/headers/authorization/enum.ParseError.html
+++ b/actix_web_httpauth/headers/authorization/enum.ParseError.html
@@ -1,4 +1,4 @@
-ParseError in actix_web_httpauth::headers::authorization - Rust
+ParseError in actix_web_httpauth::headers::authorization - Rust
     
pub enum ParseError {
     Invalid,
     MissingScheme,
@@ -15,7 +15,7 @@
 
§

ToStrError(ToStrError)

Unable to convert header into the str.

§

Base64DecodeError(DecodeError)

Malformed base64 string.

§

Utf8Error(Utf8Error)

Malformed UTF-8 string.

-

Trait Implementations§

source§

impl Debug for ParseError

source§

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

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

impl Display for ParseError

source§

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

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

impl Error for ParseError

source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<DecodeError> for ParseError

source§

fn from(err: DecodeError) -> Self

Converts to this type from the input type.
source§

impl From<ToStrError> for ParseError

source§

fn from(err: ToStrError) -> Self

Converts to this type from the input type.
source§

impl From<Utf8Error> for ParseError

source§

fn from(err: Utf8Error) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

Trait Implementations§

source§

impl Debug for ParseError

source§

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

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

impl Display for ParseError

source§

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

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

impl Error for ParseError

source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<DecodeError> for ParseError

source§

fn from(err: DecodeError) -> Self

Converts to this type from the input type.
source§

impl From<ToStrError> for ParseError

source§

fn from(err: ToStrError) -> Self

Converts to this type from the input type.
source§

impl From<Utf8Error> for ParseError

source§

fn from(err: Utf8Error) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for 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.

diff --git a/actix_web_httpauth/headers/authorization/index.html b/actix_web_httpauth/headers/authorization/index.html index 20f597173..f17d19bfd 100644 --- a/actix_web_httpauth/headers/authorization/index.html +++ b/actix_web_httpauth/headers/authorization/index.html @@ -1,3 +1,3 @@ -actix_web_httpauth::headers::authorization - Rust +actix_web_httpauth::headers::authorization - Rust
Expand description

Authorization header and various auth schemes.

Structs§

Enums§

  • Possible errors while parsing Authorization header.

Traits§

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

Authorization header, defined in RFC 7235

The “Authorization” header field allows a user agent to authenticate itself with an origin server—usually, but not necessarily, after receiving a 401 (Unauthorized) response. Its value @@ -21,7 +21,8 @@ realm of the resource being requested.

by ==.
1.0.0 · source§

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

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

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

source§

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

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

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

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

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

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

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

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

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

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

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

§

type Error = <S as TryIntoHeaderValue>::Error

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

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

Try to convert value to a HeaderValue.
source§

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

source§

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

Auto Trait Implementations§

§

impl<S> RefUnwindSafe for Authorization<S>
where +operator. Read more

source§

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

§

type Error = <S as TryIntoHeaderValue>::Error

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

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

Try to convert value to a HeaderValue.
source§

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

source§

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

Auto Trait Implementations§

§

impl<S> Freeze for Authorization<S>
where + S: Freeze,

§

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

§

impl<S> Send for Authorization<S>

§

impl<S> Sync for Authorization<S>

§

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

§

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

Blanket Implementations§

source§

impl<T> Any for T
where diff --git a/actix_web_httpauth/headers/authorization/struct.Basic.html b/actix_web_httpauth/headers/authorization/struct.Basic.html index fee508de1..c46d7cbc9 100644 --- a/actix_web_httpauth/headers/authorization/struct.Basic.html +++ b/actix_web_httpauth/headers/authorization/struct.Basic.html @@ -1,4 +1,4 @@ -Basic in actix_web_httpauth::headers::authorization - Rust +Basic in actix_web_httpauth::headers::authorization - Rust
pub struct Basic { /* private fields */ }
Expand description

Credentials for Basic authentication scheme, defined in RFC 7617

Implementations§

source§

impl Basic

source

pub fn new<U, P>(user_id: U, password: Option<P>) -> Basic
where U: Into<Cow<'static, str>>, @@ -15,7 +15,7 @@ by ==.

1.0.0 · source§

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

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

impl PartialOrd for Basic

source§

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

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

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

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

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

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

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

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

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

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

impl Scheme for Basic

source§

fn parse(header: &HeaderValue) -> Result<Self, ParseError>

Try to parse an authentication scheme from the Authorization header.
source§

impl TryIntoHeaderValue for Basic

§

type Error = InvalidHeaderValue

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

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

Try to convert value to a HeaderValue.
source§

impl Eq for Basic

source§

impl StructuralPartialEq for Basic

Auto Trait Implementations§

§

impl RefUnwindSafe for Basic

§

impl Send for Basic

§

impl Sync for Basic

§

impl Unpin for Basic

§

impl UnwindSafe for Basic

Blanket Implementations§

source§

impl<T> Any for T
where +operator. Read more

source§

impl Scheme for Basic

source§

fn parse(header: &HeaderValue) -> Result<Self, ParseError>

Try to parse an authentication scheme from the Authorization header.
source§

impl TryIntoHeaderValue for Basic

§

type Error = InvalidHeaderValue

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

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

Try to convert value to a HeaderValue.
source§

impl Eq for Basic

source§

impl StructuralPartialEq for Basic

Auto Trait Implementations§

§

impl Freeze for Basic

§

impl RefUnwindSafe for Basic

§

impl Send for Basic

§

impl Sync for Basic

§

impl Unpin for Basic

§

impl UnwindSafe for Basic

Blanket Implementations§

source§

impl<T> Any for 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.

diff --git a/actix_web_httpauth/headers/authorization/struct.Bearer.html b/actix_web_httpauth/headers/authorization/struct.Bearer.html index 99a4e81bb..1da359aa5 100644 --- a/actix_web_httpauth/headers/authorization/struct.Bearer.html +++ b/actix_web_httpauth/headers/authorization/struct.Bearer.html @@ -1,4 +1,4 @@ -Bearer in actix_web_httpauth::headers::authorization - Rust +Bearer in actix_web_httpauth::headers::authorization - Rust
pub struct Bearer { /* private fields */ }
Expand description

Credentials for Bearer authentication scheme, defined in RFC 6750.

Should be used in combination with Authorization header.

Implementations§

source§

impl Bearer

source

pub fn new<T>(token: T) -> Bearer
where @@ -6,14 +6,14 @@
§Example
let credentials = Bearer::new("mF_9.B5f-4.1JqM");

source

pub fn token(&self) -> &str

Gets reference to the credentials token.

-

Trait Implementations§

source§

impl Clone for Bearer

source§

fn clone(&self) -> Bearer

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for Bearer

source§

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

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

impl Display for Bearer

source§

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

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

impl Ord for Bearer

source§

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

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

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

Trait Implementations§

source§

impl Clone for Bearer

source§

fn clone(&self) -> Bearer

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for Bearer

source§

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

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

impl Display for Bearer

source§

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

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

impl Ord for Bearer

source§

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

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

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

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

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

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

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

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

impl PartialEq for Bearer

source§

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

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

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

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

impl PartialOrd for Bearer

source§

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

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

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

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

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

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

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

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

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

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

impl Scheme for Bearer

source§

fn parse(header: &HeaderValue) -> Result<Self, ParseError>

Try to parse an authentication scheme from the Authorization header.
source§

impl TryIntoHeaderValue for Bearer

§

type Error = InvalidHeaderValue

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

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

Try to convert value to a HeaderValue.
source§

impl Eq for Bearer

source§

impl StructuralPartialEq for Bearer

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +operator. Read more

source§

impl Scheme for Bearer

source§

fn parse(header: &HeaderValue) -> Result<Self, ParseError>

Try to parse an authentication scheme from the Authorization header.
source§

impl TryIntoHeaderValue for Bearer

§

type Error = InvalidHeaderValue

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

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

Try to convert value to a HeaderValue.
source§

impl Eq for Bearer

source§

impl StructuralPartialEq for Bearer

Auto Trait Implementations§

§

impl Freeze for Bearer

§

impl RefUnwindSafe for Bearer

§

impl Send for Bearer

§

impl Sync for Bearer

§

impl Unpin for Bearer

§

impl UnwindSafe for Bearer

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.

diff --git a/actix_web_httpauth/headers/authorization/trait.Scheme.html b/actix_web_httpauth/headers/authorization/trait.Scheme.html index 9d74744d1..48ac0f208 100644 --- a/actix_web_httpauth/headers/authorization/trait.Scheme.html +++ b/actix_web_httpauth/headers/authorization/trait.Scheme.html @@ -1,4 +1,4 @@ -Scheme in actix_web_httpauth::headers::authorization - Rust +Scheme in actix_web_httpauth::headers::authorization - Rust
pub trait Scheme: TryIntoHeaderValue + Debug + Display + Clone + Send + Sync {
     // Required method
     fn parse(header: &HeaderValue) -> Result<Self, ParseError>;
diff --git a/actix_web_httpauth/headers/index.html b/actix_web_httpauth/headers/index.html
index 68ec9c94a..f21a35657 100644
--- a/actix_web_httpauth/headers/index.html
+++ b/actix_web_httpauth/headers/index.html
@@ -1,3 +1,3 @@
-actix_web_httpauth::headers - Rust
+actix_web_httpauth::headers - Rust
     
Expand description

Typed HTTP headers.

Modules§

\ No newline at end of file diff --git a/actix_web_httpauth/headers/www_authenticate/basic/index.html b/actix_web_httpauth/headers/www_authenticate/basic/index.html index 7ea27e464..d764d3fbf 100644 --- a/actix_web_httpauth/headers/www_authenticate/basic/index.html +++ b/actix_web_httpauth/headers/www_authenticate/basic/index.html @@ -1,4 +1,4 @@ -actix_web_httpauth::headers::www_authenticate::basic - Rust +actix_web_httpauth::headers::www_authenticate::basic - Rust
Expand description

Challenge for the “Basic” HTTP Authentication Scheme.

Structs§

\ No newline at end of file diff --git a/actix_web_httpauth/headers/www_authenticate/basic/struct.Basic.html b/actix_web_httpauth/headers/www_authenticate/basic/struct.Basic.html index b3fc9be7c..30d0e98c7 100644 --- a/actix_web_httpauth/headers/www_authenticate/basic/struct.Basic.html +++ b/actix_web_httpauth/headers/www_authenticate/basic/struct.Basic.html @@ -1,4 +1,4 @@ -Basic in actix_web_httpauth::headers::www_authenticate::basic - Rust +Basic in actix_web_httpauth::headers::www_authenticate::basic - Rust
pub struct Basic { /* private fields */ }
Expand description

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

§Examples

@@ -22,7 +22,7 @@ described in RFC 7617

let my_realm = "Earth realm".to_string();
 let challenge = Basic::with_realm(my_realm);
-

Trait Implementations§

source§

impl AsRef<Basic> for Config

source§

fn as_ref(&self) -> &Challenge

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

impl Clone for Basic

source§

fn clone(&self) -> Basic

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for Basic

source§

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

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

impl Default for Basic

source§

fn default() -> Basic

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

impl Display for Basic

source§

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

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

impl Hash for Basic

source§

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

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

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

Trait Implementations§

source§

impl AsRef<Basic> for Config

source§

fn as_ref(&self) -> &Challenge

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

impl Clone for Basic

source§

fn clone(&self) -> Basic

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for Basic

source§

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

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

impl Default for Basic

source§

fn default() -> Basic

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

impl Display for Basic

source§

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

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

impl Hash for Basic

source§

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

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

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

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

impl Ord for Basic

source§

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

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

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

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

fn min(self, other: Self) -> Self
where @@ -31,7 +31,7 @@ described in RFC 7617

by ==.

1.0.0 · source§

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

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

impl PartialOrd for Basic

source§

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

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

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

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

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

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

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

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

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

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

impl TryIntoHeaderValue for Basic

§

type Error = InvalidHeaderValue

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

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

Try to convert value to a HeaderValue.
source§

impl Eq for Basic

source§

impl StructuralPartialEq for Basic

Auto Trait Implementations§

§

impl RefUnwindSafe for Basic

§

impl Send for Basic

§

impl Sync for Basic

§

impl Unpin for Basic

§

impl UnwindSafe for Basic

Blanket Implementations§

source§

impl<T> Any for T
where +operator. Read more

source§

impl TryIntoHeaderValue for Basic

§

type Error = InvalidHeaderValue

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

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

Try to convert value to a HeaderValue.
source§

impl Eq for Basic

source§

impl StructuralPartialEq for Basic

Auto Trait Implementations§

§

impl Freeze for Basic

§

impl RefUnwindSafe for Basic

§

impl Send for Basic

§

impl Sync for Basic

§

impl Unpin for Basic

§

impl UnwindSafe for Basic

Blanket Implementations§

source§

impl<T> Any for 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.

diff --git a/actix_web_httpauth/headers/www_authenticate/bearer/enum.Error.html b/actix_web_httpauth/headers/www_authenticate/bearer/enum.Error.html index ffba7dabc..bc6573b94 100644 --- a/actix_web_httpauth/headers/www_authenticate/bearer/enum.Error.html +++ b/actix_web_httpauth/headers/www_authenticate/bearer/enum.Error.html @@ -1,4 +1,4 @@ -Error in actix_web_httpauth::headers::www_authenticate::bearer - Rust +Error in actix_web_httpauth::headers::www_authenticate::bearer - Rust
pub enum Error {
     InvalidRequest,
     InvalidToken,
@@ -19,7 +19,7 @@ or is otherwise malformed.

by ==.
1.0.0 · source§

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

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

impl PartialOrd for Error

source§

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

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

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

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

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

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

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

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

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

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

impl Copy for Error

source§

impl Eq for Error

source§

impl StructuralPartialEq for Error

Auto Trait Implementations§

§

impl RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for T
where +operator. Read more

source§

impl Copy for Error

source§

impl Eq for Error

source§

impl StructuralPartialEq for Error

Auto Trait Implementations§

§

impl Freeze for Error

§

impl RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for 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.

diff --git a/actix_web_httpauth/headers/www_authenticate/bearer/index.html b/actix_web_httpauth/headers/www_authenticate/bearer/index.html index d8ae54036..5444a8bf1 100644 --- a/actix_web_httpauth/headers/www_authenticate/bearer/index.html +++ b/actix_web_httpauth/headers/www_authenticate/bearer/index.html @@ -1,3 +1,3 @@ -actix_web_httpauth::headers::www_authenticate::bearer - Rust +actix_web_httpauth::headers::www_authenticate::bearer - Rust
Expand description

Challenge for the “Bearer” HTTP Authentication Scheme.

Structs§

Enums§

\ No newline at end of file diff --git a/actix_web_httpauth/headers/www_authenticate/bearer/struct.Bearer.html b/actix_web_httpauth/headers/www_authenticate/bearer/struct.Bearer.html index 4e57ad3eb..d1fbfb190 100644 --- a/actix_web_httpauth/headers/www_authenticate/bearer/struct.Bearer.html +++ b/actix_web_httpauth/headers/www_authenticate/bearer/struct.Bearer.html @@ -1,4 +1,4 @@ -Bearer in actix_web_httpauth::headers::www_authenticate::bearer - Rust +Bearer in actix_web_httpauth::headers::www_authenticate::bearer - Rust
pub struct Bearer { /* private fields */ }
Expand description

Challenge for WWW-Authenticate header with HTTP Bearer auth scheme, described in RFC 6750.

§Examples

use actix_web_httpauth::headers::www_authenticate::bearer::{
@@ -25,7 +25,7 @@
     .realm("Restricted area")
     .scope("openid profile email")
     .finish();
-

Trait Implementations§

source§

impl AsRef<Bearer> for Config

source§

fn as_ref(&self) -> &Bearer

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

impl Clone for Bearer

source§

fn clone(&self) -> Bearer

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for Bearer

source§

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

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

impl Default for Bearer

source§

fn default() -> Bearer

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

impl Display for Bearer

source§

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

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

impl Hash for Bearer

source§

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

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

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

Trait Implementations§

source§

impl AsRef<Bearer> for Config

source§

fn as_ref(&self) -> &Bearer

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

impl Clone for Bearer

source§

fn clone(&self) -> Bearer

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for Bearer

source§

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

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

impl Default for Bearer

source§

fn default() -> Bearer

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

impl Display for Bearer

source§

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

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

impl Hash for Bearer

source§

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

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

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

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

impl Ord for Bearer

source§

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

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

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

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

fn min(self, other: Self) -> Self
where @@ -34,7 +34,7 @@ by ==.

1.0.0 · source§

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

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

impl PartialOrd for Bearer

source§

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

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

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

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

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

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

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

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

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

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

impl TryIntoHeaderValue for Bearer

§

type Error = InvalidHeaderValue

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

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

Try to convert value to a HeaderValue.
source§

impl Eq for Bearer

source§

impl StructuralPartialEq for Bearer

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +operator. Read more

source§

impl TryIntoHeaderValue for Bearer

§

type Error = InvalidHeaderValue

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

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

Try to convert value to a HeaderValue.
source§

impl Eq for Bearer

source§

impl StructuralPartialEq for Bearer

Auto Trait Implementations§

§

impl Freeze for Bearer

§

impl RefUnwindSafe for Bearer

§

impl Send for Bearer

§

impl Sync for Bearer

§

impl Unpin for Bearer

§

impl UnwindSafe for Bearer

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.

diff --git a/actix_web_httpauth/headers/www_authenticate/bearer/struct.BearerBuilder.html b/actix_web_httpauth/headers/www_authenticate/bearer/struct.BearerBuilder.html index 594010641..b90c1818d 100644 --- a/actix_web_httpauth/headers/www_authenticate/bearer/struct.BearerBuilder.html +++ b/actix_web_httpauth/headers/www_authenticate/bearer/struct.BearerBuilder.html @@ -1,4 +1,4 @@ -BearerBuilder in actix_web_httpauth::headers::www_authenticate::bearer - Rust +BearerBuilder in actix_web_httpauth::headers::www_authenticate::bearer - Rust
pub struct BearerBuilder(/* private fields */);
Expand description

Builder for the Bearer challenge.

It is up to implementor to fill all required fields, neither this Builder nor Bearer provide any validation.

@@ -14,7 +14,7 @@ provide any validation.

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

RFC 6750 §3

source

pub fn finish(self) -> Bearer

Consumes the builder and returns built Bearer instance.

-

Trait Implementations§

source§

impl Debug for BearerBuilder

source§

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

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

impl Default for BearerBuilder

source§

fn default() -> BearerBuilder

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

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

Trait Implementations§

source§

impl Debug for BearerBuilder

source§

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

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

impl Default for BearerBuilder

source§

fn default() -> BearerBuilder

Returns the “default value” for a type. 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.

diff --git a/actix_web_httpauth/headers/www_authenticate/index.html b/actix_web_httpauth/headers/www_authenticate/index.html index 23e60e3e5..3eb090e4a 100644 --- a/actix_web_httpauth/headers/www_authenticate/index.html +++ b/actix_web_httpauth/headers/www_authenticate/index.html @@ -1,3 +1,3 @@ -actix_web_httpauth::headers::www_authenticate - Rust +actix_web_httpauth::headers::www_authenticate - Rust
Expand description

WWW-Authenticate header and various auth challenges.

Modules§

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

Structs§

Traits§

  • Authentication challenge for WWW-Authenticate header.
\ No newline at end of file diff --git a/actix_web_httpauth/headers/www_authenticate/struct.WwwAuthenticate.html b/actix_web_httpauth/headers/www_authenticate/struct.WwwAuthenticate.html index 04f7f007a..efdd9366a 100644 --- a/actix_web_httpauth/headers/www_authenticate/struct.WwwAuthenticate.html +++ b/actix_web_httpauth/headers/www_authenticate/struct.WwwAuthenticate.html @@ -1,4 +1,4 @@ -WwwAuthenticate in actix_web_httpauth::headers::www_authenticate - Rust +WwwAuthenticate in actix_web_httpauth::headers::www_authenticate - Rust
pub struct WwwAuthenticate<C: Challenge>(pub C);
Expand description

WWW-Authenticate header, described in RFC 7235.

This header is generic over the Challenge trait, see Basic and Bearer challenges for details.

@@ -11,7 +11,8 @@ by ==.
1.0.0 · source§

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

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

impl<C: PartialOrd + Challenge> PartialOrd for WwwAuthenticate<C>

source§

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

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

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

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

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

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

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

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

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

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

impl<C: Challenge> TryIntoHeaderValue for WwwAuthenticate<C>

§

type Error = <C as TryIntoHeaderValue>::Error

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

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

Try to convert value to a HeaderValue.
source§

impl<C: Eq + Challenge> Eq for WwwAuthenticate<C>

source§

impl<C: Challenge> StructuralPartialEq for WwwAuthenticate<C>

Auto Trait Implementations§

§

impl<C> RefUnwindSafe for WwwAuthenticate<C>
where +operator. Read more

source§

impl<C: Challenge> TryIntoHeaderValue for WwwAuthenticate<C>

§

type Error = <C as TryIntoHeaderValue>::Error

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

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

Try to convert value to a HeaderValue.
source§

impl<C: Eq + Challenge> Eq for WwwAuthenticate<C>

source§

impl<C: Challenge> StructuralPartialEq for WwwAuthenticate<C>

Auto Trait Implementations§

§

impl<C> Freeze for WwwAuthenticate<C>
where + C: Freeze,

§

impl<C> RefUnwindSafe for WwwAuthenticate<C>
where C: RefUnwindSafe,

§

impl<C> Send for WwwAuthenticate<C>

§

impl<C> Sync for WwwAuthenticate<C>

§

impl<C> Unpin for WwwAuthenticate<C>
where C: Unpin,

§

impl<C> UnwindSafe for WwwAuthenticate<C>
where C: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where diff --git a/actix_web_httpauth/headers/www_authenticate/trait.Challenge.html b/actix_web_httpauth/headers/www_authenticate/trait.Challenge.html index ab6304c4b..d5fd35e46 100644 --- a/actix_web_httpauth/headers/www_authenticate/trait.Challenge.html +++ b/actix_web_httpauth/headers/www_authenticate/trait.Challenge.html @@ -1,4 +1,4 @@ -Challenge in actix_web_httpauth::headers::www_authenticate - Rust +Challenge in actix_web_httpauth::headers::www_authenticate - Rust
pub trait Challenge: TryIntoHeaderValue + Debug + Display + Clone + Send + Sync {
     // Required method
     fn to_bytes(&self) -> Bytes;
diff --git a/actix_web_httpauth/index.html b/actix_web_httpauth/index.html
index 9a8c8c951..7b6a48dfb 100644
--- a/actix_web_httpauth/index.html
+++ b/actix_web_httpauth/index.html
@@ -1,4 +1,4 @@
-actix_web_httpauth - Rust

§

type Response = ServiceResponse<EitherBody<B>>

Responses produced by the service.
§

type Error = Error

Errors produced by the service.
§

type Transform = AuthenticationMiddleware<S, F, T>

The TransformService value created by this factory
§

type InitError = ()

Errors produced while building a transform service.
§

type Future = Ready<Result<<HttpAuthentication<T, F> as Transform<S, ServiceRequest>>::Transform, <HttpAuthentication<T, F> as Transform<S, ServiceRequest>>::InitError>>

The future response value.
source§

fn new_transform(&self, service: S) -> Self::Future

Creates and returns a new Transform component, asynchronously

Auto Trait Implementations§

§

impl<T, F> RefUnwindSafe for HttpAuthentication<T, F>
where + B: MessageBody + 'static,

§

type Response = ServiceResponse<EitherBody<B>>

Responses produced by the service.
§

type Error = Error

Errors produced by the service.
§

type Transform = AuthenticationMiddleware<S, F, T>

The TransformService value created by this factory
§

type InitError = ()

Errors produced while building a transform service.
§

type Future = Ready<Result<<HttpAuthentication<T, F> as Transform<S, ServiceRequest>>::Transform, <HttpAuthentication<T, F> as Transform<S, ServiceRequest>>::InitError>>

The future response value.
source§

fn new_transform(&self, service: S) -> Self::Future

Creates and returns a new Transform component, asynchronously

Auto Trait Implementations§

§

impl<T, F> Freeze for HttpAuthentication<T, F>

§

impl<T, F> RefUnwindSafe for HttpAuthentication<T, F>

§

impl<T, F> Send for HttpAuthentication<T, F>
where F: Sync + Send, diff --git a/actix_ws/all.html b/actix_ws/all.html index 645010cce..ff659cc4d 100644 --- a/actix_ws/all.html +++ b/actix_ws/all.html @@ -1,2 +1,2 @@ -List of all items in this crate +List of all items in this crate
\ No newline at end of file diff --git a/actix_ws/enum.CloseCode.html b/actix_ws/enum.CloseCode.html index 0ee62add5..a5dfa0a91 100644 --- a/actix_ws/enum.CloseCode.html +++ b/actix_ws/enum.CloseCode.html @@ -1,4 +1,4 @@ -CloseCode in actix_ws - Rust +CloseCode in actix_ws - Rust

Enum actix_ws::CloseCode

pub enum CloseCode {
     Normal,
     Away,
@@ -47,9 +47,9 @@ it should use a randomized delay of 5-30 seconds between attempts.

§

Again

Indicates that the server is overloaded and the client should either connect to a different IP (when multiple targets exist), or reconnect to the same IP when a user has performed an action.

-

Trait Implementations§

§

impl Clone for CloseCode

§

fn clone(&self) -> CloseCode

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

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

Performs copy-assignment from source. Read more
§

impl Debug for CloseCode

§

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

Formats the value using the given formatter. Read more
§

impl From<CloseCode> for CloseReason

§

fn from(code: CloseCode) -> CloseReason

Converts to this type from the input type.
§

impl From<u16> for CloseCode

§

fn from(code: u16) -> CloseCode

Converts to this type from the input type.
§

impl PartialEq for CloseCode

§

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

This method tests for self and other values to be equal, and is used +

Trait Implementations§

§

impl Clone for CloseCode

§

fn clone(&self) -> CloseCode

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

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

Performs copy-assignment from source. Read more
§

impl Debug for CloseCode

§

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

Formats the value using the given formatter. Read more
§

impl From<CloseCode> for CloseReason

§

fn from(code: CloseCode) -> CloseReason

Converts to this type from the input type.
§

impl From<u16> for CloseCode

§

fn from(code: u16) -> CloseCode

Converts to this type from the input type.
§

impl PartialEq for CloseCode

§

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

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

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

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

impl Copy for CloseCode

§

impl Eq for CloseCode

§

impl StructuralPartialEq for CloseCode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

§

impl Copy for CloseCode

§

impl Eq for CloseCode

§

impl StructuralPartialEq for CloseCode

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

Trait Implementations§

§

impl Debug for Message

§

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

Formats the value using the given formatter. Read more
§

impl PartialEq for Message

§

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

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

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

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

impl Eq for Message

§

impl StructuralPartialEq for Message

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

§

impl Eq for Message

§

impl StructuralPartialEq for Message

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

Trait Implementations§

§

impl Debug for ProtocolError

§

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

Formats the value using the given formatter. Read more
§

impl Display for ProtocolError

§

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

Formats the value using the given formatter. Read more
§

impl Error for ProtocolError

§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<Error> for ProtocolError

§

fn from(original: Error) -> ProtocolError

Converts to this type from the input type.
§

impl From<OpCode> for ProtocolError

§

fn from(original: OpCode) -> ProtocolError

Converts to this type from the input type.
§

impl From<u8> for ProtocolError

§

fn from(original: u8) -> ProtocolError

Converts to this type from the input type.
§

impl From<usize> for ProtocolError

§

fn from(original: usize) -> ProtocolError

Converts to this type from the input type.
§

impl ResponseError for ProtocolError

§

fn status_code(&self) -> StatusCode

Returns appropriate status code for error. Read more
§

fn error_response(&self) -> HttpResponse

Creates full response for error. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Error for ProtocolError

§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<Error> for ProtocolError

§

fn from(original: Error) -> ProtocolError

Converts to this type from the input type.
§

impl From<OpCode> for ProtocolError

§

fn from(original: OpCode) -> ProtocolError

Converts to this type from the input type.
§

impl From<u8> for ProtocolError

§

fn from(original: u8) -> ProtocolError

Converts to this type from the input type.
§

impl From<usize> for ProtocolError

§

fn from(original: usize) -> ProtocolError

Converts to this type from the input type.
§

impl ResponseError for ProtocolError

§

fn status_code(&self) -> StatusCode

Returns appropriate status code for error. Read more
§

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.

diff --git a/actix_ws/fn.handle.html b/actix_ws/fn.handle.html index 72a7d8d97..b0617aaa0 100644 --- a/actix_ws/fn.handle.html +++ b/actix_ws/fn.handle.html @@ -1,4 +1,4 @@ -handle in actix_ws - Rust +handle in actix_ws - Rust

Function actix_ws::handle

source ·
pub fn handle(
     req: &HttpRequest,
     body: Payload
diff --git a/actix_ws/index.html b/actix_ws/index.html
index 4190f25e5..22b925269 100644
--- a/actix_ws/index.html
+++ b/actix_ws/index.html
@@ -1,4 +1,4 @@
-actix_ws - Rust