pub struct VideoApiSvc<G> { /* private fields */ }
Trait Implementations§
Source§impl<G: Debug> Debug for VideoApiSvc<G>
impl<G: Debug> Debug for VideoApiSvc<G>
Source§impl<G> Default for VideoApiSvc<G>
impl<G> Default for VideoApiSvc<G>
Source§impl<G: Global> Service<G> for VideoApiSvc<G>
impl<G: Global> Service<G> for VideoApiSvc<G>
Source§async fn run(self, _global: Arc<G>, _ctx: Context) -> Result<()>
async fn run(self, _global: Arc<G>, _ctx: Context) -> Result<()>
Run the service.
This function should return a future that is pending as long as the
service is running. When the service finishes without any errors,
the future should resolve to
Ok(())
. As a best practice, the
service should stop as soon as the provided context is done. Read moreAuto Trait Implementations§
impl<G> Freeze for VideoApiSvc<G>
impl<G> RefUnwindSafe for VideoApiSvc<G>where
G: RefUnwindSafe,
impl<G> Send for VideoApiSvc<G>where
G: Send,
impl<G> Sync for VideoApiSvc<G>where
G: Sync,
impl<G> Unpin for VideoApiSvc<G>where
G: Unpin,
impl<G> UnwindSafe for VideoApiSvc<G>where
G: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more