Struct leo_errors::emitter::StderrEmitter
source · pub struct StderrEmitter {
last_error_code: Option<i32>,
}
Expand description
A trivial Emitter
using the standard error.
Fields§
§last_error_code: Option<i32>
Exit code of the last emitted error.
Trait Implementations§
source§impl Emitter for StderrEmitter
impl Emitter for StderrEmitter
source§fn last_emitted_err_code(&self) -> Option<i32>
fn last_emitted_err_code(&self) -> Option<i32>
Tracks last emitted error.
source§fn emit_warning(&mut self, warning: LeoWarning)
fn emit_warning(&mut self, warning: LeoWarning)
Emit the warning.
Auto Trait Implementations§
impl Freeze for StderrEmitter
impl RefUnwindSafe for StderrEmitter
impl Send for StderrEmitter
impl Sync for StderrEmitter
impl Unpin for StderrEmitter
impl UnwindSafe for StderrEmitter
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