Enum crust::CrustUser
[−]
[src]
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.
Variants
Node
Crust user is a Node and should not be allowed to bootstrap if it's not reachable from outside.
Client
Crust user is a Client and should be allowed to bootstrap even if it's not reachable from outside.
Trait Implementations
impl Debug for CrustUser
[src]
impl Clone for CrustUser
[src]
fn clone(&self) -> CrustUser
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more