pub struct Catalogue { /* private fields */ }Expand description
The parsed catalogue: an ordered list of sink matchers plus untrusted-source matchers. Order is preserved from the TOML so the detector can break on the first match deterministically.
Implementations§
Source§impl Catalogue
impl Catalogue
Sourcepub fn matching_source_for_deps_with_receivers(
&self,
source_path: &str,
declared_deps: &FxHashSet<String>,
request_receivers: &FxHashSet<String>,
) -> Option<(&str, &str)>
pub fn matching_source_for_deps_with_receivers( &self, source_path: &str, declared_deps: &FxHashSet<String>, request_receivers: &FxHashSet<String>, ) -> Option<(&str, &str)>
The id + human title of the first untrusted-source matcher whose pattern, optional framework enabler, and configured request-receiver extension match the given source path.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Catalogue
impl RefUnwindSafe for Catalogue
impl Send for Catalogue
impl Sync for Catalogue
impl Unpin for Catalogue
impl UnsafeUnpin for Catalogue
impl UnwindSafe for Catalogue
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