#[non_exhaustive]pub struct Config {
pub separator: u8,
pub max_message_size: Option<usize>,
pub verify_checksum: bool,
pub should_decode_associative: bool,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.separator: u8
The delimiter character, which terminates every tag-value pair including the last one. This setting is relevant for both encoding and decoding operations.
ASCII 0x1 (SOH) is the default separator character.
max_message_size: Option<usize>
The maximum allowed size for any single FIX message. No restrictions are
imposed when it is None
.
verify_checksum: bool
Determines whether or not CheckSum(10)
should be verified.
This setting has no effect when encoding FIX messages.
should_decode_associative: bool
Determines whether or not the decoder needs to have access to associative FIX fields. If turned off, only linear access is possible.
Trait Implementations§
impl Copy for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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