Enum interoptopus::Error
source · [−]pub enum Error {
Null,
Unsupported,
Ascii,
Format(Error),
IO(Error),
UTF8(Utf8Error),
FromUtf8(FromUtf8Error),
CommandNotFound,
TestFailed,
FileNotFound,
}
Expand description
Can be observed if something goes wrong.
Variants
Null
A null pointer was observed where it wasn’t expected.
Unsupported
An operation was requested that is not supported.
Ascii
Given string is not valid Ascii.
Format(Error)
Formatting a string failed.
IO(Error)
Writing output failed.
UTF8(Utf8Error)
Not valid UTF-8
FromUtf8(FromUtf8Error)
Not valid UTF-8
CommandNotFound
A command to test was not found.
TestFailed
A test failed to execute.
FileNotFound
A specified file was not found.
Trait Implementations
Performs the conversion.