Enum actix_cors::CorsError [−][src]
#[non_exhaustive]
+CorsError in actix_cors - Rust Enum actix_cors::CorsError [−][src]
#[non_exhaustive]
pub enum CorsError {
WildcardOrigin,
MissingOrigin,
@@ -30,7 +30,7 @@ pub enum CorsError {
Auto Trait Implementations
impl RefUnwindSafe for CorsError
impl UnwindSafe for CorsError
Blanket Implementations
Mutably borrows from an owned value. Read more
-🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_cors/struct.Cors.html b/actix_cors/struct.Cors.html
index 81474e1ed..2b0cd9a47 100644
--- a/actix_cors/struct.Cors.html
+++ b/actix_cors/struct.Cors.html
@@ -1,4 +1,4 @@
-
Struct actix_cors::Cors [−][src]
pub struct Cors { /* fields omitted */ }
Expand description
Builder for CORS middleware.
+Struct actix_cors::Cors [−][src]
pub struct Cors { /* fields omitted */ }
Expand description
Builder for CORS middleware.
To construct a CORS middleware, call Cors::default()
to create a blank, restrictive builder.
Then use any of the builder methods to customize CORS behavior.
The alternative Cors::permissive()
constructor is available for local development, allowing
@@ -116,17 +116,17 @@ not supported. No max age (will use browser’s default).
Auto Trait Implementations
impl !RefUnwindSafe for Cors
impl !UnwindSafe for Cors
Blanket Implementations
Mutably borrows from an owned value. Read more
-pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_identity/struct.CookieIdentityPolicy.html b/actix_identity/struct.CookieIdentityPolicy.html
index e4b5e078b..ce9e6cb7b 100644
--- a/actix_identity/struct.CookieIdentityPolicy.html
+++ b/actix_identity/struct.CookieIdentityPolicy.html
@@ -1,4 +1,4 @@
-
Struct actix_identity::CookieIdentityPolicy [−][src]
pub struct CookieIdentityPolicy(_);
Expand description
Use cookies for request identity storage.
+Struct actix_identity::CookieIdentityPolicy [−][src]
pub struct CookieIdentityPolicy(_);
Expand description
Use cookies for request identity storage.
See this page on MDN for details on cookie attributes.
Examples
use actix_web::App;
@@ -47,17 +47,17 @@ into the issued cookies, making it immutable to users.
Auto Trait Implementations
impl !RefUnwindSafe for CookieIdentityPolicy
impl !Send for CookieIdentityPolicy
impl !Sync for CookieIdentityPolicy
impl Unpin for CookieIdentityPolicy
impl UnwindSafe for CookieIdentityPolicy
Blanket Implementations
Mutably borrows from an owned value. Read more
-pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_identity/struct.Identity.html b/actix_identity/struct.Identity.html
index a6916915c..fda6c2f56 100644
--- a/actix_identity/struct.Identity.html
+++ b/actix_identity/struct.Identity.html
@@ -1,4 +1,4 @@
-
Struct actix_identity::Identity [−][src]
pub struct Identity(_);
Expand description
The extractor type to obtain your identity from a request.
+Struct actix_identity::Identity [−][src]
pub struct Identity(_);
Expand description
Trait Implementations
Extractor implementation for Identity type.
use actix_identity::Identity;
@@ -47,16 +47,14 @@ found associated with the request.
"Welcome Anonymous!".to_owned()
}
}
type Error = Error
type Error = Error
The associated error which can be returned.
+Auto Trait Implementations
impl !RefUnwindSafe for Identity
impl !UnwindSafe for Identity
Blanket Implementations
Mutably borrows from an owned value. Read more
-pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_identity/struct.IdentityService.html b/actix_identity/struct.IdentityService.html
index 77cebb5d6..9cb50ce28 100644
--- a/actix_identity/struct.IdentityService.html
+++ b/actix_identity/struct.IdentityService.html
@@ -1,4 +1,4 @@
-
Struct actix_identity::IdentityService [−][src]
pub struct IdentityService<T> { /* fields omitted */ }
Expand description
Request identity middleware
+Struct actix_identity::IdentityService [−][src]
pub struct IdentityService<T> { /* fields omitted */ }
Expand description
Request identity middleware
use actix_web::App;
use actix_identity::{CookieIdentityPolicy, IdentityService};
@@ -21,17 +21,17 @@
Auto Trait Implementations
impl<T> !RefUnwindSafe for IdentityService<T>
impl<T> !Send for IdentityService<T>
impl<T> !Sync for IdentityService<T>
impl<T> Unpin for IdentityService<T>
impl<T> UnwindSafe for IdentityService<T> where
T: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
-pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_identity/trait.IdentityPolicy.html b/actix_identity/trait.IdentityPolicy.html
index 7d6b84c4d..1bca12b7d 100644
--- a/actix_identity/trait.IdentityPolicy.html
+++ b/actix_identity/trait.IdentityPolicy.html
@@ -1,4 +1,4 @@
-
Trait actix_identity::IdentityPolicy [−][src]
pub trait IdentityPolicy: Sized + 'static {
+IdentityPolicy in actix_identity - Rust Trait actix_identity::IdentityPolicy [−][src]
pub trait IdentityPolicy: Sized + 'static {
type Future: Future<Output = Result<Option<String>, Error>>;
type ResponseFuture: Future<Output = Result<(), Error>>;
fn from_request(&self, req: &mut ServiceRequest) -> Self::Future;
diff --git a/actix_identity/trait.RequestIdentity.html b/actix_identity/trait.RequestIdentity.html
index 17e6f4118..e73fceaf2 100644
--- a/actix_identity/trait.RequestIdentity.html
+++ b/actix_identity/trait.RequestIdentity.html
@@ -1,4 +1,4 @@
-RequestIdentity in actix_identity - Rust Trait actix_identity::RequestIdentity [−][src]
pub trait RequestIdentity {
+RequestIdentity in actix_identity - Rust Trait actix_identity::RequestIdentity [−][src]
pub trait RequestIdentity {
fn get_identity(&self) -> Option<String>;
}
Expand description
Helper trait that allows to get Identity.
It could be used in middleware but identity policy must be set before any other middleware that
diff --git a/actix_protobuf/enum.ProtoBufPayloadError.html b/actix_protobuf/enum.ProtoBufPayloadError.html
index 378290089..fd3a55ad0 100644
--- a/actix_protobuf/enum.ProtoBufPayloadError.html
+++ b/actix_protobuf/enum.ProtoBufPayloadError.html
@@ -1,4 +1,4 @@
-
ProtoBufPayloadError in actix_protobuf - Rust Enum actix_protobuf::ProtoBufPayloadError [−][src]
pub enum ProtoBufPayloadError {
+ProtoBufPayloadError in actix_protobuf - Rust Enum actix_protobuf::ProtoBufPayloadError [−][src]
pub enum ProtoBufPayloadError {
Overflow,
ContentType,
Serialize(ProtoBufEncodeError),
@@ -18,7 +18,7 @@
Auto Trait Implementations
impl !RefUnwindSafe for ProtoBufPayloadError
impl Send for ProtoBufPayloadError
impl Sync for ProtoBufPayloadError
impl Unpin for ProtoBufPayloadError
impl !UnwindSafe for ProtoBufPayloadError
Blanket Implementations
Mutably borrows from an owned value. Read more
-
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_protobuf/index.html b/actix_protobuf/index.html
index 290f63a96..c21df6eaf 100644
--- a/actix_protobuf/index.html
+++ b/actix_protobuf/index.html
@@ -1,4 +1,4 @@
-
actix_protobuf - Rust Crate actix_protobuf[−][src]
Structs
+actix_protobuf - Rust Crate actix_protobuf[−][src]
Structs
Enums
Traits
diff --git a/actix_protobuf/struct.ProtoBuf.html b/actix_protobuf/struct.ProtoBuf.html
index b22421e74..c21fbd958 100644
--- a/actix_protobuf/struct.ProtoBuf.html
+++ b/actix_protobuf/struct.ProtoBuf.html
@@ -1,21 +1,19 @@
-ProtoBuf in actix_protobuf - Rust Struct actix_protobuf::ProtoBuf [−][src]
pub struct ProtoBuf<T: Message>(pub T);
Tuple Fields
0: T
Trait Implementations
Formats the value using the given formatter. Read more
+ProtoBuf in actix_protobuf - Rust Struct actix_protobuf::ProtoBuf [−][src]
pub struct ProtoBuf<T: Message>(pub T);
Tuple Fields
0: T
Trait Implementations
type Config = ProtoBufConfig
Configuration for this extractor.
-type Error = Error
The associated error which can be returned.
+
Convert self to HttpResponse
.
+
Convert self to HttpResponse
.
fn with_status(self, status: StatusCode) -> CustomResponder<Self>
Override a status code for a Responder. Read more
fn with_header<H>(self, header: H) -> CustomResponder<Self> where
H: IntoHeaderPair,
Insert header to the final response. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for ProtoBuf<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for ProtoBuf<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
-
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
-
+
\ No newline at end of file
diff --git a/actix_protobuf/struct.ProtoBufConfig.html b/actix_protobuf/struct.ProtoBufConfig.html
index 4a962984f..c753a00df 100644
--- a/actix_protobuf/struct.ProtoBufConfig.html
+++ b/actix_protobuf/struct.ProtoBufConfig.html
@@ -1,19 +1,19 @@
-ProtoBufConfig in actix_protobuf - Rust Struct actix_protobuf::ProtoBufConfig [−][src]
pub struct ProtoBufConfig { /* fields omitted */ }
Implementations
Change max size of payload. By default max size is 256Kb
+ProtoBufConfig in actix_protobuf - Rust Struct actix_protobuf::ProtoBufConfig [−][src]
pub struct ProtoBufConfig { /* fields omitted */ }
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ProtoBufConfig
impl Send for ProtoBufConfig
impl Sync for ProtoBufConfig
impl Unpin for ProtoBufConfig
impl UnwindSafe for ProtoBufConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
-
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_protobuf/struct.ProtoBufMessage.html b/actix_protobuf/struct.ProtoBufMessage.html
index 4688b1c4f..2e74a4f88 100644
--- a/actix_protobuf/struct.ProtoBufMessage.html
+++ b/actix_protobuf/struct.ProtoBufMessage.html
@@ -1,12 +1,12 @@
-
ProtoBufMessage in actix_protobuf - Rust Struct actix_protobuf::ProtoBufMessage [−][src]
Implementations
Trait Implementations
type Output = Result<T, ProtoBufPayloadError>
The type of value produced on completion.
-
Attempt to resolve the future to a final value, registering
+
ProtoBufMessage in actix_protobuf - Rust Struct actix_protobuf::ProtoBufMessage [−][src]
Implementations
Trait Implementations
type Output = Result<T, ProtoBufPayloadError>
The type of value produced on completion.
+Auto Trait Implementations
impl<T> !RefUnwindSafe for ProtoBufMessage<T>
impl<T> !Send for ProtoBufMessage<T>
impl<T> !Sync for ProtoBufMessage<T>
impl<T> Unpin for ProtoBufMessage<T>
impl<T> !UnwindSafe for ProtoBufMessage<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Map this future’s output to a different type, returning a new future of
the resulting type. Read more
Map this future’s output to a different type, returning a new future of
@@ -47,8 +47,8 @@ the future is ready after the first call to Future::poll
. type Future = F
🔬 This is a nightly-only experimental API. (into_future
)Which kind of future are we turning this into?
🔬 This is a nightly-only experimental API. (into_future
)Creates a future from a value.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_protobuf/trait.ProtoBufResponseBuilder.html b/actix_protobuf/trait.ProtoBufResponseBuilder.html
index 4a67fab2f..88e310e60 100644
--- a/actix_protobuf/trait.ProtoBufResponseBuilder.html
+++ b/actix_protobuf/trait.ProtoBufResponseBuilder.html
@@ -1,5 +1,5 @@
-
ProtoBufResponseBuilder in actix_protobuf - Rust Trait actix_protobuf::ProtoBufResponseBuilder [−][src]
pub trait ProtoBufResponseBuilder {
+ProtoBufResponseBuilder in actix_protobuf - Rust Trait actix_protobuf::ProtoBufResponseBuilder [−][src]
pub trait ProtoBufResponseBuilder {
fn protobuf<T: Message>(&mut self, value: T) -> Result<HttpResponse, Error>;
-}
Required methods
Implementations on Foreign Types
Implementors
+}
Required methods
Implementations on Foreign Types
Implementors
\ No newline at end of file
diff --git a/actix_redis/enum.Error.html b/actix_redis/enum.Error.html
index ad155f3fc..a072e7f72 100644
--- a/actix_redis/enum.Error.html
+++ b/actix_redis/enum.Error.html
@@ -1,4 +1,4 @@
-Error in actix_redis - Rust Enum actix_redis::Error [−][src]
pub enum Error {
+Error in actix_redis - Rust Enum actix_redis::Error [−][src]
pub enum Error {
Redis(Error),
NotConnected,
Disconnected,
@@ -17,7 +17,7 @@
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
-
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_redis/enum.RespError.html b/actix_redis/enum.RespError.html
index b111d9818..8db8f946d 100644
--- a/actix_redis/enum.RespError.html
+++ b/actix_redis/enum.RespError.html
@@ -1,4 +1,4 @@
-
RespError in actix_redis - Rust Enum actix_redis::RespError [−]
pub enum RespError {
+RespError in actix_redis - Rust Enum actix_redis::RespError [−]
pub enum RespError {
Internal(String),
IO(Error),
RESP(String, Option<RespValue>),
@@ -16,8 +16,8 @@ chains of futures; but it occurring at runtime should be considered a catastroph
failure.
If any error is propagated this way that needs to be handled, then it should be made into
a proper option.
-
Tuple Fields of Unexpected
0: String
Trait Implementations
Formats the value using the given formatter. Read more
+Tuple Fields of Unexpected
0: String
Trait Implementations
The lower-level source of this error, if any. Read more
🔬 This is a nightly-only experimental API. (backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
👎 Deprecated since 1.42.0: use the Display impl or to_string()
@@ -28,7 +28,7 @@ a proper option.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
-
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_redis/enum.RespValue.html b/actix_redis/enum.RespValue.html
index a49da57fe..9fab33c0b 100644
--- a/actix_redis/enum.RespValue.html
+++ b/actix_redis/enum.RespValue.html
@@ -1,4 +1,4 @@
-
RespValue in actix_redis - Rust Enum actix_redis::RespValue [−]
pub enum RespValue {
+RespValue in actix_redis - Rust Enum actix_redis::RespValue [−]
pub enum RespValue {
Nil,
Array(Vec<RespValue, Global>),
BulkString(Vec<u8, Global>),
@@ -38,7 +38,7 @@ by ==
.
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
-
Instruments this type with the current Span
, returning an
@@ -49,10 +49,10 @@ by ==
.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
-
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_redis/enum.SameSite.html b/actix_redis/enum.SameSite.html
index e5c0db946..5453961e7 100644
--- a/actix_redis/enum.SameSite.html
+++ b/actix_redis/enum.SameSite.html
@@ -1,4 +1,4 @@
-
SameSite in actix_redis - Rust Enum actix_redis::SameSite [−][src]
pub enum SameSite {
+SameSite in actix_redis - Rust Enum actix_redis::SameSite [−][src]
pub enum SameSite {
Strict,
Lax,
None,
@@ -47,8 +47,8 @@ definition are subject to change.
assert!(!none.is_strict());
Trait Implementations
This method tests for self
and other
values to be equal, and is used
@@ -58,7 +58,7 @@ by ==
.
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
-
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_redis/struct.Command.html b/actix_redis/struct.Command.html
index 355fbbb97..613e35037 100644
--- a/actix_redis/struct.Command.html
+++ b/actix_redis/struct.Command.html
@@ -1,4 +1,4 @@
-
Command in actix_redis - Rust Struct actix_redis::Command [−][src]
pub struct Command(pub RespValue);
Expand description
Command for send data to Redis
+Command in actix_redis - Rust Struct actix_redis::Command [−][src]
pub struct Command(pub RespValue);
Expand description
Command for send data to Redis
Tuple Fields
0: RespValue
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Command
impl UnwindSafe for Command
Blanket Implementations
Mutably borrows from an owned value. Read more
-
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_redis/struct.RedisActor.html b/actix_redis/struct.RedisActor.html
index 50b037275..f542cef6d 100644
--- a/actix_redis/struct.RedisActor.html
+++ b/actix_redis/struct.RedisActor.html
@@ -1,4 +1,4 @@
-
RedisActor in actix_redis - Rust Struct actix_redis::RedisActor [−][src]
pub struct RedisActor { /* fields omitted */ }
Expand description
Redis communication actor
+RedisActor in actix_redis - Rust Struct actix_redis::RedisActor [−][src]
pub struct RedisActor { /* fields omitted */ }
Expand description
Redis communication actor
Implementations
Start new Supervisor
with RedisActor
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for RedisActor
impl !Send for RedisActor
impl !Sync for RedisActor
impl Unpin for RedisActor
impl !UnwindSafe for RedisActor
Blanket Implementations
Mutably borrows from an owned value. Read more
-
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_redis/struct.RedisSession.html b/actix_redis/struct.RedisSession.html
index bb7994ece..f74ee750b 100644
--- a/actix_redis/struct.RedisSession.html
+++ b/actix_redis/struct.RedisSession.html
@@ -1,4 +1,4 @@
-
RedisSession in actix_redis - Rust Struct actix_redis::RedisSession [−][src]
pub struct RedisSession(_);
Expand description
Use redis as session storage.
+RedisSession in actix_redis - Rust Struct actix_redis::RedisSession [−][src]
pub struct RedisSession(_);
Expand description
Use redis as session storage.
You need to pass an address of the redis server and random value to the
constructor of RedisSession
. This is private key for cookie
session, When this value is changed, all session data is lost.
@@ -31,17 +31,17 @@ connection is secure - i.e. https
.
Auto Trait Implementations
impl !RefUnwindSafe for RedisSession
impl !Send for RedisSession
impl !Sync for RedisSession
impl Unpin for RedisSession
impl !UnwindSafe for RedisSession
Blanket Implementations
Mutably borrows from an owned value. Read more
-
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_session/enum.SessionStatus.html b/actix_session/enum.SessionStatus.html
index a3260a3bb..203fad7b4 100644
--- a/actix_session/enum.SessionStatus.html
+++ b/actix_session/enum.SessionStatus.html
@@ -1,4 +1,4 @@
-
SessionStatus in actix_session - Rust Enum actix_session::SessionStatus [−][src]
pub enum SessionStatus {
+SessionStatus in actix_session - Rust Enum actix_session::SessionStatus [−][src]
pub enum SessionStatus {
Changed,
Purged,
Renewed,
@@ -24,7 +24,7 @@ by ==
. impl StructuralPartialEq for SessionStatus
Auto Trait Implementations
impl RefUnwindSafe for SessionStatus
impl Send for SessionStatus
impl Sync for SessionStatus
impl Unpin for SessionStatus
impl UnwindSafe for SessionStatus
Blanket Implementations
Mutably borrows from an owned value. Read more
-
Instruments this type with the current Span
, returning an
@@ -35,10 +35,10 @@ by ==
.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
-
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_session/index.html b/actix_session/index.html
index d9f06f681..59781369e 100644
--- a/actix_session/index.html
+++ b/actix_session/index.html
@@ -1,4 +1,4 @@
-
actix_session - Rust Crate actix_session[−][src]
Expand description
Sessions for Actix Web.
+actix_session - Rust Crate actix_session[−][src]
Expand description
Sessions for Actix Web.
Provides a general solution for session management. Session middleware could provide different
implementations which could be accessed via general session API.
This crate provides a general solution for session management and includes a cookie backend.
diff --git a/actix_session/struct.CookieSession.html b/actix_session/struct.CookieSession.html
index f30442dff..138ddba33 100644
--- a/actix_session/struct.CookieSession.html
+++ b/actix_session/struct.CookieSession.html
@@ -1,4 +1,4 @@
-
CookieSession in actix_session - Rust Struct actix_session::CookieSession [−][src]
pub struct CookieSession(_);
Expand description
Use cookies for session storage.
+CookieSession in actix_session - Rust Struct actix_session::CookieSession [−][src]
pub struct CookieSession(_);
Expand description
Use cookies for session storage.
CookieSession
creates sessions which are limited to storing
fewer than 4000 bytes of data (as the payload must fit into a single
cookie). An Internal Server Error is generated if the session contains more
@@ -58,7 +58,7 @@ connection is secure - i.e. https
Auto Trait Implementations
impl !RefUnwindSafe for CookieSession
impl !Send for CookieSession
impl !Sync for CookieSession
impl Unpin for CookieSession
impl UnwindSafe for CookieSession
Blanket Implementations
Mutably borrows from an owned value. Read more
-
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_session/struct.Session.html b/actix_session/struct.Session.html
index 7a605d934..3ebb2ae6e 100644
--- a/actix_session/struct.Session.html
+++ b/actix_session/struct.Session.html
@@ -1,4 +1,4 @@
-
Session in actix_session - Rust Struct actix_session::Session [−][src]
pub struct Session(_);
Expand description
The high-level interface you use to modify session data.
+Session in actix_session - Rust Struct actix_session::Session [−][src]
pub struct Session(_);
Expand description
The high-level interface you use to modify session data.
Session object is obtained with UserSession::get_session
. The UserSession
trait is
implemented for HttpRequest
, ServiceRequest
, and RequestHead
.
@@ -40,7 +40,7 @@ already be JSON serialized.
vec![("counter".to_string(), serde_json::to_string(&0).unwrap())],
);
pub fn get_changes<B>(
res: &mut ServiceResponse<B>
) -> (SessionStatus, impl Iterator<Item = (String, String)>)
Returns session status and iterator of key-value pairs of changes.
-Trait Implementations
Trait Implementations
Extractor implementation for Session type.
Examples
use actix_session::Session;
@@ -58,24 +58,22 @@ already be JSON serialized.
}
Auto Trait Implementations
impl !RefUnwindSafe for Session
impl !UnwindSafe for Session
Blanket Implementations
Mutably borrows from an owned value. Read more
-
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_session/trait.UserSession.html b/actix_session/trait.UserSession.html
index f6566a7b3..7cc14115e 100644
--- a/actix_session/trait.UserSession.html
+++ b/actix_session/trait.UserSession.html
@@ -1,4 +1,4 @@
-
UserSession in actix_session - Rust Trait actix_session::UserSession [−][src]
pub trait UserSession {
+UserSession in actix_session - Rust Trait actix_session::UserSession [−][src]
pub trait UserSession {
fn get_session(&self) -> Session;
}
Expand description
Extraction of a Session
object.
Required methods
fn get_session(&self) -> Session
Extract the Session
object
diff --git a/actix_web_httpauth/extractors/basic/index.html b/actix_web_httpauth/extractors/basic/index.html
index a1e38a9d8..66f16b35c 100644
--- a/actix_web_httpauth/extractors/basic/index.html
+++ b/actix_web_httpauth/extractors/basic/index.html
@@ -1,4 +1,4 @@
-actix_web_httpauth::extractors::basic - Rust Module actix_web_httpauth::extractors::basic [−][src]
Expand description
Extractor for the “Basic” HTTP Authentication Scheme
+actix_web_httpauth::extractors::basic - Rust Module actix_web_httpauth::extractors::basic [−][src]
Expand description
Extractor for the “Basic” HTTP Authentication Scheme
Structs
Extractor for HTTP Basic auth.
BasicAuth
extractor configuration,
diff --git a/actix_web_httpauth/extractors/basic/struct.BasicAuth.html b/actix_web_httpauth/extractors/basic/struct.BasicAuth.html
index d9e8c57cf..bd8308646 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 Struct actix_web_httpauth::extractors::basic::BasicAuth [−][src]
pub struct BasicAuth(_);
Expand description
Extractor for HTTP Basic auth.
+BasicAuth in actix_web_httpauth::extractors::basic - Rust Struct actix_web_httpauth::extractors::basic::BasicAuth [−][src]
pub struct BasicAuth(_);
Expand description
Extractor for HTTP Basic auth.
Example
use actix_web::Result;
use actix_web_httpauth::extractors::basic::BasicAuth;
@@ -24,22 +24,20 @@ response header.
}
Implementations
Trait Implementations
type Error = AuthenticationError<Challenge>
The associated error which can be returned.
+Trait Implementations
type Error = AuthenticationError<Challenge>
The associated error which can be returned.
Future that resolves into extracted credentials type.
-
Parse the authentication credentials from the actix’ ServiceRequest
.
+
Parse the authentication credentials from the actix’ ServiceRequest
.
type Error = AuthenticationError<Challenge>
The associated error which can be returned.
-
Create a Self from request parts asynchronously.
+
Create a Self from request parts asynchronously.
Auto Trait Implementations
impl RefUnwindSafe for BasicAuth
impl UnwindSafe for BasicAuth
Blanket Implementations
Mutably borrows from an owned value. Read more
-
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_web_httpauth/extractors/basic/struct.Config.html b/actix_web_httpauth/extractors/basic/struct.Config.html
index 992186620..17b553a52 100644
--- a/actix_web_httpauth/extractors/basic/struct.Config.html
+++ b/actix_web_httpauth/extractors/basic/struct.Config.html
@@ -1,4 +1,4 @@
-
Config in actix_web_httpauth::extractors::basic - Rust Struct actix_web_httpauth::extractors::basic::Config [−][src]
pub struct Config(_);
Expand description
BasicAuth
extractor configuration,
+
Config in actix_web_httpauth::extractors::basic - Rust Struct actix_web_httpauth::extractors::basic::Config [−][src]
pub struct Config(_);
Expand description
BasicAuth
extractor configuration,
used for WWW-Authenticate
header later.
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more
-
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_web_httpauth/extractors/bearer/enum.Error.html b/actix_web_httpauth/extractors/bearer/enum.Error.html
index 913df720f..55f266ed4 100644
--- a/actix_web_httpauth/extractors/bearer/enum.Error.html
+++ b/actix_web_httpauth/extractors/bearer/enum.Error.html
@@ -1,4 +1,4 @@
-
Error in actix_web_httpauth::extractors::bearer - Rust Enum actix_web_httpauth::extractors::bearer::Error [−][src]
pub enum Error {
+Error in actix_web_httpauth::extractors::bearer - Rust Enum actix_web_httpauth::extractors::bearer::Error [−][src]
pub enum Error {
InvalidRequest,
InvalidToken,
InsufficientScope,
@@ -36,7 +36,7 @@ operator.
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
-
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_web_httpauth/extractors/bearer/index.html b/actix_web_httpauth/extractors/bearer/index.html
index 48ab4ee6d..ef9153bb4 100644
--- a/actix_web_httpauth/extractors/bearer/index.html
+++ b/actix_web_httpauth/extractors/bearer/index.html
@@ -1,4 +1,4 @@
-
actix_web_httpauth::extractors::bearer - Rust Module actix_web_httpauth::extractors::bearer [−][src]
Expand description
Extractor for the “Bearer” HTTP Authentication Scheme
+actix_web_httpauth::extractors::bearer - Rust Module actix_web_httpauth::extractors::bearer [−][src]
Expand description
Extractor for the “Bearer” HTTP Authentication Scheme
Structs
Extractor for HTTP Bearer auth
BearerAuth extractor configuration.
diff --git a/actix_web_httpauth/extractors/bearer/struct.BearerAuth.html b/actix_web_httpauth/extractors/bearer/struct.BearerAuth.html
index ae4a8c25f..48c493664 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 Struct actix_web_httpauth::extractors::bearer::BearerAuth [−][src]
pub struct BearerAuth(_);
Expand description
Extractor for HTTP Bearer auth
+BearerAuth in actix_web_httpauth::extractors::bearer - Rust Struct actix_web_httpauth::extractors::bearer::BearerAuth [−][src]
pub struct BearerAuth(_);
Expand description
Extractor for HTTP Bearer auth
Example
use actix_web_httpauth::extractors::bearer::BearerAuth;
@@ -26,22 +26,20 @@ response header.
.service(web::resource("/index.html").route(web::get().to(index)));
}
Implementations
Trait Implementations
Trait Implementations
type Error = AuthenticationError<Bearer>
The associated error which can be returned.
-
Parse the authentication credentials from the actix’ ServiceRequest
.
+
Parse the authentication credentials from the actix’ ServiceRequest
.
type Error = AuthenticationError<Bearer>
The associated error which can be returned.
-
Create a Self from request parts asynchronously.
+
Create a Self from request parts asynchronously.
Auto Trait Implementations
impl RefUnwindSafe for BearerAuth
impl Send for BearerAuth
impl Sync for BearerAuth
impl Unpin for BearerAuth
impl UnwindSafe for BearerAuth
Blanket Implementations
Mutably borrows from an owned value. Read more
-
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_web_httpauth/extractors/bearer/struct.Config.html b/actix_web_httpauth/extractors/bearer/struct.Config.html
index 1622fa57c..22e278e34 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 Struct actix_web_httpauth::extractors::bearer::Config [−][src]
pub struct Config(_);
Expand description
BearerAuth extractor configuration.
+Config in actix_web_httpauth::extractors::bearer - Rust Struct actix_web_httpauth::extractors::bearer::Config [−][src]
pub struct Config(_);
Expand description
BearerAuth extractor configuration.
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more
-
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_web_httpauth/extractors/struct.AuthenticationError.html b/actix_web_httpauth/extractors/struct.AuthenticationError.html
index caed9af03..1a43d5145 100644
--- a/actix_web_httpauth/extractors/struct.AuthenticationError.html
+++ b/actix_web_httpauth/extractors/struct.AuthenticationError.html
@@ -1,12 +1,12 @@
-
AuthenticationError in actix_web_httpauth::extractors - Rust Struct actix_web_httpauth::extractors::AuthenticationError [−][src]
pub struct AuthenticationError<C: Challenge> { /* fields omitted */ }
Expand description
Authentication error returned by authentication extractors.
+AuthenticationError in actix_web_httpauth::extractors - Rust Struct actix_web_httpauth::extractors::AuthenticationError [−][src]
pub struct AuthenticationError<C: Challenge> { /* fields omitted */ }
Expand description
Authentication error returned by authentication extractors.
Different extractors may extend AuthenticationError
implementation
in order to provide access to inner challenge fields.
-Implementations
Extended error customization for HTTP Bearer
auth.
-
Attach Error
to the current Authentication error.
+Implementations
Extended error customization for HTTP Bearer
auth.
+
Attach Error
to the current Authentication error.
Error status code will be changed to the one provided by the kind
Error.
-
Attach error description to the current Authentication error.
-
Attach error URI to the current Authentication error.
+
Attach error description to the current Authentication error.
+
Attach error URI to the current Authentication error.
It is up to implementor to provide properly formed absolute URI.
Creates new authentication error from the provided challenge
.
By default returned error will resolve into the HTTP 401
status code.
@@ -26,7 +26,7 @@ this lib tries to stick to the RFC, so it might be unreasonable.
Auto Trait Implementations
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
Mutably borrows from an owned value. Read more
-
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
diff --git a/actix_web_httpauth/extractors/trait.AuthExtractor.html b/actix_web_httpauth/extractors/trait.AuthExtractor.html
index 84d034e66..7c2191054 100644
--- a/actix_web_httpauth/extractors/trait.AuthExtractor.html
+++ b/actix_web_httpauth/extractors/trait.AuthExtractor.html
@@ -1,4 +1,4 @@
-
AuthExtractor in actix_web_httpauth::extractors - Rust Trait actix_web_httpauth::extractors::AuthExtractor