You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 18, 2020. It is now read-only.
git clone https://github.com/ami44/tmp-actix-web-redis.git + cargo run display
--> src/main.rs:40:25
|
40 | .middleware(middleware::SessionStorage::new(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `actix_web::middleware::SessionBackend<_>` is not implemented for `actix_redis::RedisSessionBackend`
|
= note: required by `<actix_web::middleware::SessionStorage<T, S>>::new`
error[E0277]: the trait bound `actix_redis::RedisSessionBackend: actix_web::middleware::SessionBackend<()>` is not satisfied
--> src/main.rs:40:14
|
40 | .middleware(middleware::SessionStorage::new(
| ^^^^^^^^^^ the trait `actix_web::middleware::SessionBackend<()>` is not implemented for `actix_redis::RedisSessionBackend`
|
= note: required because of the requirements on the impl of `actix_web::middleware::Middleware<()>` for `actix_web::middleware::SessionStorage<actix_redis::RedisSessionBackend, ()>`
The text was updated successfully, but these errors were encountered:
this issue is related to how rust handle different versions of packages. technically in your package
you have two different versions of actix-web package and SessionBackend is different.
i have alway error in another projet
git clone https://github.com/ami44/tmp-actix-web-redis.git
+cargo run
displayThe text was updated successfully, but these errors were encountered: