pub enum Why {
Show 14 variants
UnexpectedEnd,
InvalidCharacter,
MismatchedEndTag,
DuplicateAttribute,
UndeclaredElementPrefix,
UndeclaredAttributePrefix,
UndeclaredEntity,
BadReference,
ContentAfterRoot,
SecondRoot,
NoRoot,
BadDeclaration,
BadComment,
LessThanInAttribute,
}Variants§
UnexpectedEnd
InvalidCharacter
MismatchedEndTag
DuplicateAttribute
UndeclaredElementPrefix
UndeclaredAttributePrefix
UndeclaredEntity
BadReference
ContentAfterRoot
SecondRoot
NoRoot
BadDeclaration
BadComment
LessThanInAttribute
Implementations§
Source§impl Why
impl Why
Sourcepub fn code(self) -> i32
pub fn code(self) -> i32
XML-CODE: z/OS XML System Services’ return code 12 (not well formed) and its reason code, or return code 4 and Enterprise COBOL’s own reason for an undeclared prefix (Programming Guide SC27-8714-03, pp. 645, 809; z/OS XML System Services User’s Guide SA38-0681-50, Appendix B; assumption C118).
Trait Implementations§
impl Copy for Why
impl Eq for Why
impl StructuralPartialEq for Why
Auto Trait Implementations§
impl Freeze for Why
impl RefUnwindSafe for Why
impl Send for Why
impl Sync for Why
impl Unpin for Why
impl UnsafeUnpin for Why
impl UnwindSafe for Why
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