chore (backend-rs): remove unneeded serialize derivation for now
This commit is contained in:
parent
77e6479a67
commit
2d8f4b945f
1 changed files with 1 additions and 3 deletions
|
@ -2,7 +2,7 @@ use crate::config::server::CONFIG;
|
||||||
use crate::database::redis_conn;
|
use crate::database::redis_conn;
|
||||||
use redis::{Commands, RedisError};
|
use redis::{Commands, RedisError};
|
||||||
|
|
||||||
#[derive(strum::Display, serde::Serialize)]
|
#[derive(strum::Display)]
|
||||||
pub enum Stream {
|
pub enum Stream {
|
||||||
#[strum(serialize = "internal")]
|
#[strum(serialize = "internal")]
|
||||||
Internal,
|
Internal,
|
||||||
|
@ -38,8 +38,6 @@ pub enum Stream {
|
||||||
pub enum Error {
|
pub enum Error {
|
||||||
#[error("Redis error: {0}")]
|
#[error("Redis error: {0}")]
|
||||||
RedisError(#[from] RedisError),
|
RedisError(#[from] RedisError),
|
||||||
#[error("Json (de)serialization error: {0}")]
|
|
||||||
JsonError(#[from] serde_json::Error),
|
|
||||||
#[error("Value error: {0}")]
|
#[error("Value error: {0}")]
|
||||||
ValueError(String),
|
ValueError(String),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue