use super::error::FetchError;
use crate::error::Result;
use super::{FetchResult, SchemaFetcher};
pub struct NoopFetcher;
impl SchemaFetcher for NoopFetcher {
fn fetch(&self, url: &str) -> Result<FetchResult> {
Err(FetchError::NetworkDisabled {
url: url.to_string(),
}
.into())
}
}