pub enum StringError {
TooShort,
InvalidOpeningCharacter,
InvalidClosingCharacter,
InvalidEncoding,
InvalidDelimiterIdentifier,
}Expand description
String errors.
Variants§
TooShort
The datum starts as a string but is too short to be a string.
InvalidOpeningCharacter
The string open character is not correct.
InvalidClosingCharacter
The string close character is not correct.
InvalidEncoding
The string is not correctly encoded (expect UTF-8).
InvalidDelimiterIdentifier
The string delimiter identifier is syntactically invalid.
Auto Trait Implementations§
impl Freeze for StringError
impl RefUnwindSafe for StringError
impl Send for StringError
impl Sync for StringError
impl Unpin for StringError
impl UnwindSafe for StringError
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