pub enum WorkspaceError {
Manifest {
path: String,
message: String,
},
PluginFailed {
plugin: String,
message: String,
},
InvalidPackageRoot(InvalidRepoPath),
}Variants§
Trait Implementations§
Source§impl Debug for WorkspaceError
impl Debug for WorkspaceError
Source§impl Display for WorkspaceError
impl Display for WorkspaceError
Source§impl Error for WorkspaceError
impl Error for WorkspaceError
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<InvalidRepoPath> for WorkspaceError
impl From<InvalidRepoPath> for WorkspaceError
Source§fn from(source: InvalidRepoPath) -> Self
fn from(source: InvalidRepoPath) -> Self
Converts to this type from the input type.
Source§impl From<WorkspaceError> for WorkspaceError
impl From<WorkspaceError> for WorkspaceError
Source§fn from(error: WorkspaceError) -> WorkspaceError
fn from(error: WorkspaceError) -> WorkspaceError
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for WorkspaceError
impl Freeze for WorkspaceError
impl Move for WorkspaceError
impl RefUnwindSafe for WorkspaceError
impl Send for WorkspaceErrorwhere
RawVecInner: Send,
impl Sync for WorkspaceErrorwhere
RawVecInner: Sync,
impl Unpin for WorkspaceError
impl UnsafeUnpin for WorkspaceError
impl UnwindSafe for WorkspaceErrorwhere
RawVecInner: UnwindSafe,
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