pub struct NoEventHandler;Expand description
EventHandler instance to ignore all events.
Trait Implementations§
Source§impl EventHandler for NoEventHandler
impl EventHandler for NoEventHandler
Source§fn registry_request(&self, url: &str)
fn registry_request(&self, url: &str)
HTTP request to the registry.
Source§fn registry_auth(&self, url: &str)
fn registry_auth(&self, url: &str)
Registry requires an authentication token.
Source§fn download_start(&self, layers: usize, bytes: usize)
fn download_start(&self, layers: usize, bytes: usize)
Start to download the blobs of the image. Read more
Source§fn download_progress_bytes(&self, bytes: usize)
fn download_progress_bytes(&self, bytes: usize)
Some data (in
bytes) has been received. Read moreSource§fn layer_start(&self, archive_length: u64)
fn layer_start(&self, archive_length: u64)
Start to unpack a downloaded layer. Read more
Source§fn layer_progress(&self, archive_position: usize)
fn layer_progress(&self, archive_position: usize)
A file was extracted from the archive and was written to the disk. Read more
Source§fn layer_entry_skipped(&self, path: &Path, cause: &dyn Display)
fn layer_entry_skipped(&self, path: &Path, cause: &dyn Display)
An entry in the archive’s layer is skipped. Read more
fn sandbox_status(&self, status: RestrictionStatus)
Auto Trait Implementations§
impl Freeze for NoEventHandler
impl RefUnwindSafe for NoEventHandler
impl Send for NoEventHandler
impl Sync for NoEventHandler
impl Unpin for NoEventHandler
impl UnwindSafe for NoEventHandler
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