Enum erlang_port::PacketSize[][src]

pub enum PacketSize {
    One,
    Two,
    Four,
}

The size of a packet as sent/received by a PacketReceiver or PacketSender

You should pick the PacketSize that corresponds to the {:packet, N} option you are opening the port with in Erlang/Elixir.

Variants

Trait Implementations

impl Clone for PacketSize
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PacketSize
[src]

Auto Trait Implementations

impl Send for PacketSize

impl Sync for PacketSize