pub struct CallBuilder { /* private fields */ }Expand description
CallBuilder (api)
Implementations§
Source§impl CallBuilder
impl CallBuilder
pub fn with_arg<A>(self, arg: A) -> Selfwhere
A: CandidType,
pub fn with_args<A>(self, args: A) -> Selfwhere
A: ArgumentEncoder,
pub fn try_with_arg<A>(self, arg: A) -> Result<Self, PublicError>where
A: CandidType,
pub fn try_with_args<A>(self, args: A) -> Result<Self, PublicError>where
A: ArgumentEncoder,
pub fn with_cycles(self, cycles: u128) -> Self
pub async fn execute(self) -> Result<CallResult, PublicError>
Auto Trait Implementations§
impl Freeze for CallBuilder
impl RefUnwindSafe for CallBuilder
impl Send for CallBuilder
impl Sync for CallBuilder
impl Unpin for CallBuilder
impl UnwindSafe for CallBuilder
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