Home
last modified time | relevance | path

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

/external/rust/android-crates-io/crates/tokio/src/sync/mpsc/
Derror.rs109 pub struct RecvError(()); struct
112 impl fmt::Display for RecvError { implementation
119 impl Error for RecvError {} implementation
/external/rust/android-crates-io/crates/tokio/src/sync/
Dwatch.rs308 pub struct RecvError(pub(super) ()); struct
312 impl fmt::Display for RecvError { implementation
318 impl Error for RecvError {} implementation
669 pub fn has_changed(&self) -> Result<bool, error::RecvError> { in has_changed()
746 pub async fn changed(&mut self) -> Result<(), error::RecvError> { in changed()
813 ) -> Result<Ref<'_, T>, error::RecvError> { in wait_for()
820 ) -> Result<Ref<'_, T>, error::RecvError> { in wait_for_inner()
885 ) -> Option<Result<(), error::RecvError>> { in maybe_changed()
907 ) -> 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
1067 pub fn blocking_recv(self) -> Result<T, RecvError> { in blocking_recv() argument
1142 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
1265 pub async fn recv(&mut self) -> Result<T, RecvError> { in recv() argument
1338 pub fn blocking_recv(&mut self) -> Result<T, RecvError> { in blocking_recv() argument
1398 fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<T, RecvError>> { in poll() argument
/external/rust/android-crates-io/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.rs1278 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/android-crates-io/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/v4l2r/lib/src/decoder/
Dstateful.rs318 RecvError(#[from] mpsc::RecvError), enumerator
330 RecvError(#[from] mpsc::RecvError), enumerator
/external/rust/android-crates-io/crates/crossbeam-channel/tests/
Dmpsc.rs87 pub fn recv(&self) -> Result<T, RecvError> { in recv() argument