doc: add commands to channel mode enum

This commit is contained in:
Dmitriy Pleshevskiy 2020-08-07 10:26:40 +03:00
parent 308efc1eba
commit be6a395e1b

View file

@ -64,7 +64,7 @@ pub enum ChannelMode {
/// Sonic server ingest channel mode.
///
/// In this mode you can use `push`, `pop`, `flushc`, `flushb`, `flusho`,
/// `ping` and `quit` commands.
/// `bucket_count`, `object_count`, `word_count`, `ping` and `quit` commands.
///
/// Note: This mode requires enabling the `ingest` feature.
#[cfg(feature = "ingest")]
@ -72,7 +72,8 @@ pub enum ChannelMode {
/// Sonic server control channel mode.
///
/// In this mode you can use `ping` and `quit` commands.
/// In this mode you can use `consolidate`, `backup`, `restore`,
/// `ping` and `quit` commands.
///
/// Note: This mode requires enabling the `control` feature.
#[cfg(feature = "control")]