pub enum ReadCargoFileError {
IO(Error),
SerdeJson(Error),
}
Available on crate feature
asynchronous
only.Variants§
Trait Implementations§
Source§impl Debug for ReadCargoFileError
impl Debug for ReadCargoFileError
Source§impl Display for ReadCargoFileError
impl Display for ReadCargoFileError
Source§impl Error for ReadCargoFileError
impl Error for ReadCargoFileError
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 ReadCargoFileError
impl From<Error> for ReadCargoFileError
Auto Trait Implementations§
impl Freeze for ReadCargoFileError
impl !RefUnwindSafe for ReadCargoFileError
impl Send for ReadCargoFileError
impl Sync for ReadCargoFileError
impl Unpin for ReadCargoFileError
impl !UnwindSafe for ReadCargoFileError
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