[−][src]Enum locate_cargo_manifest::LocateManifestError
Errors that can occur while retrieving the cargo manifest path.
Variants
Io(Error)
An I/O error that occurred while trying to execute cargo locate-project
.
CargoExecution
The command cargo locate-project
did not exit successfully.
Fields of CargoExecution
StringConversion(FromUtf8Error)
The output of cargo locate-project
was not valid UTF-8.
ParseJson(Error)
An error occurred while parsing the output of cargo locate-project
as JSON.
NoRoot
The JSON output of cargo locate-project
did not contain the expected "root" string.
Trait Implementations
impl From<Error> for LocateManifestError
[src]
impl From<FromUtf8Error> for LocateManifestError
[src]
fn from(err: FromUtf8Error) -> Self
[src]
impl From<Error> for LocateManifestError
[src]
impl Debug for LocateManifestError
[src]
Auto Trait Implementations
impl Send for LocateManifestError
impl Sync for LocateManifestError
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,