Struct polkavm_common::zygote::AddressTable
source · pub struct AddressTable {
pub syscall_hostcall: u64,
pub syscall_trap: u64,
pub syscall_return: u64,
pub syscall_trace: u64,
pub syscall_sbrk: u64,
}
Fields§
§syscall_hostcall: u64
§syscall_trap: u64
§syscall_return: u64
§syscall_trace: u64
§syscall_sbrk: u64
Implementations§
source§impl AddressTable
impl AddressTable
pub fn from_raw(table: AddressTableRaw) -> Self
pub const fn from_packed(table: &AddressTablePacked) -> Self
Trait Implementations§
source§impl Clone for AddressTable
impl Clone for AddressTable
source§fn clone(&self) -> AddressTable
fn clone(&self) -> AddressTable
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for AddressTable
Auto Trait Implementations§
impl RefUnwindSafe for AddressTable
impl Send for AddressTable
impl Sync for AddressTable
impl Unpin for AddressTable
impl UnwindSafe for AddressTable
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