pub enum WorkspaceError {
Show 29 variants
CrateError(CrateError),
CratePinFailed {
crate_path: PathBuf,
source: Box<CrateError>,
},
TokioJoinError {
join_error: Arc<JoinError>,
},
IoError {
io_error: Arc<Error>,
context: String,
},
InvalidLockfile {
path: PathBuf,
message: String,
},
FileNotFound {
missing_file: PathBuf,
},
InvalidWorkspace {
invalid_workspace_path: PathBuf,
},
CargoDocError(CargoDocError),
CrateWriteError(CrateWriteError),
ReadmeWriteError(ReadmeWriteError),
TokioError(TokioError),
CargoMetadataError(CargoMetadataError),
CircularDependency {
detected_cycles: Vec<Vec<String>>,
},
CoverageParseError,
DirectoryRemovalError,
FileRemovalError,
InvalidCargoToml(CargoTomlError),
CargoTomlWriteError(CargoTomlWriteError),
LintingError(LintingError),
MultipleErrors(Vec<WorkspaceError>),
TestCoverageError(TestCoverageError),
TestFailure(TestFailure),
WatchError(WatchError),
BuildError(BuildError),
FileError(FileError),
DirectoryError(DirectoryError),
WorkspaceNotReadyForCargoPublish,
FileWatchError,
TestTimeout,
}Variants§
CrateError(CrateError)
CratePinFailed
TokioJoinError
IoError
InvalidLockfile
FileNotFound
InvalidWorkspace
CargoDocError(CargoDocError)
CrateWriteError(CrateWriteError)
ReadmeWriteError(ReadmeWriteError)
TokioError(TokioError)
CargoMetadataError(CargoMetadataError)
CircularDependency
CoverageParseError
DirectoryRemovalError
FileRemovalError
InvalidCargoToml(CargoTomlError)
CargoTomlWriteError(CargoTomlWriteError)
LintingError(LintingError)
MultipleErrors(Vec<WorkspaceError>)
TestCoverageError(TestCoverageError)
TestFailure(TestFailure)
WatchError(WatchError)
BuildError(BuildError)
FileError(FileError)
DirectoryError(DirectoryError)
WorkspaceNotReadyForCargoPublish
FileWatchError
TestTimeout
Trait Implementations§
Source§impl Clone for WorkspaceError
impl Clone for WorkspaceError
Source§fn clone(&self) -> WorkspaceError
fn clone(&self) -> WorkspaceError
Returns a copy of the value. Read more
1.0.0 · 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 WorkspaceError
impl Debug for WorkspaceError
Source§impl Display for WorkspaceError
impl Display for WorkspaceError
Source§impl From<BuildError> for WorkspaceError
impl From<BuildError> for WorkspaceError
Source§fn from(x: BuildError) -> Self
fn from(x: BuildError) -> Self
Converts to this type from the input type.
Source§impl From<CargoDocError> for WorkspaceError
impl From<CargoDocError> for WorkspaceError
Source§fn from(x: CargoDocError) -> Self
fn from(x: CargoDocError) -> Self
Converts to this type from the input type.
Source§impl From<CargoMetadataError> for WorkspaceError
impl From<CargoMetadataError> for WorkspaceError
Source§fn from(x: CargoMetadataError) -> Self
fn from(x: CargoMetadataError) -> Self
Converts to this type from the input type.
Source§impl From<CargoTomlError> for WorkspaceError
impl From<CargoTomlError> for WorkspaceError
Source§fn from(x: CargoTomlError) -> Self
fn from(x: CargoTomlError) -> Self
Converts to this type from the input type.
Source§impl From<CargoTomlWriteError> for WorkspaceError
impl From<CargoTomlWriteError> for WorkspaceError
Source§fn from(x: CargoTomlWriteError) -> Self
fn from(x: CargoTomlWriteError) -> Self
Converts to this type from the input type.
Source§impl From<CrateError> for WorkspaceError
impl From<CrateError> for WorkspaceError
Source§fn from(x: CrateError) -> Self
fn from(x: CrateError) -> Self
Converts to this type from the input type.
Source§impl From<CrateWriteError> for WorkspaceError
impl From<CrateWriteError> for WorkspaceError
Source§fn from(x: CrateWriteError) -> Self
fn from(x: CrateWriteError) -> Self
Converts to this type from the input type.
Source§impl From<DirectoryError> for WorkspaceError
impl From<DirectoryError> for WorkspaceError
Source§fn from(x: DirectoryError) -> Self
fn from(x: DirectoryError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for WorkspaceError
impl From<Error> for WorkspaceError
Source§impl From<FileError> for WorkspaceError
impl From<FileError> for WorkspaceError
Source§impl From<JoinError> for WorkspaceError
impl From<JoinError> for WorkspaceError
Source§impl From<LintingError> for WorkspaceError
impl From<LintingError> for WorkspaceError
Source§fn from(x: LintingError) -> Self
fn from(x: LintingError) -> Self
Converts to this type from the input type.
Source§impl From<ReadmeWriteError> for WorkspaceError
impl From<ReadmeWriteError> for WorkspaceError
Source§fn from(x: ReadmeWriteError) -> Self
fn from(x: ReadmeWriteError) -> Self
Converts to this type from the input type.
Source§impl From<RecvError> for WorkspaceError
impl From<RecvError> for WorkspaceError
Source§impl From<TestCoverageError> for WorkspaceError
impl From<TestCoverageError> for WorkspaceError
Source§fn from(x: TestCoverageError) -> Self
fn from(x: TestCoverageError) -> Self
Converts to this type from the input type.
Source§impl From<TestFailure> for WorkspaceError
impl From<TestFailure> for WorkspaceError
Source§fn from(x: TestFailure) -> Self
fn from(x: TestFailure) -> Self
Converts to this type from the input type.
Source§impl From<TokioError> for WorkspaceError
impl From<TokioError> for WorkspaceError
Source§fn from(x: TokioError) -> Self
fn from(x: TokioError) -> Self
Converts to this type from the input type.
Source§impl From<Vec<WorkspaceError>> for WorkspaceError
impl From<Vec<WorkspaceError>> for WorkspaceError
Source§fn from(x: Vec<WorkspaceError>) -> Self
fn from(x: Vec<WorkspaceError>) -> Self
Converts to this type from the input type.
Source§impl From<WatchError> for WorkspaceError
impl From<WatchError> for WorkspaceError
Source§fn from(x: WatchError) -> Self
fn from(x: WatchError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WorkspaceError
impl !RefUnwindSafe for WorkspaceError
impl Send for WorkspaceError
impl Sync for WorkspaceError
impl Unpin for WorkspaceError
impl !UnwindSafe for WorkspaceError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more