Struct erl_dist::Creation
[−]
[src]
pub struct Creation(_);
The generation number of a distributed node.
If a node restarts, the count will be incremented.
Note the counter will wrap around, if it exceeds four.
Methods
impl Creation
[src]
fn as_u8(&self) -> u8
Returns the inner counter value of this Creation
.
The range of this value is limited to 0..4
.
Trait Implementations
impl Debug for Creation
[src]
impl Clone for Creation
[src]
fn clone(&self) -> Creation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Creation
[src]
fn eq(&self, __arg_0: &Creation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Creation) -> bool
This method tests for !=
.
impl Eq for Creation
[src]
impl PartialOrd for Creation
[src]
fn partial_cmp(&self, __arg_0: &Creation) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &Creation) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &Creation) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &Creation) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &Creation) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for Creation
[src]
fn cmp(&self, __arg_0: &Creation) -> Ordering
This method returns an Ordering
between self
and other
. Read more