pub enum CargoError {
Util(UtilError),
WalkDir(Error),
NoChanges,
ManyChanges,
CopyTreeWalkDir(PathBuf, Error),
TempDir(Error),
}Expand description
Errors from Cargo actions.
Variants§
Util(UtilError)
Forwarded from util module.
WalkDir(Error)
Can’t list files.
NoChanges
Can’t find a .changes file.
ManyChanges
Found more than one .changes file.
CopyTreeWalkDir(PathBuf, Error)
Can’t copy directory tree.
TempDir(Error)
Couldn’t create a temporary directory.
Trait Implementations§
Source§impl Debug for CargoError
impl Debug for CargoError
Source§impl Display for CargoError
impl Display for CargoError
Source§impl Error for CargoError
impl Error for CargoError
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<CargoError> for ActionError
impl From<CargoError> for ActionError
Source§fn from(value: CargoError) -> Self
fn from(value: CargoError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CargoError
impl !RefUnwindSafe for CargoError
impl Send for CargoError
impl Sync for CargoError
impl Unpin for CargoError
impl UnsafeUnpin for CargoError
impl !UnwindSafe for CargoError
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> 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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.