Enum parse_size::ByteSuffix [−][src]
pub enum ByteSuffix {
Deny,
Allow,
Require,
}How to deal with the “B” suffix.
Variants
The “B” suffix must never appear. Parsing a string with the “B” suffix
causes Error::InvalidDigit error.
The “B” suffix is optional.
The “B” suffix is required. Parsing a string without the “B” suffix
causes Error::InvalidDigit error.
Trait Implementations
impl Clone for ByteSuffix[src]
impl Clone for ByteSuffix[src]fn clone(&self) -> ByteSuffix[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for ByteSuffix[src]
impl Copy for ByteSuffix[src]impl Eq for ByteSuffix[src]
impl Eq for ByteSuffix[src]impl PartialEq<ByteSuffix> for ByteSuffix[src]
impl PartialEq<ByteSuffix> for ByteSuffix[src]fn eq(&self, other: &ByteSuffix) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn ne(&self, other: &Rhs) -> boolimpl StructuralEq for ByteSuffix[src]
impl StructuralEq for ByteSuffix[src]impl StructuralPartialEq for ByteSuffix[src]
impl StructuralPartialEq for ByteSuffix[src]