This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error[E0599]: no method named `and_then` found for type `futures::future::either::Either<std::result::Result<(redis::async::SharedConnection, account::Account), _>, futures::future::and_then::AndThen<futures::future::and_then::AndThen<impl futures::future::Future, std::result::Result<account::Account, ()>, [closure@crates/interledger-store-redis/src/store.rs:320:31: 323:22 account:_]>, futures::future::and_then::AndThen<futures::future::map_err::MapErr<std::boxed::Box<dyn futures::future::Future<Item = (redis::async::SharedConnection, std::vec::Vec<bool>), Error = redis::types::RedisError> + std::marker::Send>, [closure@crates/interledger-store-redis/src/store.rs:341:38: 346:30]>, std::result::Result<(redis::async::SharedConnection, account::Account), ()>, [closure@crates/interledger-store-redis/src/store.rs:348:33: 355:34 keys:_, account:_]>, [closure@crates/interledger-store-redis/src/store.rs:325:31: 357:22 btp_incoming_token_hmac:_, http_incoming_token_hmac:_, connection:_]>>` in the current scope | |
--> crates/interledger-store-redis/src/store.rs:360:18 | |
| | |
360 | .and_then(move |(connection, account)| { | |
| ^^^^^^^^ | |
| | |
= note: the method `and_then` exists but the following trait bounds were not satisfied: | |
`&mut futures::future::either::Either<std::result::Result<(redis::async::SharedConnection, account::Account), _>, futures::future::and_then::AndThen<futures::future::and_then::AndThen<impl futures::future::Future, std::result::Result<account::Account, ()>, [closure@crates/interledger-store-redis/src/store.rs:320:31: 323:22 account:_]>, futures::future::and_then::AndThen<futures::future::map_err::MapErr<std::boxed::Box<dyn futures::future::Future<Item = (redis::async::SharedConnection, std::vec::Vec<bool>), Error = redis::types::RedisError> + std::marker::Send>, [closure@crates/interledger-store-redis/src/store.rs:341:38: 346:30]>, std::result::Result<(redis::async::SharedConnection, account::Account), ()>, [closure@crates/interledger-store-redis/src/store.rs:348:33: 355:34 keys:_, account:_]>, [closure@crates/interledger-store-redis/src/store.rs:325:31: 357:22 btp_incoming_token_hmac:_, http_incoming_token_hmac:_, connection:_]>> : futures::future::Future` | |
`&mut futures::future::either::Either<std::result::Result<(redis::async::SharedConnection, account::Account), _>, futures::future::and_then::AndThen<futures::future::and_then::AndThen<impl futures::future::Future, std::result::Result<account::Account, ()>, [closure@crates/interledger-store-redis/src/store.rs:320:31: 323:22 account:_]>, futures::future::and_then::AndThen<futures::future::map_err::MapErr<std::boxed::Box<dyn futures::future::Future<Item = (redis::async::SharedConnection, std::vec::Vec<bool>), Error = redis::types::RedisError> + std::marker::Send>, [closure@crates/interledger-store-redis/src/store.rs:341:38: 346:30]>, std::result::Result<(redis::async::SharedConnection, account::Account), ()>, [closure@crates/interledger-store-redis/src/store.rs:348:33: 355:34 keys:_, account:_]>, [closure@crates/interledger-store-redis/src/store.rs:325:31: 357:22 btp_incoming_token_hmac:_, http_incoming_token_hmac:_, connection:_]>> : futures::stream::Stream` | |
`futures::future::either::Either<std::result::Result<(redis::async::SharedConnection, account::Account), _>, futures::future::and_then::AndThen<futures::future::and_then::AndThen<impl futures::future::Future, std::result::Result<account::Account, ()>, [closure@crates/interledger-store-redis/src/store.rs:320:31: 323:22 account:_]>, futures::future::and_then::AndThen<futures::future::map_err::MapErr<std::boxed::Box<dyn futures::future::Future<Item = (redis::async::SharedConnection, std::vec::Vec<bool>), Error = redis::types::RedisError> + std::marker::Send>, [closure@crates/interledger-store-redis/src/store.rs:341:38: 346:30]>, std::result::Result<(redis::async::SharedConnection, account::Account), ()>, [closure@crates/interledger-store-redis/src/store.rs:348:33: 355:34 keys:_, account:_]>, [closure@crates/interledger-store-redis/src/store.rs:325:31: 357:22 btp_incoming_token_hmac:_, http_incoming_token_hmac:_, connection:_]>> : futures::future::Future` | |
`futures::future::either::Either<std::result::Result<(redis::async::SharedConnection, account::Account), _>, futures::future::and_then::AndThen<futures::future::and_then::AndThen<impl futures::future::Future, std::result::Result<account::Account, ()>, [closure@crates/interledger-store-redis/src/store.rs:320:31: 323:22 account:_]>, futures::future::and_then::AndThen<futures::future::map_err::MapErr<std::boxed::Box<dyn futures::future::Future<Item = (redis::async::SharedConnection, std::vec::Vec<bool>), Error = redis::types::RedisError> + std::marker::Send>, [closure@crates/interledger-store-redis/src/store.rs:341:38: 346:30]>, std::result::Result<(redis::async::SharedConnection, account::Account), ()>, [closure@crates/interledger-store-redis/src/store.rs:348:33: 355:34 keys:_, account:_]>, [closure@crates/interledger-store-redis/src/store.rs:325:31: 357:22 btp_incoming_token_hmac:_, http_incoming_token_hmac:_, connection:_]>> : futures::stream::Stream` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment