pub struct SyscallAllocFree { /* private fields */ }
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 SyscallAllocFree
impl Send for SyscallAllocFree
impl Sync for SyscallAllocFree
impl Unpin for SyscallAllocFree
impl UnwindSafe for SyscallAllocFree
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more