|
|
@ -21,17 +21,6 @@ pub trait AddGeneric<X: ToArtifact> { |
|
|
|
}
|
|
|
|
|
|
|
|
macro_rules! add_generic {
|
|
|
|
// Workaround for https://github.com/tokio-rs/tokio/issues/5502
|
|
|
|
() => (
|
|
|
|
#[async_trait(?Send)]
|
|
|
|
impl<SR, L, B, Rs, As> AddGeneric<()> for Setup<SR, L, B, Rs, As>
|
|
|
|
{
|
|
|
|
async fn add_generic(&self, _: &Rc<Logger>, (): ()) -> Result<((), bool), Box<dyn Error>>
|
|
|
|
{
|
|
|
|
Ok(((), false))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
);
|
|
|
|
( $($name:ident)* ) => (
|
|
|
|
#[async_trait(?Send)]
|
|
|
|
#[allow(non_snake_case)]
|
|
|
|