pub enum EscapeError {
Show 21 variants
ZeroChars,
MoreThanOneChar,
LoneSlash,
InvalidEscape,
BareCarriageReturn,
BareCarriageReturnInRawString,
EscapeOnlyChar,
TooShortHexEscape,
InvalidCharInHexEscape,
OutOfRangeHexEscape,
NoBraceInUnicodeEscape,
InvalidCharInUnicodeEscape,
EmptyUnicodeEscape,
UnclosedUnicodeEscape,
LeadingUnderscoreUnicodeEscape,
OverlongUnicodeEscape,
LoneSurrogateUnicodeEscape,
OutOfRangeUnicodeEscape,
UnicodeEscapeInByte,
NonAsciiCharInByte,
NonAsciiCharInByteString,
}
Variants§
ZeroChars
MoreThanOneChar
LoneSlash
InvalidEscape
BareCarriageReturn
BareCarriageReturnInRawString
EscapeOnlyChar
TooShortHexEscape
InvalidCharInHexEscape
OutOfRangeHexEscape
NoBraceInUnicodeEscape
InvalidCharInUnicodeEscape
EmptyUnicodeEscape
UnclosedUnicodeEscape
LeadingUnderscoreUnicodeEscape
OverlongUnicodeEscape
LoneSurrogateUnicodeEscape
OutOfRangeUnicodeEscape
UnicodeEscapeInByte
NonAsciiCharInByte
NonAsciiCharInByteString
Trait Implementations§
Source§impl Debug for EscapeError
impl Debug for EscapeError
Source§impl PartialEq for EscapeError
impl PartialEq for EscapeError
impl Eq for EscapeError
impl StructuralPartialEq for EscapeError
Auto Trait Implementations§
impl Freeze for EscapeError
impl RefUnwindSafe for EscapeError
impl Send for EscapeError
impl Sync for EscapeError
impl Unpin for EscapeError
impl UnwindSafe for EscapeError
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