Struct ethers_solc::ProjectBuilder [−][src]
pub struct ProjectBuilder<Artifacts: ArtifactOutput = MinimalCombinedArtifacts> {
pub ignored_error_codes: Vec<u64>,
pub allowed_paths: Vec<PathBuf>,
// some fields omitted
}
Fields
ignored_error_codes: Vec<u64>
Which error codes to ignore
allowed_paths: Vec<PathBuf>
All allowed paths
Implementations
Disables writing artifacts to disk
Disables automatic solc version detection
Sets the maximum number of parallel solc
processes to run simultaneously.
Panics
jobs
must be at least 1
Sets the number of parallel solc
processes to 1
, no parallelization
Set arbitrary ArtifactOutputHandler
Adds an allowed-path to the solc executable
pub fn allowed_paths<I, S>(self, args: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<PathBuf>,
pub fn allowed_paths<I, S>(self, args: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<PathBuf>,
Adds multiple allowed-path to the solc executable
Trait Implementations
Auto Trait Implementations
impl<Artifacts> RefUnwindSafe for ProjectBuilder<Artifacts> where
Artifacts: RefUnwindSafe,
impl<Artifacts> Send for ProjectBuilder<Artifacts> where
Artifacts: Send,
impl<Artifacts> Sync for ProjectBuilder<Artifacts> where
Artifacts: Sync,
impl<Artifacts> Unpin for ProjectBuilder<Artifacts> where
Artifacts: Unpin,
impl<Artifacts> UnwindSafe for ProjectBuilder<Artifacts> where
Artifacts: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more