pub enum RuntimeEnvironmentSlot {
HostStackPointer = 0,
CallDepth = 1,
ContextObjectPointer = 2,
PreviousInstructionMeter = 3,
DueInsnCount = 4,
StopwatchNumerator = 5,
StopwatchDenominator = 6,
Registers = 7,
ProgramResult = 19,
MemoryMapping = 27,
}
Expand description
Indices of slots inside EbpfVm
Variants§
HostStackPointer = 0
CallDepth = 1
ContextObjectPointer = 2
PreviousInstructionMeter = 3
DueInsnCount = 4
StopwatchNumerator = 5
StopwatchDenominator = 6
Registers = 7
ProgramResult = 19
MemoryMapping = 27
Auto Trait Implementations§
impl Freeze for RuntimeEnvironmentSlot
impl RefUnwindSafe for RuntimeEnvironmentSlot
impl Send for RuntimeEnvironmentSlot
impl Sync for RuntimeEnvironmentSlot
impl Unpin for RuntimeEnvironmentSlot
impl UnwindSafe for RuntimeEnvironmentSlot
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