Function frame_stream_split

Source
pub fn frame_stream_split<T>(
    stream: TcpStream,
    split: Vec<u8>,
) -> (FrameSender<T>, FrameReceiver)
where T: AsRef<str>,
Available on crate feature tokio only.
Expand description

split a Tcpstream to sender/receiver frame stream.