pub struct Deployment<A, E: GearEnv = GstdEnv> { /* private fields */ }Implementations§
Source§impl<A, E: GearEnv> Deployment<A, E>
impl<A, E: GearEnv> Deployment<A, E>
pub fn new(env: E, code_id: CodeId, salt: Vec<u8>) -> Self
pub fn with_env<N: GearEnv>(self, env: &N) -> Deployment<A, N>
Sourcepub fn pending_ctor<T>(self, args: T::Params) -> PendingCtor<A, T, E>where
T: ServiceCall<Route = RouteIdx>,
pub fn pending_ctor<T>(self, args: T::Params) -> PendingCtor<A, T, E>where
T: ServiceCall<Route = RouteIdx>,
v2 (NEW IDL, default) ctor.
Sourcepub fn pending_ctor_v1<T>(self, args: T::Params) -> PendingCtor<A, T, E>where
T: ServiceCall<Route = RouteName>,
pub fn pending_ctor_v1<T>(self, args: T::Params) -> PendingCtor<A, T, E>where
T: ServiceCall<Route = RouteName>,
v1 (OLD IDL) ctor. Ctors have no service prefix — uses RouteName("").
Trait Implementations§
Auto Trait Implementations§
impl<A, E> Freeze for Deployment<A, E>where
E: Freeze,
impl<A, E> RefUnwindSafe for Deployment<A, E>where
E: RefUnwindSafe,
A: RefUnwindSafe,
impl<A, E> Send for Deployment<A, E>
impl<A, E> Sync for Deployment<A, E>
impl<A, E> Unpin for Deployment<A, E>
impl<A, E> UnsafeUnpin for Deployment<A, E>where
E: UnsafeUnpin,
impl<A, E> UnwindSafe for Deployment<A, E>where
E: UnwindSafe,
A: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more