pub struct SessionDefinition {Show 13 fields
pub transport: String,
pub service_name: Option<String>,
pub devices: Vec<String>,
pub preset: Option<String>,
pub trace: SessionTraceConfig,
pub reset: SessionResetPolicy,
pub fault_presets: BTreeMap<String, FaultInjectionConfig>,
pub active_fault_preset: Option<String>,
pub active_response_profile: Option<String>,
pub behavior_sets: BTreeMap<String, BehaviorSetDefinition>,
pub active_behavior_set: Option<String>,
pub readiness_timeout_ms: Option<u64>,
pub control: SessionControlConfig,
}Expand description
Session-level DX configuration.
Fields§
§transport: String§service_name: Option<String>§devices: Vec<String>§preset: Option<String>§trace: SessionTraceConfig§reset: SessionResetPolicy§fault_presets: BTreeMap<String, FaultInjectionConfig>§active_fault_preset: Option<String>§active_response_profile: Option<String>§behavior_sets: BTreeMap<String, BehaviorSetDefinition>§active_behavior_set: Option<String>§readiness_timeout_ms: Option<u64>§control: SessionControlConfigTrait Implementations§
Source§impl Clone for SessionDefinition
impl Clone for SessionDefinition
Source§fn clone(&self) -> SessionDefinition
fn clone(&self) -> SessionDefinition
Returns a duplicate 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 SessionDefinition
impl Debug for SessionDefinition
Source§impl<'de> Deserialize<'de> for SessionDefinition
impl<'de> Deserialize<'de> for SessionDefinition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SessionDefinition
impl RefUnwindSafe for SessionDefinition
impl Send for SessionDefinition
impl Sync for SessionDefinition
impl Unpin for SessionDefinition
impl UnsafeUnpin for SessionDefinition
impl UnwindSafe for SessionDefinition
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