pub struct RuntimePlan {
pub health: bool,
pub chain_reads: bool,
pub program_reads: bool,
pub stack_queries: bool,
pub transactions: bool,
pub websocket: bool,
pub live_runtime: bool,
}Expand description
Runtime capabilities selected for one server process.
Fields§
§health: bool§chain_reads: bool§program_reads: bool§stack_queries: bool§transactions: bool§websocket: bool§live_runtime: boolImplementations§
Source§impl RuntimePlan
impl RuntimePlan
Sourcepub const fn solana_gateway() -> Self
pub const fn solana_gateway() -> Self
Health, chain reads, and fixed transaction routes only.
pub fn http() -> Self
pub fn program_reads() -> Self
pub fn live_runtime_enabled(self) -> bool
Trait Implementations§
Source§impl Clone for RuntimePlan
impl Clone for RuntimePlan
Source§fn clone(&self) -> RuntimePlan
fn clone(&self) -> RuntimePlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RuntimePlan
Source§impl Debug for RuntimePlan
impl Debug for RuntimePlan
Source§impl Default for RuntimePlan
impl Default for RuntimePlan
Source§fn default() -> RuntimePlan
fn default() -> RuntimePlan
Returns the “default value” for a type. Read more
impl Eq for RuntimePlan
Source§impl PartialEq for RuntimePlan
impl PartialEq for RuntimePlan
impl StructuralPartialEq for RuntimePlan
Auto Trait Implementations§
impl Freeze for RuntimePlan
impl RefUnwindSafe for RuntimePlan
impl Send for RuntimePlan
impl Sync for RuntimePlan
impl Unpin for RuntimePlan
impl UnsafeUnpin for RuntimePlan
impl UnwindSafe for RuntimePlan
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.