Home
last modified time | relevance | path

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

/external/rust/crates/tokio/src/sync/mpsc/
Derror.rs99 pub struct RecvError(()); struct
102 impl fmt::Display for RecvError { implementation
109 impl Error for RecvError {} implementation
/external/rust/crates/tokio/src/sync/
Dwatch.rs233 pub struct RecvError(pub(super) ()); struct
237 impl fmt::Display for RecvError { implementation
243 impl Error for RecvError {} implementation
553 pub fn has_changed(&self) -> Result<bool, error::RecvError> { in has_changed()
604 pub async fn changed(&mut self) -> Result<(), error::RecvError> { in changed()
671 ) -> Result<Ref<'_, T>, error::RecvError> { in wait_for()
721 ) -> Option<Result<(), error::RecvError>> { in maybe_changed()
743 ) -> Result<(), error::RecvError> { in changed_impl()
Doneshot.rs341 pub struct RecvError(pub(super) ()); struct
355 impl fmt::Display for RecvError { implementation
361 impl std::error::Error for RecvError {} implementation
1066 pub fn blocking_recv(self) -> Result<T, RecvError> { in blocking_recv() argument
1134 fn poll_recv(&self, cx: &mut Context<'_>) -> Poll<Result<T, RecvError>> { in poll_recv() argument
Dbroadcast.rs242 pub enum RecvError { enum
254 impl fmt::Display for RecvError { implementation
263 impl std::error::Error for RecvError {} implementation
1253 pub async fn recv(&mut self) -> Result<T, RecvError> { in recv() argument
1326 pub fn blocking_recv(&mut self) -> Result<T, RecvError> { in blocking_recv() argument
1386 fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<T, RecvError>> { in poll() argument
/external/rust/crates/oneshot-uniffi/src/
Derrors.rs88 pub struct RecvError; struct
90 impl fmt::Display for RecvError { implementation
97 impl std::error::Error for RecvError {} implementation
Dlib.rs451 pub fn recv(self) -> Result<T, RecvError> { in recv() argument
597 pub fn recv_ref(&self) -> Result<T, RecvError> { in recv_ref() argument
1140 unsafe fn write_async_waker(&self, cx: &mut task::Context<'_>) -> Poll<Result<T, RecvError>> { in write_async_waker() argument
/external/rust/crates/crossbeam-channel/src/
Derr.rs54 pub struct RecvError; struct
282 impl fmt::Display for RecvError { implementation
288 impl error::Error for RecvError {} implementation
Dselect.rs1241 pub fn recv<T>(mut self, r: &Receiver<T>) -> Result<T, RecvError> { in recv() argument
Dchannel.rs812 pub fn recv(&self) -> Result<T, RecvError> { in recv() argument
/external/rust/crates/tokio-stream/src/wrappers/
Dwatch.rs80 ) -> (Result<(), RecvError>, Receiver<T>) { in make_future() argument
Dbroadcast.rs40 async fn make_future<T: Clone>(mut rx: Receiver<T>) -> (Result<T, RecvError>, Receiver<T>) { in make_future() argument
/external/rust/crates/crossbeam-channel/tests/
Dmpsc.rs87 pub fn recv(&self) -> Result<T, RecvError> { in recv() argument