1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-07-01 20:25:09 +02:00

Follow upstream change wrt. FramedWrite

This commit is contained in:
Yuki Okushi
2020-05-17 11:08:46 +09:00
parent fee78223a9
commit ecc774450f
3 changed files with 11 additions and 7 deletions

View File

@ -27,7 +27,7 @@ impl Message for Command {
pub struct RedisActor {
addr: String,
backoff: ExponentialBackoff,
cell: Option<actix::io::FramedWrite<WriteHalf<TcpStream>, RespCodec>>,
cell: Option<actix::io::FramedWrite<RespValue, WriteHalf<TcpStream>, RespCodec>>,
queue: VecDeque<oneshot::Sender<Result<RespValue, Error>>>,
}