pub trait ProfileSqlLogic {
// Provided methods
fn insert_drift_profile<'life0, 'life1, 'async_trait>(
pool: &'life0 Pool<Postgres>,
drift_profile: &'life1 DriftProfile,
) -> Pin<Box<dyn Future<Output = Result<PgQueryResult, SqlError>> + Send + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait { ... }
fn update_drift_profile<'life0, 'life1, 'async_trait>(
pool: &'life0 Pool<Postgres>,
drift_profile: &'life1 DriftProfile,
) -> Pin<Box<dyn Future<Output = Result<PgQueryResult, SqlError>> + Send + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait { ... }
fn get_drift_profile<'life0, 'life1, 'async_trait>(
pool: &'life0 Pool<Postgres>,
request: &'life1 GetProfileRequest,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, SqlError>> + Send + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait { ... }
fn get_drift_profile_task<'life0, 'async_trait>(
pool: &'life0 Pool<Postgres>,
) -> Pin<Box<dyn Future<Output = Result<Option<TaskRequest>, SqlError>> + Send + 'async_trait>>
where 'life0: 'async_trait { ... }
fn update_drift_profile_run_dates<'life0, 'life1, 'life2, 'async_trait>(
pool: &'life0 Pool<Postgres>,
task_info: &'life1 DriftTaskInfo,
schedule: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<(), SqlError>> + Send + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait { ... }
fn update_drift_profile_status<'life0, 'life1, 'async_trait>(
pool: &'life0 Pool<Postgres>,
params: &'life1 ProfileStatusRequest,
) -> Pin<Box<dyn Future<Output = Result<(), SqlError>> + Send + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait { ... }
}
Provided Methods§
Sourcefn insert_drift_profile<'life0, 'life1, 'async_trait>(
pool: &'life0 Pool<Postgres>,
drift_profile: &'life1 DriftProfile,
) -> Pin<Box<dyn Future<Output = Result<PgQueryResult, SqlError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
fn insert_drift_profile<'life0, 'life1, 'async_trait>(
pool: &'life0 Pool<Postgres>,
drift_profile: &'life1 DriftProfile,
) -> Pin<Box<dyn Future<Output = Result<PgQueryResult, SqlError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Sourcefn update_drift_profile<'life0, 'life1, 'async_trait>(
pool: &'life0 Pool<Postgres>,
drift_profile: &'life1 DriftProfile,
) -> Pin<Box<dyn Future<Output = Result<PgQueryResult, SqlError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
fn update_drift_profile<'life0, 'life1, 'async_trait>(
pool: &'life0 Pool<Postgres>,
drift_profile: &'life1 DriftProfile,
) -> Pin<Box<dyn Future<Output = Result<PgQueryResult, SqlError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Sourcefn get_drift_profile<'life0, 'life1, 'async_trait>(
pool: &'life0 Pool<Postgres>,
request: &'life1 GetProfileRequest,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, SqlError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
fn get_drift_profile<'life0, 'life1, 'async_trait>(
pool: &'life0 Pool<Postgres>,
request: &'life1 GetProfileRequest,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, SqlError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
fn get_drift_profile_task<'life0, 'async_trait>(
pool: &'life0 Pool<Postgres>,
) -> Pin<Box<dyn Future<Output = Result<Option<TaskRequest>, SqlError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Sourcefn update_drift_profile_run_dates<'life0, 'life1, 'life2, 'async_trait>(
pool: &'life0 Pool<Postgres>,
task_info: &'life1 DriftTaskInfo,
schedule: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<(), SqlError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn update_drift_profile_run_dates<'life0, 'life1, 'life2, 'async_trait>(
pool: &'life0 Pool<Postgres>,
task_info: &'life1 DriftTaskInfo,
schedule: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<(), SqlError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn update_drift_profile_status<'life0, 'life1, 'async_trait>(
pool: &'life0 Pool<Postgres>,
params: &'life1 ProfileStatusRequest,
) -> Pin<Box<dyn Future<Output = Result<(), SqlError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.