pub type Result<T> = std::result::Result<T, Error>;
#[derive(thiserror::Error, Debug)]
pub enum Error {
#[error("key already exists")]
KeyAlreadyExists,
#[error("key not found")]
KeyNotFound,
#[error("request timed out")]
RequestTimeout,
#[error("receiver dropped")]
ReceiverDropped,
#[error("request canceled")]
Canceled,
}