#![allow(non_camel_case_types, dead_code)]
#![allow(clippy::upper_case_acronyms)]
use crate::fix::decode::DecodeError;
pub fn is_session_message(msg_type: char) -> bool{
matches!(msg_type,
'' |
)
}
#[repr(C)]
#[derive(Debug)]
pub enum Tags {
= ,
}
impl TryFrom<u32> for Tags {
type Error = DecodeError;
fn try_from(u : u32) -> Result<Self, Self::Error> {
match u {
=> Ok(Tags::),
_=> Err(DecodeError::UnknownTag(u)),
}
}
}
impl From<Tags> for u32 {
fn from(value: Tags) -> u32 {
value as isize as u32
}
}
pub fn get_data_ref(tag: u32) -> Option<u32> {
match tag {
|
=> Some(),
_=>None
}
}
#[repr(C)]
#[derive(Debug,PartialEq,Eq)]
pub enum {
= '' as isize,
}
impl From<> for char {
fn from(a:) -> char {
a as isize as u8 as char
}
}
impl From<> for &'static [u8] {
fn from(a:) -> &'static [u8] {
match a {
:: => b"",
}
}
}
impl TryFrom<char> for {
type Error = DecodeError;
fn try_from(c : char) -> Result<Self, Self::Error> {
match c {
'' => Ok(Self::),
_=> Err(DecodeError::UnknownChar(Tags::, c)),
}
}
}
#[repr(C)]
#[derive(Debug,PartialEq,Eq)]
pub enum {
= ,
}
impl TryFrom<u8> for {
type Error = DecodeError;
fn try_from(c : u8) -> Result<Self, Self::Error> {
match c {
=> Ok(Self::),
_=> Err(DecodeError::UnknownInt(Tags::, c)),
}
}
}