FlowEncoder

Trait FlowEncoder 

Source
pub trait FlowEncoder {
    // Required methods
    fn serialize<T: Serialize>(value: &T) -> Result<Vec<u8>, SerdeFlowError>;
    fn deserialize<T: DeserializeOwned>(
        bytes: &[u8],
    ) -> Result<T, SerdeFlowError>;
}

Required Methods§

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§