pub trait ExtractLog {
// Required methods
fn extract_log<'life0, 'async_trait>(
self,
client: &'life0 Client,
) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_repo_count(&self) -> usize;
fn get_all_branches(&self) -> bool;
fn get_url(&self) -> Url;
fn get_pages_url(&self) -> Vec<Url>;
// Provided method
fn common_log_feature<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 Client,
selector: Selector,
) -> Pin<Box<dyn Future<Output = DashMap<RepoName, Repository, RandomState>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
}
Required Methods§
fn extract_log<'life0, 'async_trait>(
self,
client: &'life0 Client,
) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_repo_count(&self) -> usize
fn get_all_branches(&self) -> bool
fn get_url(&self) -> Url
fn get_pages_url(&self) -> Vec<Url>
Provided Methods§
fn common_log_feature<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 Client,
selector: Selector,
) -> Pin<Box<dyn Future<Output = DashMap<RepoName, Repository, RandomState>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'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.