pub struct LineReader<R> { /* private fields */ }Expand description
The reading half of a connection.
Implementations§
Source§impl<R: AsyncRead + Unpin> LineReader<R>
impl<R: AsyncRead + Unpin> LineReader<R>
Sourcepub fn new(inner: R) -> LineReader<R>
pub fn new(inner: R) -> LineReader<R>
Lines read from inner.
Auto Trait Implementations§
impl<R> Forget for LineReader<R>
impl<R> Freeze for LineReader<R>
impl<R> Move for LineReader<R>
impl<R> RefUnwindSafe for LineReader<R>where
R: RefUnwindSafe,
impl<R> Send for LineReader<R>
impl<R> Sync for LineReader<R>
impl<R> Unpin for LineReader<R>
impl<R> UnsafeUnpin for LineReader<R>where
R: UnsafeUnpin,
*const [u8] is !null: UnsafeUnpin,
PhantomData<[u8]>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl<R> UnwindSafe for LineReader<R>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more