Packages

Erlang-style match specifications for Rustler native event streams.

Current section

Files

Jump to
rustler_match_spec lib rustler match_spec native.ex
Raw

lib/rustler/match_spec/native.ex

defmodule Rustler.MatchSpec.Native do
@moduledoc false
use Rustler,
otp_app: :rustler_match_spec,
crate: "rustler_match_spec"
def compile(_spec), do: :erlang.nif_error(:nif_not_loaded)
def select(_events, _spec_or_selector), do: :erlang.nif_error(:nif_not_loaded)
end