Skip to main content

MessageFactory

Trait MessageFactory 

Source
pub trait MessageFactory {
    // Required method
    fn create(&self, begin_string: &str, msg_type: &str) -> Message;
}
Expand description

Constructs empty messages for a given protocol version and message type.

Required Methods§

Source

fn create(&self, begin_string: &str, msg_type: &str) -> Message

Create an empty message for begin_string (e.g. "FIX.4.4") and msg_type.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§