pub struct CanicCall;Expand description
CanicCall
Low-level protected Canic internal-call primitive.
Unlike Call, this API is only for Canic-to-Canic protected internal
endpoints. It obtains a root-signed method-scoped invocation proof, wraps
the original Candid arguments in CanicInternalCallEnvelopeV1, encodes that
envelope as raw ingress bytes, and dispatches through the raw call path.
Implementations§
Source§impl CanicCall
impl CanicCall
pub fn bounded_wait( canister_id: impl Into<Principal>, method: &str, ) -> CanicCallBuilder<'static>
pub fn unbounded_wait( canister_id: impl Into<Principal>, method: &str, ) -> CanicCallBuilder<'static>
Auto Trait Implementations§
impl Freeze for CanicCall
impl RefUnwindSafe for CanicCall
impl Send for CanicCall
impl Sync for CanicCall
impl Unpin for CanicCall
impl UnsafeUnpin for CanicCall
impl UnwindSafe for CanicCall
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