pub struct EasyReporting<'a, L: EasyLocation<'a>> { /* private fields */ }Implementations§
Source§impl<'a, L: EasyLocation<'a>> EasyReporting<'a, L>
impl<'a, L: EasyLocation<'a>> EasyReporting<'a, L>
pub fn new(source: &'a L) -> Self
pub fn with_config(source: &'a L, config: Config) -> Self
pub fn check_status(&self) -> EasyReportingStatus
Sourcepub fn emit_status(&self) -> EasyReportingStatus
pub fn emit_status(&self) -> EasyReportingStatus
Displays the current status and returns exit code.
If this report contains only warnings, then ExitCode::SUCCESS is returned
but if it contains one or more errors, ExitCode::FAILURE is returned.
Trait Implementations§
Source§impl<'a, L: EasyLocation<'a>> EasyReport for EasyReporting<'a, L>
impl<'a, L: EasyLocation<'a>> EasyReport for EasyReporting<'a, L>
Auto Trait Implementations§
impl<'a, L> !Freeze for EasyReporting<'a, L>
impl<'a, L> RefUnwindSafe for EasyReporting<'a, L>where
L: RefUnwindSafe,
impl<'a, L> Send for EasyReporting<'a, L>where
L: Sync,
impl<'a, L> Sync for EasyReporting<'a, L>where
L: Sync,
impl<'a, L> Unpin for EasyReporting<'a, L>
impl<'a, L> UnwindSafe for EasyReporting<'a, L>where
L: 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