Struct solana_bpf_loader_program::syscalls::SyscallAbort
source · pub struct SyscallAbort {}
Expand description
Abort syscall functions, called when the SBF program calls abort()
LLVM will insert calls to abort()
if it detects an untenable situation,
abort()
is not intended to be called explicitly by the program.
Causes the SBF program to be halted immediately
Implementations§
source§impl SyscallAbort
impl SyscallAbort
pub fn call( invoke_context: &mut InvokeContext<'_>, arg_a: u64, arg_b: u64, arg_c: u64, arg_d: u64, arg_e: u64, memory_mapping: &mut MemoryMapping<'_>, result: &mut ProgramResult )
Auto Trait Implementations§
impl RefUnwindSafe for SyscallAbort
impl Send for SyscallAbort
impl Sync for SyscallAbort
impl Unpin for SyscallAbort
impl UnwindSafe for SyscallAbort
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