autocommit 2022-03-29 15:40:59 CEST
This commit is contained in:
parent
6ebf731aea
commit
9842264fad
39 changed files with 121 additions and 92 deletions
|
|
@ -257,7 +257,7 @@ struct AsyncReplyHandler<T: Message<'static>> {
|
|||
}
|
||||
|
||||
impl<T: Message<'static>> AsyncReplyHandler<T> {
|
||||
fn done(self: Box<Self>, res: Result<Reply<T>, XconError>) {
|
||||
fn done(self, res: Result<Reply<T>, XconError>) {
|
||||
if let Some(slot) = self.slot.upgrade() {
|
||||
slot.data.set(Some(res));
|
||||
if let Some(waker) = slot.waker.take() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue