Searched refs:ReadLineTask (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/ |
H A D | async_buf_read.rs | 19 use crate::io::read_task::{LinesTask, ReadLineTask, ReadUtilTask, SplitTask}; 125 fn read_line<'a>(&'a mut self, buf: &'a mut String) -> ReadLineTask<'a, Self> in read_line() 129 ReadLineTask::new(self, buf) in read_line()
|
H A D | read_task.rs | 341 pub struct ReadLineTask<'a, R: ?Sized> { struct 348 impl<'a, R: ?Sized> ReadLineTask<'a, R> { argument 350 pub(crate) fn new(reader: &'a mut R, buf: &'a mut String) -> ReadLineTask<'a, R> { in new() 351 ReadLineTask { in new() 360 impl<'a, R> Future for ReadLineTask<'a, R> implementation
|