pub struct ProblemMatcherRegistry { /* private fields */ }Expand description
Ordered registry compiled before parsing begins. A later owner replaces an earlier owner, matching GitHub Actions registration behavior.
Implementations§
Source§impl ProblemMatcherRegistry
impl ProblemMatcherRegistry
pub fn new(limits: ProblemMatcherLimits) -> Self
pub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
Sourcepub fn builtin_overrides(&self) -> BuiltinMatcherOverrides
pub fn builtin_overrides(&self) -> BuiltinMatcherOverrides
Returns the built-in matcher owners replaced by this registry.
Sourcepub fn add_json(&mut self, input: &[u8]) -> Result<(), ProblemMatcherError>
pub fn add_json(&mut self, input: &[u8]) -> Result<(), ProblemMatcherError>
Compiles one GitHub problem-matcher document, a VS Code inline matcher, or an array of inline matchers. The registry is unchanged on failure.
pub fn into_parser(self) -> ProblemMatcherParser
Trait Implementations§
Source§impl Clone for ProblemMatcherRegistry
impl Clone for ProblemMatcherRegistry
Auto Trait Implementations§
impl Freeze for ProblemMatcherRegistry
impl RefUnwindSafe for ProblemMatcherRegistry
impl Send for ProblemMatcherRegistry
impl Sync for ProblemMatcherRegistry
impl Unpin for ProblemMatcherRegistry
impl UnsafeUnpin for ProblemMatcherRegistry
impl UnwindSafe for ProblemMatcherRegistry
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