Searched defs:RecvError (Results 1 – 10 of 10) sorted by relevance
/external/rust/crates/tokio/src/sync/mpsc/ |
D | error.rs | 58 pub struct RecvError(()); struct 60 impl fmt::Display for RecvError { implementation 66 impl Error for RecvError {} implementation
|
/external/rust/crates/tokio/src/sync/ |
D | watch.rs | 142 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()
|
D | broadcast.rs | 234 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
|
D | oneshot.rs | 135 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/ |
D | broadcast.rs | 30 async fn make_future<T: Clone>(mut rx: Receiver<T>) -> (Result<T, RecvError>, Receiver<T>) { in make_future() argument
|
D | watch.rs | 57 ) -> (Result<(), RecvError>, Receiver<T>) { in make_future() argument
|
/external/rust/crates/crossbeam-channel/src/ |
D | err.rs | 54 pub struct RecvError; struct 282 impl fmt::Display for RecvError { implementation 288 impl error::Error for RecvError {} implementation
|
D | select.rs | 1230 pub fn recv<T>(mut self, r: &Receiver<T>) -> Result<T, RecvError> { in recv() argument
|
D | channel.rs | 800 pub fn recv(&self) -> Result<T, RecvError> { in recv() argument
|
/external/rust/crates/crossbeam-channel/tests/ |
D | mpsc.rs | 85 pub fn recv(&self) -> Result<T, RecvError> { in recv() argument
|