Enum memcache::CommandError [−][src]
pub enum CommandError {
KeyExists,
KeyNotFound,
ValueTooLarge,
InvalidArguments,
AuthenticationRequired,
Unknown(u16),
InvalidCommand,
}
Expand description
Command specific errors.
Variants
The client tried to set a key which already existed in the server.
The client tried to set a key which does not exist in the server.
The value for a key was too large. The limit is usually 1MB.
Invalid arguments were passed to the command.
The server requires authentication.
Unknown(u16)
When using binary protocol, the server returned an unknown response status.
Tuple Fields of Unknown
0: u16
The client sent an invalid command to the server.
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.