Add api backend

This commit is contained in:
danielsanchezq 2023-11-07 18:38:58 +01:00
parent 0f48c86007
commit fbb8e54c0b
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#[derive(Clone)]
pub struct AxumBackendSettings {
pub addr: SocketAddr,
pub handle: OverwatchHandle,
}
pub struct AxumBackend<T, S, const SIZE: usize> {
settings: AxumBackendSettings,
_tx: core::marker::PhantomData<T>,
_storage_serde: core::marker::PhantomData<S>,
}