Struct fefix::tagvalue::Encoder [−][src]
Expand description
A buffered, content-agnostic FIX encoder.
Encoder
is the fundamental building block for building higher-level
FIX encoders. It allows for encoding of arbitrary payloads and takes care of
BodyLength (9)
and CheckSum (10)
.
Examples
use fefix::tagvalue::{Config, Encoder};
let mut buffer = Vec::new();
let mut encoder = Encoder::<Config>::default();
encoder.config_mut().set_separator(b'|');
let msg = encoder.start_message(b"FIX.4.4", &mut buffer, b"A");
let data = msg.wrap();
Implementations
Trait Implementations
Auto Trait Implementations
impl<C> RefUnwindSafe for Encoder<C> where
C: RefUnwindSafe,
impl<C> UnwindSafe for Encoder<C> where
C: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more