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
Trait Implementations§
source§impl Debug for CompiledMany
impl Debug for CompiledMany
source§impl IntoIterator for CompiledMany
impl IntoIterator for CompiledMany
Auto Trait Implementations§
impl !RefUnwindSafe for CompiledMany
impl Send for CompiledMany
impl Sync for CompiledMany
impl Unpin for CompiledMany
impl !UnwindSafe for CompiledMany
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