binance / binance-spot-connector-rust

MIT License
109 stars 39 forks source link

Can not work with teloxide #17

Open TycheGames opened 1 month ago

TycheGames commented 1 month ago

the trait bound fn(teloxide::Bot, teloxide::prelude::Message, Me) -> impl Future<Output = std::result::Result<(), Box<(dyn std::error::Error + std::marker::Send + Sync + 'static)>>> {message_handler}: Injectable<DependencyMap, _, _> is not satisfied the following other types implement trait Injectable<Input, Output, FnArgs>: <Asyncify as Injectable<Input, Output, ()>> <Asyncify as Injectable<Input, Output, (A,)>> <Asyncify as Injectable<Input, Output, (A, B)>> <Asyncify as Injectable<Input, Output, (A, B, C)>> <Asyncify as Injectable<Input, Output, (A, B, C, D)>> <Asyncify as Injectable<Input, Output, (A, B, C, D, E)>> <Asyncify as Injectable<Input, Output, (A, B, C, D, E, F)>> <Asyncify as Injectable<Input, Output, (A, B, C, D, E, F, G)>>