pub struct Call;Expand description
Entry point for constructing an instrumented inter-canister call.
Implementations§
Source§impl Call
impl Call
Sourcepub fn bounded_wait(
canister_id: impl Into<Principal>,
method: &str,
) -> CallBuilder<'static>
pub fn bounded_wait( canister_id: impl Into<Principal>, method: &str, ) -> CallBuilder<'static>
Construct a call that uses the IC’s bounded-wait behavior.
Sourcepub fn unbounded_wait(
canister_id: impl Into<Principal>,
method: &str,
) -> CallBuilder<'static>
pub fn unbounded_wait( canister_id: impl Into<Principal>, method: &str, ) -> CallBuilder<'static>
Construct a call that uses the IC’s unbounded-wait behavior.
Auto Trait Implementations§
impl Freeze for Call
impl RefUnwindSafe for Call
impl Send for Call
impl Sync for Call
impl Unpin for Call
impl UnsafeUnpin for Call
impl UnwindSafe for Call
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