pub struct ProgramRuntimeEnvironments {
pub program_runtime_v1: ProgramRuntimeEnvironment,
pub program_runtime_v2: ProgramRuntimeEnvironment,
}This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Expand description
Globally shared RBPF config and syscall registry
This is only valid in an epoch range as long as no feature affecting RBPF is activated.
Fieldsยง
ยงprogram_runtime_v1: ProgramRuntimeEnvironmentThis crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
For program runtime V1
program_runtime_v2: ProgramRuntimeEnvironmentThis crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
For program runtime V2
Trait Implementationsยง
Sourceยงimpl Clone for ProgramRuntimeEnvironments
impl Clone for ProgramRuntimeEnvironments
Sourceยงfn clone(&self) -> ProgramRuntimeEnvironments
fn clone(&self) -> ProgramRuntimeEnvironments
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSourceยงimpl Debug for ProgramRuntimeEnvironments
impl Debug for ProgramRuntimeEnvironments
Auto Trait Implementationsยง
impl Freeze for ProgramRuntimeEnvironments
impl RefUnwindSafe for ProgramRuntimeEnvironments
impl Send for ProgramRuntimeEnvironments
impl Sync for ProgramRuntimeEnvironments
impl Unpin for ProgramRuntimeEnvironments
impl UnsafeUnpin for ProgramRuntimeEnvironments
impl UnwindSafe for ProgramRuntimeEnvironments
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
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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