use std::sync::Arc;
use crate::config::ProxyConfig;
use crate::error::Error;
use crate::watch::{BackendHealth, Shared, WatchOptions};
pub(crate) fn read_config(_options: &WatchOptions) -> Result<ProxyConfig, Error> {
Err(Error::Unsupported)
}
#[derive(Debug)]
pub(crate) struct Watch {
_not_sync: std::marker::PhantomData<std::cell::Cell<()>>,
}
impl Watch {
pub(crate) fn armed(_options: &WatchOptions) -> Result<Self, Error> {
Err(Error::Unsupported)
}
pub(crate) fn spawn(
&mut self,
_options: &WatchOptions,
_shared: Arc<Shared>,
) -> Result<(), Error> {
Err(Error::Unsupported)
}
pub(crate) fn health(&self) -> BackendHealth {
BackendHealth {
degraded: Vec::new(),
has_live_notifications: false,
}
}
pub(crate) fn poll_now(&self) {}
}