SMPPEX.Pdu.MessageState.code_by_name

You're seeing just the function code_by_name, go back to SMPPEX.Pdu.MessageState module for more information.
Link to this function

code_by_name(state_name)

View Source

Specs

code_by_name(state_name()) :: state()

Converts atom representing message state to integer value.

Example

iex(1)> SMPPEX.Pdu.MessageState.code_by_name(:DELIVERED)
2