Struct ink_env::call::CreateParams [−][src]
Builds up contract instantiations.
Implementations
impl<E, Args, Salt, R> CreateParams<E, Args, Salt, R> where
E: Environment,
Args: Encode,
Salt: AsRef<[u8]>,
R: FromAccountId<E>,
[src]
E: Environment,
Args: Encode,
Salt: AsRef<[u8]>,
R: FromAccountId<E>,
pub fn instantiate(&self) -> Result<R, Error>
[src]
Instantiates the contract and returns its account ID back to the caller.
Trait Implementations
impl<E: Debug, Args: Debug, Salt: Debug, R: Debug> Debug for CreateParams<E, Args, Salt, R> where
E: Environment,
E::Hash: Debug,
E::Balance: Debug,
[src]
E: Environment,
E::Hash: Debug,
E::Balance: Debug,
Auto Trait Implementations
impl<E, Args, Salt, R> RefUnwindSafe for CreateParams<E, Args, Salt, R> where
Args: RefUnwindSafe,
Salt: RefUnwindSafe,
<E as Environment>::Balance: RefUnwindSafe,
<E as Environment>::Hash: RefUnwindSafe,
Args: RefUnwindSafe,
Salt: RefUnwindSafe,
<E as Environment>::Balance: RefUnwindSafe,
<E as Environment>::Hash: RefUnwindSafe,
impl<E, Args, Salt, R> Send for CreateParams<E, Args, Salt, R> where
Args: Send,
Salt: Send,
<E as Environment>::Balance: Send,
<E as Environment>::Hash: Send,
Args: Send,
Salt: Send,
<E as Environment>::Balance: Send,
<E as Environment>::Hash: Send,
impl<E, Args, Salt, R> Sync for CreateParams<E, Args, Salt, R> where
Args: Sync,
Salt: Sync,
<E as Environment>::Balance: Sync,
<E as Environment>::Hash: Sync,
Args: Sync,
Salt: Sync,
<E as Environment>::Balance: Sync,
<E as Environment>::Hash: Sync,
impl<E, Args, Salt, R> Unpin for CreateParams<E, Args, Salt, R> where
Args: Unpin,
Salt: Unpin,
<E as Environment>::Balance: Unpin,
<E as Environment>::Hash: Unpin,
Args: Unpin,
Salt: Unpin,
<E as Environment>::Balance: Unpin,
<E as Environment>::Hash: Unpin,
impl<E, Args, Salt, R> UnwindSafe for CreateParams<E, Args, Salt, R> where
Args: UnwindSafe,
Salt: UnwindSafe,
<E as Environment>::Balance: UnwindSafe,
<E as Environment>::Hash: UnwindSafe,
Args: UnwindSafe,
Salt: UnwindSafe,
<E as Environment>::Balance: UnwindSafe,
<E as Environment>::Hash: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,