Open hamedai opened 7 months ago
I got this error when using this adapter:
error[E0053]: method `load_policy` has an incompatible type for trait --> /Users/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sea_orm_casbin_adapter-0.3.8/src/adapter.rs:119:26 | 119 | async fn load_policy(&self, m: &mut dyn Model) -> Result<()> { | ^^^^^ | | | types differ in mutability | help: change the self-receiver type to match the trait: `&mut self` | = note: expected signature `fn(&'life0 mut SeaOrmAdapter, &'life1 mut _) -> Pin<_>` found signature `fn(&'life0 SeaOrmAdapter, &'life1 mut _) -> Pin<_>`
my system:
rustc 1.76.0 (07dca489a 2024-02-04) stable-aarch64-apple-darwin
I got this error when using this adapter:
my system: