pub mod error; use api_core::models::user::User; use crate::error::UserError; #[async_trait::async_trait] pub trait UsersDriver: Send + Sync { async fn get_user_by_email(&self, email: &str) -> Result, UserError>; }