pub struct GradleEventsReporter { /* private fields */ }Expand description
A file\t<file> line per linted file (ktlint-gradle’s LintErrorResults), then one per error:
error\t<file>\t<line>\t<col>\t<rule id>\t<status>\t<corrected>\t<detail>, the status as KtlintCliError.Status
names it; \, tab, line feed and carriage return in the detail escaped as \\, \t, \n, \r. Files come
in the order the run reports them (its arguments’ order).
Implementations§
Source§impl GradleEventsReporter
impl GradleEventsReporter
pub fn new(file: File) -> GradleEventsReporter
Trait Implementations§
Source§impl ReporterV2 for GradleEventsReporter
impl ReporterV2 for GradleEventsReporter
Auto Trait Implementations§
impl Freeze for GradleEventsReporter
impl RefUnwindSafe for GradleEventsReporter
impl Send for GradleEventsReporter
impl Sync for GradleEventsReporter
impl Unpin for GradleEventsReporter
impl UnsafeUnpin for GradleEventsReporter
impl UnwindSafe for GradleEventsReporter
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