pub struct EngineConfig {
pub runtime_session: RuntimeSessionId,
pub network: Network,
pub policy: PolicySnapshot,
}Expand description
Engine construction configuration.
Fields§
§runtime_session: RuntimeSessionIdChecked caller-generated runtime session ID.
network: NetworkHandshake network.
policy: PolicySnapshotPersisted policy snapshot.
Implementations§
Source§impl EngineConfig
impl EngineConfig
Sourcepub const fn new(
runtime_session: RuntimeSessionId,
network: Network,
policy: PolicySnapshot,
) -> Self
pub const fn new( runtime_session: RuntimeSessionId, network: Network, policy: PolicySnapshot, ) -> Self
Construct a configuration from an already checked runtime session.
Trait Implementations§
Source§impl Clone for EngineConfig
impl Clone for EngineConfig
Source§fn clone(&self) -> EngineConfig
fn clone(&self) -> EngineConfig
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 EngineConfig
Source§impl Debug for EngineConfig
impl Debug for EngineConfig
impl Eq for EngineConfig
Source§impl PartialEq for EngineConfig
impl PartialEq for EngineConfig
impl StructuralPartialEq for EngineConfig
Auto Trait Implementations§
impl Freeze for EngineConfig
impl RefUnwindSafe for EngineConfig
impl Send for EngineConfig
impl Sync for EngineConfig
impl Unpin for EngineConfig
impl UnsafeUnpin for EngineConfig
impl UnwindSafe for EngineConfig
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§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.