pub struct NotResolvedError {
pub path: String,
}Expand description
Error returned when a getter is called on a Config path
whose value (or any transitive parent) contains an unresolved substitution
placeholder.
Detect via downcast_ref::<NotResolvedError>() or by matching
HoconError::NotResolved(e). Per E12 decision 12.
Fields§
§path: StringThe dot-separated path that was accessed.
Trait Implementations§
Source§impl Clone for NotResolvedError
impl Clone for NotResolvedError
Source§fn clone(&self) -> NotResolvedError
fn clone(&self) -> NotResolvedError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NotResolvedError
impl Debug for NotResolvedError
Source§impl Display for NotResolvedError
impl Display for NotResolvedError
Source§impl Error for NotResolvedError
impl Error for NotResolvedError
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()
Auto Trait Implementations§
impl Freeze for NotResolvedError
impl RefUnwindSafe for NotResolvedError
impl Send for NotResolvedError
impl Sync for NotResolvedError
impl Unpin for NotResolvedError
impl UnsafeUnpin for NotResolvedError
impl UnwindSafe for NotResolvedError
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