pub trait Exception {
// Required methods
fn id(&self) -> &'static str;
fn name(&self) -> &'static str;
fn text(&self) -> &'static str;
fn is_deprecated(&self) -> bool;
fn comments(&self) -> Option<&'static str>;
fn see_also(&self) -> &'static [&'static str];
}Expand description
Base functionality for all license exceptions.
Required Methods§
sourcefn is_deprecated(&self) -> bool
fn is_deprecated(&self) -> bool
Says if the exception is deprecated.