pub enum ExpandStringError<'a> {
Splitting(ExpandableStrSplitError),
MissingVariable(&'a str),
Formatting(Error),
}Variants§
Splitting(ExpandableStrSplitError)
MissingVariable(&'a str)
Variable specified in source string is missing in provided context (or process environment)
Formatting(Error)
Trait Implementations§
Source§impl<'a> Debug for ExpandStringError<'a>
impl<'a> Debug for ExpandStringError<'a>
Source§impl Display for ExpandStringError<'_>
impl Display for ExpandStringError<'_>
Source§impl Error for ExpandStringError<'_>
impl Error for ExpandStringError<'_>
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<Error> for ExpandStringError<'a>
impl<'a> From<Error> for ExpandStringError<'a>
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<'a> PartialEq for ExpandStringError<'a>
impl<'a> PartialEq for ExpandStringError<'a>
impl<'a> Eq for ExpandStringError<'a>
impl<'a> StructuralPartialEq for ExpandStringError<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExpandStringError<'a>
impl<'a> RefUnwindSafe for ExpandStringError<'a>
impl<'a> Send for ExpandStringError<'a>
impl<'a> Sync for ExpandStringError<'a>
impl<'a> Unpin for ExpandStringError<'a>
impl<'a> UnwindSafe for ExpandStringError<'a>
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