pub struct RawMessage<'a> {
pub begin_string: &'a FixStr,
pub body: &'a [u8],
pub checksum: u8,
}Expand description
One structurally valid FIX message framed out of a byte stream by
raw_message, borrowing from that stream - no bytes are copied.
Framing proves only that BeginString(8), BodyLength(9) and CheckSum(10) are present and consistent. The body is still unparsed.
Fields§
§begin_string: &'a FixStrBeginString(8) value, e.g. FIXT.1.1.
body: &'a [u8]Everything between BodyLength(9) and CheckSum(10), the length that tag 9 declared.
checksum: u8CheckSum(10) value, already verified against the framed bytes.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for RawMessage<'a>
impl<'a> Freeze for RawMessage<'a>
impl<'a> RefUnwindSafe for RawMessage<'a>
impl<'a> Send for RawMessage<'a>
impl<'a> Sync for RawMessage<'a>
impl<'a> Unpin for RawMessage<'a>
impl<'a> UnsafeUnpin for RawMessage<'a>
impl<'a> UnwindSafe for RawMessage<'a>
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