Struct ethers::solc::ProjectBuilder [−][src]
pub struct ProjectBuilder<Artifacts = MinimalCombinedArtifacts> where
Artifacts: ArtifactOutput, {
pub ignored_error_codes: Vec<u64, Global>,
pub allowed_paths: Vec<PathBuf, Global>,
// some fields omitted
}
Fields
ignored_error_codes: Vec<u64, Global>
Which error codes to ignore
allowed_paths: Vec<PathBuf, Global>
All allowed paths
Implementations
Disables cached builds
Disables writing artifacts to disk
Disables automatic solc version detection
Set arbitrary ArtifactOutputHandler
Adds an allowed-path to the solc executable
pub fn allowed_paths<I, S>(self, args: I) -> ProjectBuilder<Artifacts> where
I: IntoIterator<Item = S>,
S: Into<PathBuf>,
pub fn allowed_paths<I, S>(self, args: I) -> ProjectBuilder<Artifacts> where
I: IntoIterator<Item = S>,
S: Into<PathBuf>,
Adds multiple allowed-path to the solc executable
Trait Implementations
Returns the “default value” for a type. Read more
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
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