Struct solana_bpf_loader_program::syscalls::SyscallAllocFree [−][src]
pub struct SyscallAllocFree { /* fields omitted */ }Dynamic memory allocation syscall called when the BPF program calls
sol_alloc_free_(). The allocator is expected to allocate/free
from/to a given chunk of memory and enforce size restrictions. The
memory chunk is given to the allocator during allocator creation and
information about that memory (start address and size) is passed
to the VM to use for enforcement.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SyscallAllocFree
impl RefUnwindSafe for SyscallAllocFreeimpl Send for SyscallAllocFree
impl Send for SyscallAllocFreeimpl Sync for SyscallAllocFree
impl Sync for SyscallAllocFreeimpl Unpin for SyscallAllocFree
impl Unpin for SyscallAllocFreeimpl UnwindSafe for SyscallAllocFree
impl UnwindSafe for SyscallAllocFreeBlanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for Tpub default fn example() -> T
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,