Crate erlang_port[][src]

erlang_port helps make writing Erlang/Elixir ports in Rust easier.

Structs

CommandIter

An iterator over Erlang port messages from a stream.

Enums

ErlResult

A result enum for replying to commands from Erlang.

Traits

CommandParser

Trait that parses some data from a Vec

Functions

receive

Reads a single port message from a stream.

reply

Writes a reply into an io::Write along with it's size.

send

Writes an EETF Term into an io::Write along with it's size.