pub trait IntoFixValue {
    // Required method
    fn into_fix_value(self) -> Result<CString, NulError>;
}
Expand description

Convert object to FIX value.

This trait is like std::fmt::Display but it has a different meaning. Using AsRef<str> feel also like mixing different thing together that does not match.

This is why it exists.

Required Methods§

source

fn into_fix_value(self) -> Result<CString, NulError>

Convert implementer to a printable null terminated FIX value.

Implementations on Foreign Types§

source§

impl IntoFixValue for &str

source§

impl IntoFixValue for bool

source§

impl IntoFixValue for f32

source§

impl IntoFixValue for f64

source§

impl IntoFixValue for i8

source§

impl IntoFixValue for i16

source§

impl IntoFixValue for i32

source§

impl IntoFixValue for i64

source§

impl IntoFixValue for i128

source§

impl IntoFixValue for isize

source§

impl IntoFixValue for u8

source§

impl IntoFixValue for u16

source§

impl IntoFixValue for u32

source§

impl IntoFixValue for u64

source§

impl IntoFixValue for u128

source§

impl IntoFixValue for usize

source§

impl IntoFixValue for String

Implementors§