pub struct FixCodec { /* private fields */ }Expand description
Tokio codec for FIX message framing.
Handles parsing of FIX messages from a byte stream, validating BeginString, BodyLength, and optionally Checksum.
Implementations§
Trait Implementations§
Source§impl Decoder for FixCodec
impl Decoder for FixCodec
Source§type Error = CodecError
type Error = CodecError
The type of unrecoverable frame decoding errors. Read more
Source§fn decode(
&mut self,
src: &mut BytesMut,
) -> Result<Option<<FixCodec as Decoder>::Item>, <FixCodec as Decoder>::Error>
fn decode( &mut self, src: &mut BytesMut, ) -> Result<Option<<FixCodec as Decoder>::Item>, <FixCodec as Decoder>::Error>
Attempts to decode a frame from the provided buffer of bytes. Read more
Auto Trait Implementations§
impl Freeze for FixCodec
impl RefUnwindSafe for FixCodec
impl Send for FixCodec
impl Sync for FixCodec
impl Unpin for FixCodec
impl UnwindSafe for FixCodec
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