pub enum WhitespaceErrorCategory {
TabIndentation,
LineTooLong,
MixedLineEndings,
InvalidIndentation,
}Expand description
Categories of whitespace errors
Variants§
TabIndentation
Tab character used for indentation (forbidden in YAML)
LineTooLong
Line too long according to configured limit
MixedLineEndings
Mixed line ending styles
InvalidIndentation
Invalid scalar indentation
Trait Implementations§
Source§impl Clone for WhitespaceErrorCategory
impl Clone for WhitespaceErrorCategory
Source§fn clone(&self) -> WhitespaceErrorCategory
fn clone(&self) -> WhitespaceErrorCategory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WhitespaceErrorCategory
impl Debug for WhitespaceErrorCategory
impl Eq for WhitespaceErrorCategory
Source§impl PartialEq for WhitespaceErrorCategory
impl PartialEq for WhitespaceErrorCategory
Source§fn eq(&self, other: &WhitespaceErrorCategory) -> bool
fn eq(&self, other: &WhitespaceErrorCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WhitespaceErrorCategory
Auto Trait Implementations§
impl Freeze for WhitespaceErrorCategory
impl RefUnwindSafe for WhitespaceErrorCategory
impl Send for WhitespaceErrorCategory
impl Sync for WhitespaceErrorCategory
impl Unpin for WhitespaceErrorCategory
impl UnsafeUnpin for WhitespaceErrorCategory
impl UnwindSafe for WhitespaceErrorCategory
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