pub struct NoReporter(/* private fields */);
Expand description
A no-op Reporter
that does nothing.
Trait Implementations§
Source§impl Clone for NoReporter
impl Clone for NoReporter
Source§fn clone(&self) -> NoReporter
fn clone(&self) -> NoReporter
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 NoReporter
impl Debug for NoReporter
Source§impl Default for NoReporter
impl Default for NoReporter
Source§fn default() -> NoReporter
fn default() -> NoReporter
Returns the “default value” for a type. Read more
Source§impl Reporter for NoReporter
impl Reporter for NoReporter
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 Read moreSource§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_start(&self, _version: &Version)
fn on_solc_installation_start(&self, _version: &Version)
Invoked before a new
Solc
bin is installedSource§fn on_solc_installation_success(&self, _version: &Version)
fn on_solc_installation_success(&self, _version: &Version)
Invoked after a new
Solc
bin was successfully installedSource§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 failedimpl Copy for NoReporter
Auto Trait Implementations§
impl Freeze for NoReporter
impl RefUnwindSafe for NoReporter
impl Send for NoReporter
impl Sync for NoReporter
impl Unpin for NoReporter
impl UnwindSafe for NoReporter
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