pub enum ManifestError {
Read {
path: PathBuf,
source: Error,
},
Yaml(Error),
EmptyName,
NoFolders,
EmptyRuntimeImage,
RuntimeSpec(RuntimeSpecError),
FolderMissing {
path: PathBuf,
},
FolderNotDirectory {
path: PathBuf,
},
}Expand description
Errors returned while loading or validating workspace manifests.
Variants§
Read
The manifest file could not be read.
Yaml(Error)
The manifest YAML could not be parsed.
EmptyName
The workspace name was empty or only whitespace.
NoFolders
The workspace did not include any folders.
EmptyRuntimeImage
The workspace runtime image was empty or only whitespace.
RuntimeSpec(RuntimeSpecError)
The workspace runtime language selection was invalid.
FolderMissing
A workspace folder path does not exist.
FolderNotDirectory
A workspace folder path exists but is not a directory.
Trait Implementations§
Source§impl Debug for ManifestError
impl Debug for ManifestError
Source§impl Display for ManifestError
impl Display for ManifestError
Source§impl Error for ManifestError
impl Error for ManifestError
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 From<Error> for ManifestError
impl From<Error> for ManifestError
Source§impl From<RuntimeSpecError> for ManifestError
impl From<RuntimeSpecError> for ManifestError
Source§fn from(source: RuntimeSpecError) -> Self
fn from(source: RuntimeSpecError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ManifestError
impl !UnwindSafe for ManifestError
impl Freeze for ManifestError
impl Send for ManifestError
impl Sync for ManifestError
impl Unpin for ManifestError
impl UnsafeUnpin for ManifestError
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