pub struct SourceForge;Expand description
SourceForge forge implementation
Implementations§
Source§impl SourceForge
impl SourceForge
Trait Implementations§
Source§impl Default for SourceForge
impl Default for SourceForge
Source§impl Forge for SourceForge
impl Forge for SourceForge
Source§fn repository_browse_can_be_homepage(&self) -> bool
fn repository_browse_can_be_homepage(&self) -> bool
Whether the repository browse URL can be used as homepage
Source§fn bug_database_url_from_bug_submit_url(&self, url: &Url) -> Option<Url>
fn bug_database_url_from_bug_submit_url(&self, url: &Url) -> Option<Url>
Derives the bug database URL from a bug submission URL
Source§fn extend_metadata<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
metadata: &'life1 mut Vec<UpstreamDatumWithMetadata>,
project: &'life2 str,
max_certainty: Option<Certainty>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn extend_metadata<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
metadata: &'life1 mut Vec<UpstreamDatumWithMetadata>,
project: &'life2 str,
max_certainty: Option<Certainty>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Extends metadata with forge-specific information
Source§fn bug_submit_url_from_bug_database_url(&self, _url: &Url) -> Option<Url>
fn bug_submit_url_from_bug_database_url(&self, _url: &Url) -> Option<Url>
Derives the bug submission URL from a bug database URL
Source§fn check_bug_database_canonical<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url,
) -> Pin<Box<dyn Future<Output = Result<Url, CanonicalizeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn check_bug_database_canonical<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url,
) -> Pin<Box<dyn Future<Output = Result<Url, CanonicalizeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Checks if a bug database URL is canonical
Source§fn check_bug_submit_url_canonical<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url,
) -> Pin<Box<dyn Future<Output = Result<Url, CanonicalizeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn check_bug_submit_url_canonical<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url,
) -> Pin<Box<dyn Future<Output = Result<Url, CanonicalizeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Checks if a bug submission URL is canonical
Source§fn bug_database_from_issue_url(&self, _url: &Url) -> Option<Url>
fn bug_database_from_issue_url(&self, _url: &Url) -> Option<Url>
Gets the bug database URL from an issue URL
Auto Trait Implementations§
impl Freeze for SourceForge
impl RefUnwindSafe for SourceForge
impl Send for SourceForge
impl Sync for SourceForge
impl Unpin for SourceForge
impl UnsafeUnpin for SourceForge
impl UnwindSafe for SourceForge
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.