pub enum CrustUser {
Node,
Client,
}
Specify crust user. Behaviour (for example in bootstrap phase) will be different for different
variants. Node will request the Bootstrapee to connect back to this crust failing which it
would mean it's not reachable from outside and hence should be rejected bootstrap attempts.
Crust user is a Node and should not be allowed to bootstrap if it's not reachable from
outside.
Crust user is a Client and should be allowed to bootstrap even if it's not reachable from
outside.
Formats the value using the given formatter. Read more
Performs copy-assignment from source
. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.