pub enum SMLErrorType {
EndKeywordNotDetected,
InvalidRootElementStart,
NullValueAsElementName,
NullValueAsAttributeName,
RootNotClosed,
OnlyOneRootElementAllowed,
}Variants§
EndKeywordNotDetected
This error can happen for 2 reasons:
- the file was empty or only contained comments
- the file is invalid SML.
InvalidRootElementStart
NullValueAsElementName
NullValueAsAttributeName
RootNotClosed
OnlyOneRootElementAllowed
Trait Implementations§
Source§impl Clone for SMLErrorType
impl Clone for SMLErrorType
Source§fn clone(&self) -> SMLErrorType
fn clone(&self) -> SMLErrorType
Returns a duplicate 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 SMLErrorType
impl Debug for SMLErrorType
Source§impl PartialEq for SMLErrorType
impl PartialEq for SMLErrorType
impl Copy for SMLErrorType
impl Eq for SMLErrorType
impl StructuralPartialEq for SMLErrorType
Auto Trait Implementations§
impl Freeze for SMLErrorType
impl RefUnwindSafe for SMLErrorType
impl Send for SMLErrorType
impl Sync for SMLErrorType
impl Unpin for SMLErrorType
impl UnwindSafe for SMLErrorType
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