pub enum RunfilesError {
RunfilesDirNotFound,
RunfilesDirIoError(Error),
RunfilesManifestIoError(Error),
RunfilesManifestInvalidFormat,
RepoMappingNotFound,
RepoMappingInvalidFormat,
RepoMappingIoError(Error),
RunfileNotFound(PathBuf),
RunfileIoError(Error),
}
Expand description
The error type for Runfiles construction.
Variants§
RunfilesDirNotFound
Directory based runfiles could not be found.
RunfilesDirIoError(Error)
An I/O Error which occurred during the creation of directory-based runfiles.
RunfilesManifestIoError(Error)
An I/O Error which occurred during the creation of manifest-file-based runfiles.
RunfilesManifestInvalidFormat
A manifest file could not be parsed.
RepoMappingNotFound
The bzlmod repo-mapping file could not be found.
RepoMappingInvalidFormat
The bzlmod repo-mapping file could not be parsed.
RepoMappingIoError(Error)
An I/O Error which occurred during the parsing of a repo-mapping file.
RunfileNotFound(PathBuf)
An error indicating a specific Runfile was not found.
RunfileIoError(Error)
An I/O Error which occurred when operating with a particular runfile.
Trait Implementations§
Source§impl Debug for RunfilesError
impl Debug for RunfilesError
Source§impl Display for RunfilesError
impl Display for RunfilesError
Source§impl Error for RunfilesError
impl Error for RunfilesError
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 PartialEq for RunfilesError
impl PartialEq for RunfilesError
Auto Trait Implementations§
impl Freeze for RunfilesError
impl !RefUnwindSafe for RunfilesError
impl Send for RunfilesError
impl Sync for RunfilesError
impl Unpin for RunfilesError
impl !UnwindSafe for RunfilesError
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