Enum parse_size::Error [−][src]
#[non_exhaustive] pub enum Error { Empty, InvalidDigit, PosOverflow, }
The error returned when parse failed.
Variants (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.
The input contains no numbers.
An invalid character is encountered while parsing.
The resulting number is too large to fit into a u64
.
Trait Implementations
impl Clone for Error
[src]
impl Clone for Error
[src]fn clone(&self) -> Error
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl StructuralEq for Error
[src]
impl StructuralEq for Error
[src]impl StructuralPartialEq for Error
[src]
impl StructuralPartialEq for Error
[src]