pub enum Code {
Show 47 variants
InvalidUtf8 = 101,
TabCharacter = 102,
BomNotAtStart = 103,
UnexpectedChar = 104,
EmphasisSameMarker = 204,
EmphasisCrossLine = 205,
DoubledEmphasis = 206,
UnterminatedEmph = 207,
UnterminatedCode = 208,
HeadingTooDeep = 301,
HeadingNoSpace = 302,
BadIndent = 303,
BadHorizontalRule = 304,
UnterminatedFence = 305,
UnterminatedBlock = 306,
InlineBlockComment = 307,
BadListMarker = 308,
EmptyDocument = 309,
BadBlockquote = 310,
StrayEnd = 311,
StrayContent = 312,
UnterminatedFrontmatter = 313,
FrontmatterToml = 314,
UnknownCodeAttribute = 315,
ConflictingCodeAttributes = 316,
BadHeadingAnchor = 317,
CodeBlockLineCount = 702,
LineCommentConverted = 703,
RefusedLanguage = 704,
UnknownShortcode = 401,
ArgTypeMismatch = 402,
MissingArg = 403,
BadEnumValue = 404,
FormMismatch = 405,
BadArgSyntax = 406,
DuplicateKwarg = 407,
DeprecatedCalloutKind = 408,
OrderedListSequence = 501,
TableColumnMismatch = 502,
HeadingMonotonic = 503,
AlignArrayLength = 504,
BadDefinitionList = 505,
DuplicateHeadingAnchor = 506,
RefMissingFile = 601,
RefMissingAnchor = 602,
RefBadTarget = 603,
RefNoProject = 604,
}Variants§
InvalidUtf8 = 101
TabCharacter = 102
BomNotAtStart = 103
UnexpectedChar = 104
EmphasisSameMarker = 204
EmphasisCrossLine = 205
DoubledEmphasis = 206
UnterminatedEmph = 207
UnterminatedCode = 208
HeadingTooDeep = 301
HeadingNoSpace = 302
BadIndent = 303
BadHorizontalRule = 304
UnterminatedFence = 305
UnterminatedBlock = 306
InlineBlockComment = 307
BadListMarker = 308
EmptyDocument = 309
BadBlockquote = 310
StrayEnd = 311
StrayContent = 312
UnterminatedFrontmatter = 313
FrontmatterToml = 314
UnknownCodeAttribute = 315
ConflictingCodeAttributes = 316
BadHeadingAnchor = 317
CodeBlockLineCount = 702
LineCommentConverted = 703
RefusedLanguage = 704
UnknownShortcode = 401
ArgTypeMismatch = 402
MissingArg = 403
BadEnumValue = 404
FormMismatch = 405
BadArgSyntax = 406
DuplicateKwarg = 407
DeprecatedCalloutKind = 408
OrderedListSequence = 501
TableColumnMismatch = 502
HeadingMonotonic = 503
AlignArrayLength = 504
BadDefinitionList = 505
DuplicateHeadingAnchor = 506
RefMissingFile = 601
RefMissingAnchor = 602
RefBadTarget = 603
RefNoProject = 604
Implementations§
Trait Implementations§
impl Copy for Code
impl Eq for Code
impl StructuralPartialEq for Code
Auto Trait Implementations§
impl Freeze for Code
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnsafeUnpin for Code
impl UnwindSafe for Code
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.