pub struct SessionTweaks {
pub enable_next_expected: bool,
pub enable_last_processed: bool,
pub check_latency: bool,
pub resend_chunk_size: u32,
pub executor_app: bool,
pub reject_garbled: bool,
pub validate_fields_out_of_order: bool,
pub disconnect_on_error: bool,
pub fixed_identity: Option<(String, String)>,
}Expand description
Optional acceptor session-feature toggles a scenario needs (special-category suites).
Fields§
§enable_next_expected: boolEnable NextExpectedMsgSeqNum (789) handling.
enable_last_processed: boolEnable LastMsgSeqNumProcessed (369) stamping.
check_latency: boolEnable CheckLatency (stale SendingTime aborts the session).
resend_chunk_size: u32ResendRequest chunk size (0 = request the whole range at once).
executor_app: boolUse an active application that replies to each NewOrderSingle with an ExecutionReport.
reject_garbled: boolEnable RejectGarbledMessage (a garbled frame draws a session Reject instead of a silent drop).
validate_fields_out_of_order: boolEnable ValidateFieldsOutOfOrder on the acceptor’s dictionary validator (FR-006).
disconnect_on_error: boolDisconnect (in addition to rejecting) on an inbound dictionary-validation failure (006/US1, B5/FR-008).
fixed_identity: Option<(String, String)>T133/T134/T135 (feature 009, NEW-83): when set, run_report starts this scenario’s
acceptor via start_fixed_identity_acceptor (fixed SenderCompID/TargetCompID,
(server, client)) instead of start_acceptor’s dynamic-template mode — required to
exercise an inbound Logon whose identity doesn’t match a pre-existing session at all,
which the dynamic template has nothing to “mismatch” against.
Trait Implementations§
Source§impl Clone for SessionTweaks
impl Clone for SessionTweaks
Source§fn clone(&self) -> SessionTweaks
fn clone(&self) -> SessionTweaks
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SessionTweaks
impl Debug for SessionTweaks
Source§impl Default for SessionTweaks
impl Default for SessionTweaks
Source§fn default() -> SessionTweaks
fn default() -> SessionTweaks
Auto Trait Implementations§
impl Freeze for SessionTweaks
impl RefUnwindSafe for SessionTweaks
impl Send for SessionTweaks
impl Sync for SessionTweaks
impl Unpin for SessionTweaks
impl UnsafeUnpin for SessionTweaks
impl UnwindSafe for SessionTweaks
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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