scufflecloud_video_api/services.rs
1use std::sync::Arc;
2
3#[derive(Debug)]
4pub struct VideoApiSvc<G> {
5 _phantom: std::marker::PhantomData<G>,
6}
7
8impl<G> Default for VideoApiSvc<G> {
9 fn default() -> Self {
10 Self {
11 _phantom: std::marker::PhantomData,
12 }
13 }
14}
15
16impl<G: video_api_traits::Global> scuffle_bootstrap::Service<G> for VideoApiSvc<G> {
17 async fn run(self, _global: Arc<G>, _ctx: scuffle_context::Context) -> anyhow::Result<()> {
18 Ok(())
19 }
20}