pub struct Call;Expand description
Call
Entry point for constructing inter-canister calls.
Call itself has no state; it simply selects the wait semantics
(bounded vs unbounded) and produces a CallBuilder.
Think of this as the verb (“make a call”), not the call itself.
Implementations§
Source§impl Call
impl Call
pub fn bounded_wait( canister_id: impl Into<Principal>, method: &str, ) -> CallBuilder
pub fn unbounded_wait( canister_id: impl Into<Principal>, method: &str, ) -> CallBuilder
Auto Trait Implementations§
impl Freeze for Call
impl RefUnwindSafe for Call
impl Send for Call
impl Sync for Call
impl Unpin 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