[][src]Function serde_rustler::to_term

pub fn to_term<T>(env: Env, value: T) -> Result<Term, Error> where
    T: Serialize

Converts a native Rust type into a native Elixir term.

See conversion table for details about serialization behavior.