pub enum ByteSuffix {
Deny,
Allow,
Require,
}
Expand description
How to deal with the “B” suffix.
Variants§
Deny
The “B” suffix must never appear. Parsing a string with the “B” suffix
causes Error::InvalidDigit
error.
Allow
The “B” suffix is optional.
Require
The “B” suffix is required. Parsing a string without the “B” suffix
causes Error::InvalidDigit
error.
Trait Implementations§
Source§impl Clone for ByteSuffix
impl Clone for ByteSuffix
Source§fn clone(&self) -> ByteSuffix
fn clone(&self) -> ByteSuffix
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ByteSuffix
impl Debug for ByteSuffix
Source§impl PartialEq for ByteSuffix
impl PartialEq for ByteSuffix
impl Copy for ByteSuffix
impl Eq for ByteSuffix
impl StructuralPartialEq for ByteSuffix
Auto Trait Implementations§
impl Freeze for ByteSuffix
impl RefUnwindSafe for ByteSuffix
impl Send for ByteSuffix
impl Sync for ByteSuffix
impl Unpin for ByteSuffix
impl UnwindSafe for ByteSuffix
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more