Enum graphy_module::error::ModuleError
[−]
pub enum ModuleError {
AbsolutePathNotFound(AbsolutePathNotFound),
DependencyHasNoName(DependencyHasNoName),
DependencyHasNoVersion(DependencyHasNoVersion),
FileFromPathFailure(FileFromPathFailure),
FileNotFoundInPlugin(FileNotFoundInPlugin),
NotImplemented(NotImplemented),
PathVerificationNotAbsolute(PathVerificationNotAbsolute),
PathVerificationNotDirectory(PathVerificationNotDirectory),
PathVerificationNotExist(PathVerificationNotExist),
PathVerificationNotFile(PathVerificationNotFile),
PluginDeserializationFailure(PluginDeserializationFailure),
PluginLoadNameCollision(PluginLoadNameCollision),
PluginLoadPathCollision(PluginLoadPathCollision),
PluginNotFoundInPluginMap(PluginNotFoundInPluginMap),
PluginPathIdIncorrect(PluginPathIdIncorrect),
PluginPathNotFound(PluginPathNotFound),
RelativePathNotFound(RelativePathNotFound),
TextFromFileFailure(TextFromFileFailure),
}Variants
AbsolutePathNotFound(AbsolutePathNotFound)DependencyHasNoName(DependencyHasNoName)DependencyHasNoVersion(DependencyHasNoVersion)FileFromPathFailure(FileFromPathFailure)FileNotFoundInPlugin(FileNotFoundInPlugin)NotImplemented(NotImplemented)PathVerificationNotAbsolute(PathVerificationNotAbsolute)PathVerificationNotDirectory(PathVerificationNotDirectory)PathVerificationNotExist(PathVerificationNotExist)PathVerificationNotFile(PathVerificationNotFile)PluginDeserializationFailure(PluginDeserializationFailure)PluginLoadNameCollision(PluginLoadNameCollision)PluginLoadPathCollision(PluginLoadPathCollision)PluginNotFoundInPluginMap(PluginNotFoundInPluginMap)PluginPathIdIncorrect(PluginPathIdIncorrect)PluginPathNotFound(PluginPathNotFound)RelativePathNotFound(RelativePathNotFound)TextFromFileFailure(TextFromFileFailure)Trait Implementations
impl Debug for ModuleError
impl Display for ModuleError
impl Error for ModuleError
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<AbsolutePathNotFound> for ModuleError
fn from(error: AbsolutePathNotFound) -> ModuleError
Performs the conversion.
impl From<DependencyHasNoName> for ModuleError
fn from(error: DependencyHasNoName) -> ModuleError
Performs the conversion.
impl From<DependencyHasNoVersion> for ModuleError
fn from(error: DependencyHasNoVersion) -> ModuleError
Performs the conversion.
impl From<FileFromPathFailure> for ModuleError
fn from(error: FileFromPathFailure) -> ModuleError
Performs the conversion.
impl From<FileNotFoundInPlugin> for ModuleError
fn from(error: FileNotFoundInPlugin) -> ModuleError
Performs the conversion.
impl From<NotImplemented> for ModuleError
fn from(error: NotImplemented) -> ModuleError
Performs the conversion.
impl From<PathVerificationNotAbsolute> for ModuleError
fn from(error: PathVerificationNotAbsolute) -> ModuleError
Performs the conversion.
impl From<PathVerificationNotDirectory> for ModuleError
fn from(error: PathVerificationNotDirectory) -> ModuleError
Performs the conversion.
impl From<PathVerificationNotExist> for ModuleError
fn from(error: PathVerificationNotExist) -> ModuleError
Performs the conversion.
impl From<PathVerificationNotFile> for ModuleError
fn from(error: PathVerificationNotFile) -> ModuleError
Performs the conversion.
impl From<PluginDeserializationFailure> for ModuleError
fn from(error: PluginDeserializationFailure) -> ModuleError
Performs the conversion.
impl From<PluginLoadNameCollision> for ModuleError
fn from(error: PluginLoadNameCollision) -> ModuleError
Performs the conversion.
impl From<PluginLoadPathCollision> for ModuleError
fn from(error: PluginLoadPathCollision) -> ModuleError
Performs the conversion.
impl From<PluginNotFoundInPluginMap> for ModuleError
fn from(error: PluginNotFoundInPluginMap) -> ModuleError
Performs the conversion.
impl From<PluginPathIdIncorrect> for ModuleError
fn from(error: PluginPathIdIncorrect) -> ModuleError
Performs the conversion.
impl From<PluginPathNotFound> for ModuleError
fn from(error: PluginPathNotFound) -> ModuleError
Performs the conversion.
impl From<RelativePathNotFound> for ModuleError
fn from(error: RelativePathNotFound) -> ModuleError
Performs the conversion.
impl From<TextFromFileFailure> for ModuleError
fn from(error: TextFromFileFailure) -> ModuleError
Performs the conversion.