Home
last modified time | relevance | path

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

/external/rust/crates/tokio/src/sync/mpsc/
Derror.rs84 pub struct RecvError(()); struct
87 impl fmt::Display for RecvError { implementation
94 impl Error for RecvError {} implementation
/external/rust/crates/tokio/src/sync/
Dwatch.rs141 pub struct RecvError(pub(super) ()); struct
145 impl fmt::Display for RecvError { implementation
151 impl std::error::Error for RecvError {} implementation
360 pub async fn changed(&mut self) -> Result<(), error::RecvError> { in changed()
386 ) -> 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
884 pub async fn recv(&mut self) -> Result<T, RecvError> { in recv() argument
990 fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<T, RecvError>> { in poll() argument
Doneshot.rs314 pub struct RecvError(pub(super) ()); struct
328 impl fmt::Display for RecvError { implementation
334 impl std::error::Error for RecvError {} implementation
932 fn poll_recv(&self, cx: &mut Context<'_>) -> Poll<Result<T, RecvError>> { in poll_recv() 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.rs1232 pub fn recv<T>(mut self, r: &Receiver<T>) -> Result<T, RecvError> { in recv() argument
Dchannel.rs798 pub fn recv(&self) -> Result<T, RecvError> { in recv() argument
/external/uwb/src/rust/
Derror.rs44 RecvError(#[from] oneshot::error::RecvError), enumerator
/external/rust/crates/tokio-stream/src/wrappers/
Dwatch.rs57 ) -> (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.rs91 pub fn recv(&self) -> Result<T, RecvError> { in recv() argument