Struct foundry_compilers::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 Freeze for CompiledMany
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
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