Enum library_of_babel::LibError [−][src]
#[non_exhaustive]
pub enum LibError {
TitleLength,
PageLength,
BrokenAddress,
SearchString,
}
Expand description
Enum of errors that this crate can return
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
TitleLength
The length of a title is not correct
PageLength
The length of a page is not correct
BrokenAddress
The Address
is outside of allowed constraints
SearchString
Trait Implementations
Performs the conversion.