uv-distribution-types 0.0.6

This is an internal component crate of uv
Documentation
1
2
3
4
5
6
7
8
9
use uv_normalize::PackageName;

pub trait Diagnostic {
    /// Convert the diagnostic into a user-facing message.
    fn message(&self) -> String;

    /// Returns `true` if the [`PackageName`] is involved in this diagnostic.
    fn includes(&self, name: &PackageName) -> bool;
}