Struct sqruff_lib::cli::formatters::OutputStreamFormatter
source · pub struct OutputStreamFormatter {
pub has_fail: AtomicBool,
/* private fields */
}
Fields§
§has_fail: AtomicBool
Implementations§
source§impl OutputStreamFormatter
impl OutputStreamFormatter
pub fn new(output_stream: Box<dyn Write + Send + Sync>, nocolor: bool) -> Self
pub fn dispatch_template_header(&self)
pub fn dispatch_parse_header(&self)
pub fn dispatch_file_violations( &self, linted_file: &LintedFile, only_fixable: bool, warn_unused_ignores: bool )
pub fn completion_message(&mut self)
Auto Trait Implementations§
impl !Freeze for OutputStreamFormatter
impl RefUnwindSafe for OutputStreamFormatter
impl Send for OutputStreamFormatter
impl Sync for OutputStreamFormatter
impl Unpin for OutputStreamFormatter
impl UnwindSafe for OutputStreamFormatter
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 more