Open TycheGames opened 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)>>
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, _, _>
Injectable<Input, Output, FnArgs>
the trait bound 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)>>
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 traitInjectable<Input, Output, FnArgs>
: <Asyncify