pub enum TextToCodeError {
UselessEscape(char),
UnfinishedEscape,
UnclosedPlaceholder,
EmptyPlaceholder,
PlaceholderTooMuchPart(Vec<String>),
UnknownPlaceholder(String),
InvalidValue(ParseIntError, String, String),
CantEncodedParameterEmbeddedData(u32, String),
}Variants§
UselessEscape(char)
UnfinishedEscape
UnclosedPlaceholder
EmptyPlaceholder
PlaceholderTooMuchPart(Vec<String>)
UnknownPlaceholder(String)
InvalidValue(ParseIntError, String, String)
CantEncodedParameterEmbeddedData(u32, String)
Trait Implementations§
Source§impl Debug for TextToCodeError
impl Debug for TextToCodeError
Source§impl Display for TextToCodeError
impl Display for TextToCodeError
Source§impl Error for TextToCodeError
impl Error for TextToCodeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for TextToCodeError
impl RefUnwindSafe for TextToCodeError
impl Send for TextToCodeError
impl Sync for TextToCodeError
impl Unpin for TextToCodeError
impl UnwindSafe for TextToCodeError
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