pub enum ExpandableStrSplitError {
InvalidFormat,
InvalidVariableName,
}Variants§
InvalidFormat
Invalid input string (basically, non-closed variable name)
InvalidVariableName
Bad variable name; names should not contain space or equality sign
Trait Implementations§
Source§impl Debug for ExpandableStrSplitError
impl Debug for ExpandableStrSplitError
Source§impl Display for ExpandableStrSplitError
impl Display for ExpandableStrSplitError
Source§impl Error for ExpandableStrSplitError
impl Error for ExpandableStrSplitError
1.30.0 · 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()
Source§impl<'a> From<ExpandableStrSplitError> for ExpandStringError<'a>
impl<'a> From<ExpandableStrSplitError> for ExpandStringError<'a>
Source§fn from(e: ExpandableStrSplitError) -> Self
fn from(e: ExpandableStrSplitError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExpandableStrSplitError
impl PartialEq for ExpandableStrSplitError
impl Eq for ExpandableStrSplitError
impl StructuralPartialEq for ExpandableStrSplitError
Auto Trait Implementations§
impl Freeze for ExpandableStrSplitError
impl RefUnwindSafe for ExpandableStrSplitError
impl Send for ExpandableStrSplitError
impl Sync for ExpandableStrSplitError
impl Unpin for ExpandableStrSplitError
impl UnwindSafe for ExpandableStrSplitError
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