binance-spot-connector-rust
binance-spot-connector-rust copied to clipboard
Can not work with teloxide
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<Func> as Injectable<Input, Output, ()>>
<Asyncify<Func> as Injectable<Input, Output, (A,)>>
<Asyncify<Func> as Injectable<Input, Output, (A, B)>>
<Asyncify<Func> as Injectable<Input, Output, (A, B, C)>>
<Asyncify<Func> as Injectable<Input, Output, (A, B, C, D)>>
<Asyncify<Func> as Injectable<Input, Output, (A, B, C, D, E)>>
<Asyncify<Func> as Injectable<Input, Output, (A, B, C, D, E, F)>>
<Asyncify<Func> as Injectable<Input, Output, (A, B, C, D, E, F, G)>>