[][src]Struct ethcontract::contract::DeployedFuture

pub struct DeployedFuture<T, D> where
    T: Transport,
    D: Deploy<T>, 
{ /* fields omitted */ }

Future for creating a deployed contract instance.

Methods

impl<T, D> DeployedFuture<T, D> where
    T: Transport,
    D: Deploy<T>, 
[src]

Important traits for DeployedFuture<T, D>
pub fn from_args(web3: Web3<T>, artifact: Artifact) -> DeployedFuture<T, D>[src]

Construct a new future that resolves when a deployed contract is located from a web3 provider and artifact data.

Trait Implementations

impl<T, D> Future for DeployedFuture<T, D> where
    T: Transport,
    D: Deploy<T>, 
[src]

type Output = Result<D, DeployError>

The type of value produced on completion.

Auto Trait Implementations

impl<T, D> Send for DeployedFuture<T, D> where
    D: Send,
    T: Send,
    <T as Transport>::Out: Send

impl<T, D> !Sync for DeployedFuture<T, D>

impl<T, D> Unpin for DeployedFuture<T, D>

impl<T, D> !UnwindSafe for DeployedFuture<T, D>

impl<T, D> !RefUnwindSafe for DeployedFuture<T, D>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<F, T, E> TryFuture for F where
    F: Future<Output = Result<T, E>> + ?Sized
[src]

type Ok = T

The type of successful values yielded by this future

type Error = E

The type of failures yielded by this future

impl<T> FutureExt for T where
    T: Future + ?Sized
[src]

impl<Fut> TryFutureExt for Fut where
    Fut: TryFuture + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,