Struct actix_web_sql_identity::SqlIdentityPolicy [−][src]
pub struct SqlIdentityPolicy(_);
Use a SQL database for request identity storage
Trait Implementations
impl Clone for SqlIdentityPolicy[src]
impl Clone for SqlIdentityPolicyfn clone(&self) -> SqlIdentityPolicy[src]
fn clone(&self) -> SqlIdentityPolicyReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<S> IdentityPolicy<S> for SqlIdentityPolicy[src]
impl<S> IdentityPolicy<S> for SqlIdentityPolicytype Identity = SqlIdentity
The associated identity
type Future = Box<Future<Item = SqlIdentity, Error = ActixWebError>>
The return type of the middleware
fn from_request(&self, req: &HttpRequest<S>) -> Self::Future[src]
fn from_request(&self, req: &HttpRequest<S>) -> Self::FutureProcess a request recieved by the server, returns an Identity struct
Arguments
req- The HTTP request recieved
Auto Trait Implementations
impl !Send for SqlIdentityPolicy
impl !Send for SqlIdentityPolicyimpl !Sync for SqlIdentityPolicy
impl !Sync for SqlIdentityPolicy