pub struct DebuggerSyscallHandler {
pub costs: ExecutionCost,
pub current_program_id: Address,
pub clock: Clock,
pub rent: Rent,
pub epoch_schedule: EpochSchedule,
}Expand description
Debugger syscall handler
Fields§
§costs: ExecutionCost§current_program_id: Address§clock: Clock§rent: Rent§epoch_schedule: EpochScheduleImplementations§
Source§impl DebuggerSyscallHandler
impl DebuggerSyscallHandler
pub fn new(costs: ExecutionCost, current_program_id: Address) -> Self
Trait Implementations§
Source§impl Debug for DebuggerSyscallHandler
impl Debug for DebuggerSyscallHandler
Source§impl SyscallHandler for DebuggerSyscallHandler
impl SyscallHandler for DebuggerSyscallHandler
fn handle( &mut self, name: &str, registers: [u64; 5], memory: &mut Memory, compute: ComputeMeter, ) -> SbpfVmResult<u64>
Auto Trait Implementations§
impl Freeze for DebuggerSyscallHandler
impl RefUnwindSafe for DebuggerSyscallHandler
impl Send for DebuggerSyscallHandler
impl Sync for DebuggerSyscallHandler
impl Unpin for DebuggerSyscallHandler
impl UnsafeUnpin for DebuggerSyscallHandler
impl UnwindSafe for DebuggerSyscallHandler
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more