Skip to main content

FixDecode

Trait FixDecode 

Source
pub trait FixDecode: Sized {
    // Required method
    fn decode(tag: Tag, bytes: &[u8]) -> Result<Self, ConversionError>;
}
Expand description

A value that can be parsed from a FIX field value.

Required Methods§

Source

fn decode(tag: Tag, bytes: &[u8]) -> Result<Self, ConversionError>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl FixDecode for String

Source§

fn decode(tag: Tag, bytes: &[u8]) -> Result<Self, ConversionError>

Source§

impl FixDecode for Vec<u8>

Source§

fn decode(_tag: Tag, bytes: &[u8]) -> Result<Self, ConversionError>

Source§

impl FixDecode for bool

Source§

fn decode(tag: Tag, bytes: &[u8]) -> Result<Self, ConversionError>

Source§

impl FixDecode for char

Source§

fn decode(tag: Tag, bytes: &[u8]) -> Result<Self, ConversionError>

Source§

impl FixDecode for f64

Source§

fn decode(tag: Tag, bytes: &[u8]) -> Result<Self, ConversionError>

Source§

impl FixDecode for i32

Source§

fn decode(tag: Tag, bytes: &[u8]) -> Result<Self, ConversionError>

Source§

impl FixDecode for i64

Source§

fn decode(tag: Tag, bytes: &[u8]) -> Result<Self, ConversionError>

Source§

impl FixDecode for u32

Source§

fn decode(tag: Tag, bytes: &[u8]) -> Result<Self, ConversionError>

Source§

impl FixDecode for u64

Source§

fn decode(tag: Tag, bytes: &[u8]) -> Result<Self, ConversionError>

Source§

impl FixDecode for usize

Source§

fn decode(tag: Tag, bytes: &[u8]) -> Result<Self, ConversionError>

Implementors§

Source§

impl FixDecode for Decimal

Available on crate feature decimal only.
Source§

impl FixDecode for FixDate

Source§

impl FixDecode for UtcTimestamp