Searched refs:ReadUtilTask (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}; 106 fn read_until<'a>(&'a mut self, byte: u8, buf: &'a mut Vec<u8>) -> ReadUtilTask<'a, Self> in read_until() 110 ReadUtilTask::new(self, byte, buf) in read_until()
|
H A D | read_task.rs | 273 pub struct ReadUtilTask<'a, R: ?Sized> { struct 280 impl<'a, R: ?Sized> ReadUtilTask<'a, R> { argument 282 pub(crate) fn new(reader: &'a mut R, delim: u8, buf: &'a mut Vec<u8>) -> ReadUtilTask<'a, R> { in new() 283 ReadUtilTask { in new() 324 impl<'a, R> Future for ReadUtilTask<'a, R> implementation
|