Home
last modified time | relevance | path

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

/external/rust/crates/tokio/src/sync/mpsc/
Derror.rs58 pub struct RecvError(()); struct
60 impl fmt::Display for RecvError { implementation
66 impl Error for RecvError {} implementation
/external/rust/crates/tokio/src/sync/
Dwatch.rs142 pub struct RecvError(pub(super) ()); struct
146 impl fmt::Display for RecvError { implementation
152 impl std::error::Error for RecvError {} implementation
258 pub async fn changed(&mut self) -> Result<(), error::RecvError> { in changed()
284 ) -> Option<Result<(), error::RecvError>> { in maybe_changed()
Dbroadcast.rs234 pub enum RecvError { enum
246 impl fmt::Display for RecvError { implementation
255 impl std::error::Error for RecvError {} implementation
877 pub async fn recv(&mut self) -> Result<T, RecvError> { in recv() argument
983 fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<T, RecvError>> { in poll() argument
Doneshot.rs135 pub struct RecvError(pub(super) ()); struct
149 impl fmt::Display for RecvError { implementation
155 impl std::error::Error for RecvError {} implementation
725 fn poll_recv(&self, cx: &mut Context<'_>) -> Poll<Result<T, RecvError>> { in poll_recv() argument
/external/rust/crates/tokio-stream/src/wrappers/
Dbroadcast.rs30 async fn make_future<T: Clone>(mut rx: Receiver<T>) -> (Result<T, RecvError>, Receiver<T>) { in make_future() argument
Dwatch.rs57 ) -> (Result<(), RecvError>, Receiver<T>) { in make_future() 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.rs1230 pub fn recv<T>(mut self, r: &Receiver<T>) -> Result<T, RecvError> { in recv() argument
Dchannel.rs800 pub fn recv(&self) -> Result<T, RecvError> { in recv() argument
/external/rust/crates/crossbeam-channel/tests/
Dmpsc.rs85 pub fn recv(&self) -> Result<T, RecvError> { in recv() argument