pub struct ProjectBuilder<T: ArtifactOutput = ConfigurableArtifacts> {
    pub ignored_error_codes: Vec<u64>,
    /* private fields */
}

Fields§

§ignored_error_codes: Vec<u64>

Which error codes to ignore

Implementations§

Create a new builder with the given artifacts handler

Disables cached builds

Sets the cache status

Sets the build info value

Activates offline mode

Prevents network possible access to download/check solc installs

Sets the offline status

Sets whether to slash all paths on windows

If set to true all \\ separators are replaced with /, same as solc

Disables writing artifacts to disk

Sets the no artifacts status

Sets automatic solc version detection

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

Adds multiple allowed-path to the solc executable

Adds an --include-path to the solc executable

Adds multiple include-path to the solc executable

Trait Implementations§

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
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