pub struct Report { /* private fields */ }
Implementations§
source§impl Report
impl Report
pub fn new(label: Label, msg: impl Display, details: impl Display) -> Self
pub fn error(msg: impl Display, details: impl Display) -> Self
pub fn action_request(msg: impl Display, details: impl Display) -> Self
pub fn victory(msg: impl Display, details: impl Display) -> Self
pub fn exit_code(&self) -> i8
pub fn print(&self, wrapper: &TextWrapper)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnwindSafe for Report
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