Lines Matching full:split
6 use tokio::io::{AsyncBufRead, Split};
9 /// A wrapper around [`tokio::io::Split`] that implements [`Stream`].
11 /// [`tokio::io::Split`]: struct@tokio::io::Split
17 inner: Split<R>,
23 pub fn new(split: Split<R>) -> Self { in new()
24 Self { inner: split } in new()
27 /// Get back the inner `Split`.
28 pub fn into_inner(self) -> Split<R> { in into_inner()
32 /// Obtain a pinned reference to the inner `Split<R>`.
34 pub fn as_pin_mut(self: Pin<&mut Self>) -> Pin<&mut Split<R>> { in as_pin_mut()
50 impl<R> AsRef<Split<R>> for SplitStream<R> {
51 fn as_ref(&self) -> &Split<R> { in as_ref()
56 impl<R> AsMut<Split<R>> for SplitStream<R> {
57 fn as_mut(&mut self) -> &mut Split<R> { in as_mut()