pub struct Runtime { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Ic0CallHandler for Runtime
impl Ic0CallHandler for Runtime
fn msg_arg_data_size(&mut self) -> isize
fn msg_arg_data_copy(&mut self, dst: isize, offset: isize, size: isize)
fn msg_caller_size(&mut self) -> isize
fn msg_caller_copy(&mut self, dst: isize, offset: isize, size: isize)
fn msg_reject_code(&mut self) -> i32
fn msg_reject_msg_size(&mut self) -> isize
fn msg_reject_msg_copy(&mut self, dst: isize, offset: isize, size: isize)
fn msg_reply_data_append(&mut self, src: isize, size: isize)
fn msg_reply(&mut self)
fn msg_reject(&mut self, src: isize, size: isize)
fn msg_cycles_available(&mut self) -> i64
fn msg_cycles_available128(&mut self, dst: isize)
fn msg_cycles_refunded(&mut self) -> i64
fn msg_cycles_refunded128(&mut self, dst: isize)
fn msg_cycles_accept(&mut self, max_amount: i64) -> i64
fn msg_cycles_accept128( &mut self, max_amount_high: i64, max_amount_low: i64, dst: isize, )
fn canister_self_size(&mut self) -> isize
fn canister_self_copy(&mut self, dst: isize, offset: isize, size: isize)
fn canister_cycle_balance(&mut self) -> i64
fn canister_cycle_balance128(&mut self, dst: isize)
fn canister_status(&mut self) -> i32
fn msg_method_name_size(&mut self) -> isize
fn msg_method_name_copy(&mut self, dst: isize, offset: isize, size: isize)
fn accept_message(&mut self)
fn call_new( &mut self, callee_src: isize, callee_size: isize, name_src: isize, name_size: isize, reply_fun: isize, reply_env: isize, reject_fun: isize, reject_env: isize, )
fn call_on_cleanup(&mut self, fun: isize, env: isize)
fn call_data_append(&mut self, src: isize, size: isize)
fn call_cycles_add(&mut self, amount: i64)
fn call_cycles_add128(&mut self, amount_high: i64, amount_low: i64)
fn call_perform(&mut self) -> i32
fn stable_size(&mut self) -> i32
fn stable_grow(&mut self, new_pages: i32) -> i32
fn stable_write(&mut self, offset: i32, src: isize, size: isize)
fn stable_read(&mut self, dst: isize, offset: i32, size: isize)
fn stable64_size(&mut self) -> i64
fn stable64_grow(&mut self, new_pages: i64) -> i64
fn stable64_write(&mut self, offset: i64, src: i64, size: i64)
fn stable64_read(&mut self, dst: i64, offset: i64, size: i64)
fn certified_data_set(&mut self, src: isize, size: isize)
fn data_certificate_present(&mut self) -> i32
fn data_certificate_size(&mut self) -> isize
fn data_certificate_copy(&mut self, dst: isize, offset: isize, size: isize)
fn time(&mut self) -> i64
fn performance_counter(&mut self, counter_type: i32) -> i64
fn debug_print(&mut self, src: isize, size: isize)
fn trap(&mut self, src: isize, size: isize)
Auto Trait Implementations§
impl Freeze for Runtime
impl !RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnsafeUnpin for Runtime
impl !UnwindSafe for Runtime
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