pub struct EnvironmentConfig<'a> {
pub blockhash: Hash,
pub blockhash_lamports_per_signature: u64,
pub program_runtime_environments_for_execution: &'a ProgramRuntimeEnvironments,
pub program_runtime_environments_for_deployment: &'a ProgramRuntimeEnvironments,
/* private fields */
}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.
Fields§
§blockhash: HashThis 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.
blockhash_lamports_per_signature: u64This 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.
program_runtime_environments_for_execution: &'a ProgramRuntimeEnvironmentsThis 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.
program_runtime_environments_for_deployment: &'a ProgramRuntimeEnvironmentsThis 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.
Implementations§
Source§impl<'a> EnvironmentConfig<'a>
impl<'a> EnvironmentConfig<'a>
pub fn new( blockhash: Hash, blockhash_lamports_per_signature: u64, epoch_stake_callback: &'a dyn InvokeContextCallback, feature_set: &'a SVMFeatureSet, program_runtime_environments_for_execution: &'a ProgramRuntimeEnvironments, program_runtime_environments_for_deployment: &'a ProgramRuntimeEnvironments, sysvar_cache: &'a SysvarCache, ) -> Self
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.
Auto Trait Implementations§
impl<'a> Freeze for EnvironmentConfig<'a>
impl<'a> !RefUnwindSafe for EnvironmentConfig<'a>
impl<'a> !Send for EnvironmentConfig<'a>
impl<'a> !Sync for EnvironmentConfig<'a>
impl<'a> Unpin for EnvironmentConfig<'a>
impl<'a> UnsafeUnpin for EnvironmentConfig<'a>
impl<'a> !UnwindSafe for EnvironmentConfig<'a>
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> 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