Enum gluster::State [] [src]

pub enum State {
    Connected,
    Disconnected,
    Unknown,
    EstablishingConnection,
    ProbeSentToPeer,
    ProbeReceivedFromPeer,
    PeerInCluster,
    AcceptedPeerRequest,
    SentAndReceivedPeerRequest,
    PeerRejected,
    PeerDetachInProgress,
    ConnectedToPeer,
    PeerIsConnectedAndAccepted,
    InvalidState,
}

A enum representing the possible States that a Peer can be in

Variants

Methods

impl State
[src]

Create a new State object from a &str

Return a string representation of the State

Trait Implementations

impl Debug for State
[src]

Formats the value using the given formatter.

impl Copy for State
[src]

impl Clone for State
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for State
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl PartialEq for State
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for State
[src]