pub struct GithubLookupSuggestor<P: GithubProvider + 'static> { /* private fields */ }Implementations§
Source§impl<P: GithubProvider + 'static> GithubLookupSuggestor<P>
impl<P: GithubProvider + 'static> GithubLookupSuggestor<P>
Trait Implementations§
Source§impl<P: GithubProvider + 'static> Suggestor for GithubLookupSuggestor<P>
impl<P: GithubProvider + 'static> Suggestor for GithubLookupSuggestor<P>
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Human-readable name, used for logging and provenance. Read more
Source§fn dependencies(&self) -> &[ContextKey]
fn dependencies(&self) -> &[ContextKey]
Context keys this suggestor reads from. Read more
Source§fn provenance(&self) -> &'static str
fn provenance(&self) -> &'static str
Canonical provenance string carried on every fact this
suggestor emits, as produced by its
ProvenanceSource. Read moreSource§fn accepts(&self, ctx: &dyn Context) -> bool
fn accepts(&self, ctx: &dyn Context) -> bool
Pure predicate: should this suggestor execute given the current context? Read more
Auto Trait Implementations§
impl<P> Freeze for GithubLookupSuggestor<P>
impl<P> RefUnwindSafe for GithubLookupSuggestor<P>where
P: RefUnwindSafe,
impl<P> Send for GithubLookupSuggestor<P>
impl<P> Sync for GithubLookupSuggestor<P>
impl<P> Unpin for GithubLookupSuggestor<P>
impl<P> UnsafeUnpin for GithubLookupSuggestor<P>
impl<P> UnwindSafe for GithubLookupSuggestor<P>where
P: RefUnwindSafe,
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