Struct ethcontract::contract::Linker [−][src]
pub struct Linker { /* fields omitted */ }
Expand description
Builder for specifying linking options for a contract.
Implementations
Specify a linked library used for this contract. Note that we incrementally link so that we can verify each time a library is linked whether it was successful or not.
Panics
Panics if an invalid library name is used (for example if it is more than 38 characters long).
pub fn deploy<T, P>(
self,
web3: Web3<T>,
params: P
) -> Result<DeployBuilder<T, Instance<T>>, DeployError> where
T: Transport,
P: Tokenize,
pub fn deploy<T, P>(
self,
web3: Web3<T>,
params: P
) -> Result<DeployBuilder<T, Instance<T>>, DeployError> where
T: Transport,
P: Tokenize,
Finish linking and check if there are any outstanding unlinked libraries and create a deployment builder.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Linker
impl UnwindSafe for Linker
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V