Searched defs:RecvError (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/ |
H A D | error.rs | 33 pub struct RecvError; struct 35 impl Display for RecvError { implementation 41 impl Error for RecvError {} implementation
|
H A D | watch.rs | 304 pub fn is_notified(&self) -> Result<bool, RecvError> { in is_notified() argument 312 pub(crate) fn try_notified(&mut self) -> Option<Result<(), RecvError>> { in try_notified() argument 356 pub fn poll_notified(&mut self, cx: &mut Context<'_>) -> Poll<Result<(), RecvError>> { in poll_notified() argument 400 pub async fn notified(&mut self) -> Result<(), RecvError> { in notified() argument
|
H A D | oneshot.rs | 430 fn take_value_sent(&self) -> Result<T, RecvError> { in take_value_sent() argument
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/mpsc/unbounded/ |
H A D | mod.rs | 293 pub fn poll_recv(&mut self, cx: &mut Context<'_>) -> Poll<Result<T, RecvError>> { in poll_recv() argument 319 pub async fn recv(&mut self) -> Result<T, RecvError> { in recv() argument
|
H A D | queue.rs | 219 pub(crate) fn poll_recv(&self, cx: &mut Context<'_>) -> Poll<Result<T, RecvError>> { in poll_recv() argument
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/mpsc/bounded/ |
H A D | mod.rs | 412 pub fn poll_recv(&mut self, cx: &mut Context<'_>) -> Poll<Result<T, RecvError>> { in poll_recv() argument 439 pub async fn recv(&mut self) -> Result<T, RecvError> { in recv() argument
|
H A D | array.rs | 168 pub(crate) fn poll_recv(&self, cx: &mut Context<'_>) -> Poll<Result<T, RecvError>> { in poll_recv() argument
|