Trait actix_web_security::authentication::scheme::authentication_provider::AuthenticationProviderClone [−][src]
pub trait AuthenticationProviderClone: Send + Sync { fn clone_box(&self) -> Box<dyn AuthenticationProvider>; }
An authentication provider must be cloneable, send
and sync
.
Therefore it has to implement the AuthenticationProviderClone
trait to be cloneable as a boxed object.
Required methods
fn clone_box(&self) -> Box<dyn AuthenticationProvider>
[src]
Implementors
impl<U> AuthenticationProviderClone for U where
U: 'static + AuthenticationProvider + Clone,
[src]
impl<U> AuthenticationProviderClone for U where
U: 'static + AuthenticationProvider + Clone,
[src]