pub trait FixDeserialize<'fix>: Sized {
// Required methods
fn deserialize_fields<F>(
cur: &mut TagCursor<'fix>,
is_a_parent_tag: F,
) -> Result<Self, FixError>
where F: Fn(u32) -> bool;
fn is_known_tag(tag: u32) -> bool;
// Provided method
fn from_fix(fix_message: &'fix [u8]) -> Result<Self, FixError> { ... }
}Required Methods§
fn deserialize_fields<F>( cur: &mut TagCursor<'fix>, is_a_parent_tag: F, ) -> Result<Self, FixError>
fn is_known_tag(tag: u32) -> bool
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.