pub enum FlakeRefError {
MissingAttribute(String),
InvalidPath(String),
}Expand description
Errors from parsing a flake reference.
Variants§
MissingAttribute(String)
The input string did not contain a # separator.
InvalidPath(String)
The path component could not be resolved.
Trait Implementations§
Source§impl Debug for FlakeRefError
impl Debug for FlakeRefError
Source§impl Display for FlakeRefError
impl Display for FlakeRefError
Source§impl Error for FlakeRefError
impl Error for FlakeRefError
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 FlakeRefError
impl RefUnwindSafe for FlakeRefError
impl Send for FlakeRefError
impl Sync for FlakeRefError
impl Unpin for FlakeRefError
impl UnsafeUnpin for FlakeRefError
impl UnwindSafe for FlakeRefError
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