Trait FixDeserialize

Source
pub trait FixDeserialize<'fix>: Sized {
    // Required methods
    fn from_fix_message_inner<I, F>(
        fields: &mut Peekable<I>,
        is_a_parent_tag: F,
    ) -> Result<Self, FixError>
       where I: Iterator<Item = &'fix str>,
             F: Fn(&str) -> bool;
    fn is_known_tag(tag: &str) -> bool;

    // Provided method
    fn from_fix_message(
        fix_message: &'fix [u8],
        delimiter: Option<char>,
    ) -> Result<Self, FixError> { ... }
}

Required Methods§

Source

fn from_fix_message_inner<I, F>( fields: &mut Peekable<I>, is_a_parent_tag: F, ) -> Result<Self, FixError>
where I: Iterator<Item = &'fix str>, F: Fn(&str) -> bool,

Source

fn is_known_tag(tag: &str) -> bool

Provided Methods§

Source

fn from_fix_message( fix_message: &'fix [u8], delimiter: Option<char>, ) -> Result<Self, FixError>

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.

Implementors§