1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-27 01:37:42 +02:00

undeprecate framed transport

This commit is contained in:
Nikolay Kim
2019-07-17 13:31:00 +06:00
parent 42d526bced
commit 9d1b428b34
3 changed files with 8 additions and 11 deletions

View File

@ -1,4 +1,3 @@
#![allow(deprecated)]
//! Framed dispatcher service and related utilities
use std::collections::VecDeque;
use std::{fmt, mem};
@ -15,8 +14,6 @@ use crate::cell::Cell;
type Request<U> = <U as Decoder>::Item;
type Response<U> = <U as Encoder>::Item;
#[doc(hidden)]
#[deprecated(since = "0.4.3", note = "support will be removed in actix-utils 0.4.5")]
/// Framed transport errors
pub enum FramedTransportError<E, U: Encoder + Decoder> {
Service(E),
@ -66,18 +63,11 @@ where
}
}
#[doc(hidden)]
#[deprecated(since = "0.4.3", note = "support will be removed in actix-utils 0.4.5")]
pub enum FramedMessage<T> {
Message(T),
Close,
}
#[doc(hidden)]
#[deprecated(
since = "0.4.3",
note = "please use `actix_ioframe` instead. support will be removed in actix-utils 0.4.5"
)]
/// FramedTransport - is a future that reads frames from Framed object
/// and pass then to the service.
pub struct FramedTransport<S, T, U>