# Enum client::SessionState

> Where the session is in its lifecycle.

`zaun_community_protocol::client::SessionState` · Enum

```rust
pub enum SessionState { … }
```

Where the session is in its lifecycle.

## Variants

### `Idle`

No `session.hello` sent yet.

### `AwaitingWelcome`

`session.hello` sent; commands wait for the welcome.

### `Ready`

The welcome verified; commands flow.

### `Failed(WelcomeError)`

The welcome failed verification; nothing more may be sent on this session.

## Trait implementations

`Clone`, `Debug`, `Eq`, `PartialEq`, `StructuralPartialEq`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/client/session/enum.SessionState.html)
