pub struct SourceForgeProvider { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Default for SourceForgeProvider
impl Default for SourceForgeProvider
Source§impl GitProvider for SourceForgeProvider
impl GitProvider for SourceForgeProvider
Source§fn can_handle(&self, url: &str) -> bool
fn can_handle(&self, url: &str) -> bool
Check if this provider can handle the given URL Read more
Source§fn parse_url(&self, url: &str) -> Option<ParsedRepository>
fn parse_url(&self, url: &str) -> Option<ParsedRepository>
Parse a URL into repository information Read more
Source§fn build_download_urls(&self, parsed: &ParsedRepository) -> Vec<String>
fn build_download_urls(&self, parsed: &ParsedRepository) -> Vec<String>
Build download URLs for the parsed repository Read more
Source§fn get_default_branch<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_client: &'life1 Client,
_parsed: &'life2 ParsedRepository,
) -> Pin<Box<dyn Future<Output = Option<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_default_branch<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_client: &'life1 Client,
_parsed: &'life2 ParsedRepository,
) -> Pin<Box<dyn Future<Output = Option<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Get the default branch for a repository (if supported) Read more
Source§fn apply_config(&mut self, config: &ProviderConfig)
fn apply_config(&mut self, config: &ProviderConfig)
Apply configuration to this provider Read more
Source§fn build_client(
&self,
config: &ProviderConfig,
) -> Result<Client, Box<dyn Error + Send + Sync>>
fn build_client( &self, config: &ProviderConfig, ) -> Result<Client, Box<dyn Error + Send + Sync>>
Build HTTP client with provider-specific configuration Read more
Source§fn add_auth_headers(
&self,
_headers: &mut HeaderMap,
_config: &ProviderConfig,
) -> Result<(), Box<dyn Error + Send + Sync>>
fn add_auth_headers( &self, _headers: &mut HeaderMap, _config: &ProviderConfig, ) -> Result<(), Box<dyn Error + Send + Sync>>
Add authentication headers specific to this provider Read more
Source§fn validate_config(&self, config: &ProviderConfig) -> Result<(), String>
fn validate_config(&self, config: &ProviderConfig) -> Result<(), String>
Validate configuration for this provider Read more
Auto Trait Implementations§
impl Freeze for SourceForgeProvider
impl RefUnwindSafe for SourceForgeProvider
impl Send for SourceForgeProvider
impl Sync for SourceForgeProvider
impl Unpin for SourceForgeProvider
impl UnsafeUnpin for SourceForgeProvider
impl UnwindSafe for SourceForgeProvider
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more