pub struct BasicStdoutReporter { /* private fields */ }
Expand description
A Reporter
that emits some general information to stdout
Trait Implementations§
Source§impl Clone for BasicStdoutReporter
impl Clone for BasicStdoutReporter
Source§fn clone(&self) -> BasicStdoutReporter
fn clone(&self) -> BasicStdoutReporter
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BasicStdoutReporter
impl Debug for BasicStdoutReporter
Source§impl Default for BasicStdoutReporter
impl Default for BasicStdoutReporter
Source§impl Reporter for BasicStdoutReporter
impl Reporter for BasicStdoutReporter
Source§fn on_solc_spawn(
&self,
_solc: &Solc,
version: &Version,
input: &CompilerInput,
dirty_files: &[PathBuf],
)
fn on_solc_spawn( &self, _solc: &Solc, version: &Version, input: &CompilerInput, dirty_files: &[PathBuf], )
Callback invoked right before Solc::compile()
is called
Source§fn on_solc_installation_start(&self, version: &Version)
fn on_solc_installation_start(&self, version: &Version)
Invoked before a new Solc
bin is installed
Source§fn on_solc_installation_success(&self, version: &Version)
fn on_solc_installation_success(&self, version: &Version)
Invoked before a new Solc
bin was successfully installed
Source§fn on_solc_success(
&self,
_solc: &Solc,
version: &Version,
output: &CompilerOutput,
duration: &Duration,
)
fn on_solc_success( &self, _solc: &Solc, version: &Version, output: &CompilerOutput, duration: &Duration, )
Invoked with the
CompilerOutput
if Solc::compile()
was successfulSource§fn on_solc_installation_error(&self, version: &Version, error: &str)
fn on_solc_installation_error(&self, version: &Version, error: &str)
Invoked after a
Solc
installation failedAuto Trait Implementations§
impl Freeze for BasicStdoutReporter
impl RefUnwindSafe for BasicStdoutReporter
impl Send for BasicStdoutReporter
impl Sync for BasicStdoutReporter
impl Unpin for BasicStdoutReporter
impl UnwindSafe for BasicStdoutReporter
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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