Skip to main content

ScmpErrorReceiver

Trait ScmpErrorReceiver 

Source
pub trait ScmpErrorReceiver: Send + Sync {
    // Required method
    fn report_scmp_error(&self, scmp_error: ScmpErrorMessage, path: &Path);
}
Expand description

Trait for reporting path issues.

Required Methods§

Source

fn report_scmp_error(&self, scmp_error: ScmpErrorMessage, path: &Path)

Reports a SCMP error. This function must return immediately and not block.

§Arguments
  • scmp_error - The SCMP error to report.
  • path - The path that the SCMP error was received on (not reversed).

Implementors§