Home
last modified time | relevance | path

Searched defs:RecvError (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/
H A Derror.rs33 pub struct RecvError; struct
35 impl Display for RecvError { implementation
41 impl Error for RecvError {} implementation
H A Dwatch.rs304 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 Doneshot.rs430 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 Dmod.rs293 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 Dqueue.rs219 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 Dmod.rs412 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 Darray.rs168 pub(crate) fn poll_recv(&self, cx: &mut Context<'_>) -> Poll<Result<T, RecvError>> { in poll_recv() argument