E0308E0308 — Mismatched Types
The expected type does not match the actual type provided.
E0277A type that does not implement Send is used in a context that requires thread-safety.
You are trying to send a non-Send type across thread boundaries (spawn, async tasks). Types containing Rc, Cell, or raw pointers are not Send because they are not thread-safe.
Use Arc instead of Rc for shared ownership across threads. Use Mutex or RwLock for mutable access. Ensure all types within the struct implement Send. Use thread-local storage for non-Send types.
E0308The expected type does not match the actual type provided.
E0106A reference in a function signature or struct is missing a lifetime parameter.
E0463The specified crate cannot be found by the compiler.
E0405A trait name is used but not defined or imported in the current scope.
E0271An associated type in a trait implementation does not match the expected type.
clippy::single_matchA match expression with only one meaningful arm can be simplified to an if let.