Struct solana_runtime::runtime_config::RuntimeConfig
source · pub struct RuntimeConfig {
pub compute_budget: Option<ComputeBudget>,
pub log_messages_bytes_limit: Option<usize>,
pub transaction_account_lock_limit: Option<usize>,
}
Expand description
Encapsulates flags that can be used to tweak the runtime behavior.
Fields§
§compute_budget: Option<ComputeBudget>
§log_messages_bytes_limit: Option<usize>
§transaction_account_lock_limit: Option<usize>
Trait Implementations§
source§impl AbiExample for RuntimeConfig
impl AbiExample for RuntimeConfig
source§impl Clone for RuntimeConfig
impl Clone for RuntimeConfig
source§fn clone(&self) -> RuntimeConfig
fn clone(&self) -> RuntimeConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RuntimeConfig
impl Debug for RuntimeConfig
source§impl Default for RuntimeConfig
impl Default for RuntimeConfig
source§fn default() -> RuntimeConfig
fn default() -> RuntimeConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RuntimeConfig
impl RefUnwindSafe for RuntimeConfig
impl Send for RuntimeConfig
impl Sync for RuntimeConfig
impl Unpin for RuntimeConfig
impl UnwindSafe for RuntimeConfig
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