grizzly v0.8.2 Grizzly.SmartStart.MetaExtension.NameInformation View Source
This extension is used to advertise the name assigned to the supporting node
The name string cannot contain underscores and cannot end with a dash.
A node's name cannot be more than 62 bytes.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %Grizzly.SmartStart.MetaExtension.NameInformation{name: String.t()}
t() :: %Grizzly.SmartStart.MetaExtension.NameInformation{name: String.t()}
Link to this section Functions
Link to this function
from_binary(arg1) View Source
Make a NameInformation.t()
from a binary
If the name contains characters that are not valid this function will return
{:error, reason}
where reason
is:
:contains_underscore
:ends_with_dash
:name_too_long
If the critical bit set in the binary this function will return
{:error, :critical_bit_set}
Link to this function
new(name) View Source
Link to this function
to_binary(name_information) View Source
Make a NameInformation.t()
into a binary