Enum crev_data::proof::content::ValidationError
source · pub enum ValidationError {
InvalidKind(Box<(String, String)>),
AlternativeSourceCanNotBeEmpty,
AlternativeNameCanNotBeEmpty,
IssuesWithAnEmptyIDFieldAreNotAllowed,
AdvisoriesWithNoIDSAreNotAllowed,
AdvisoriesWithAnEmptyIDFieldAreNotAllowed,
}Variants§
InvalidKind(Box<(String, String)>)
AlternativeSourceCanNotBeEmpty
AlternativeNameCanNotBeEmpty
IssuesWithAnEmptyIDFieldAreNotAllowed
AdvisoriesWithNoIDSAreNotAllowed
AdvisoriesWithAnEmptyIDFieldAreNotAllowed
Trait Implementations§
source§impl Debug for ValidationError
impl Debug for ValidationError
source§impl Display for ValidationError
impl Display for ValidationError
source§impl Error for ValidationError
impl Error for ValidationError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ValidationError> for Error
impl From<ValidationError> for Error
source§fn from(source: ValidationError) -> Self
fn from(source: ValidationError) -> Self
Converts to this type from the input type.