Struct ethers_solc::many::CompiledMany
source · pub struct CompiledMany { /* private fields */ }
Expand description
The bundled output of multiple solc
processes.
Implementations§
source§impl CompiledMany
impl CompiledMany
pub fn new(outputs: Vec<(Result<CompilerOutput>, Solc, CompilerInput)>) -> Self
sourcepub fn outputs(
&self
) -> impl Iterator<Item = &(Result<CompilerOutput>, Solc, CompilerInput)>
pub fn outputs(
&self
) -> impl Iterator<Item = &(Result<CompilerOutput>, Solc, CompilerInput)>
Returns an iterator over all output elements
sourcepub fn into_outputs(
self
) -> impl Iterator<Item = (Result<CompilerOutput>, Solc, CompilerInput)>
pub fn into_outputs(
self
) -> impl Iterator<Item = (Result<CompilerOutput>, Solc, CompilerInput)>
Returns an iterator over all output elements
sourcepub fn flattened(self) -> Result<Vec<CompilerOutput>>
pub fn flattened(self) -> Result<Vec<CompilerOutput>>
Returns all CompilerOutput
or the first error that occurred