partisan_util (partisan v5.0.3)
View SourceSummary
Functions
If pid_encoding or ref_encoding configuration options are enabled, this function will ignore Opts and return an iolist(). Otherwise, the function calls erlang:term_to_iovec(Term, Opts).'
Functions
-spec encode(Term :: term(), Opts :: list()) -> erlang:ext_iovec() | iolist().
If pid_encoding or ref_encoding configuration options are enabled, this function will ignore Opts and return an iolist(). Otherwise, the function calls erlang:term_to_iovec(Term, Opts).'
-spec format_posix_error(Reason :: inet:posix() | system_limit) -> Message :: binary() | (Reason :: inet:posix() | system_limit).
Given a POSIX error reason see inet and file, returns a descriptive binary string of the error in English and adding Reason at the end of the description inside parenthesis.
-spec maybe_connect_disterl(Node :: node()) -> ok.