Enum cargo_metadata::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Io(Error), Utf8(Utf8Error), Json(Error), // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Io(Error)
Error during execution of cargo metadata
Utf8(Utf8Error)
Output of cargo metadata
was not valid utf8
Json(Error)
Deserialization error (structure of json did not match expected structure)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.