Skip to main content

AsFixStr

Trait AsFixStr 

Source
pub trait AsFixStr {
    // Required method
    fn as_fix_str(&self) -> &'static str;
}
Expand description

Convenience trait for enums that map to a static FIX code (“D”, “1”, “2”, …).

Required Methods§

Source

fn as_fix_str(&self) -> &'static str

Return the static FIX code for this value.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§