Struct foundry_compilers::report::NoReporter
source · 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 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