Struct solana_bpf_loader_program::syscalls::SyscallAllocFree [−][src]
pub struct SyscallAllocFree { /* fields omitted */ }Expand description
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 SyscallAllocFreeimpl Send for SyscallAllocFreeimpl Sync for SyscallAllocFreeimpl Unpin for SyscallAllocFreeimpl UnwindSafe for SyscallAllocFreeBlanket Implementations
pub default fn example() -> TMutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V