use std::{fmt::Display, path::Path};
#[expect(unused_variables)]
pub trait EventHandler: Sync + 'static {
fn registry_request(&self, url: &str) {}
fn registry_auth(&self, url: &str) {}
fn download_start(&self, layers: usize, bytes: usize) {}
fn download_progress_bytes(&self, bytes: usize) {}
fn layer_start(&self, archive_length: u64) {}
fn layer_progress(&self, archive_position: usize) {}
fn layer_entry_skipped(&self, path: &Path, cause: &dyn Display) {}
fn finished(&self) {}
#[cfg(feature = "sandbox")]
fn sandbox_status(&self, status: landlock::RestrictionStatus) {}
}
pub struct NoEventHandler;
impl EventHandler for NoEventHandler {}