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