darkwing::server::services::browser_profile_servicesTrait BrowserProfileServiceTrait
source pub trait BrowserProfileServiceTrait {
// Required methods
fn check_access<'life0, 'async_trait>(
&'life0 self,
user: ResponseUserDto,
browser_profile_id: u64,
) -> Pin<Box<dyn Future<Output = AppResult<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_mini_by_id<'life0, 'async_trait>(
&'life0 self,
browser_profile_id: i64,
) -> Pin<Box<dyn Future<Output = AppResult<MiniBrowserProfile>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_by_id_with_fingerprint<'life0, 'async_trait>(
&'life0 self,
browser_profile_id: i64,
) -> Pin<Box<dyn Future<Output = AppResult<BrowserProfileFullData>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_preliminary_data<'life0, 'async_trait>(
&'life0 self,
user_id: i64,
team_id: i64,
browser_profile_id: i64,
) -> Pin<Box<dyn Future<Output = AppResult<PreliminaryData>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_mock_profile(platform: Os) -> BrowserProfileFullData
where Self: Sized;
fn create_config(
bp: &BrowserProfileFullData,
request: StartRequest,
token: String,
) -> AppResult<BrowserProfileConfig>
where Self: Sized;
fn generate_storage_path(
&self,
browser_profile: MiniBrowserProfile,
) -> AppResult<String>;
fn update_datadir_hash<'life0, 'async_trait>(
&'life0 self,
browser_profile_id: i64,
hash: String,
) -> Pin<Box<dyn Future<Output = AppResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}