pub enum ResolvedProgramExtractionError {
Manifest(ResolvedProgramManifestError),
ModuleValidation {
message: String,
},
MissingEntry,
MissingModule {
path: PathBuf,
},
MissingSourceObject {
module_id: String,
kind: ResolvedSourceObjectKind,
ordinal: usize,
},
RelationArityConflict {
name: String,
first: usize,
second: usize,
},
MissingRelationArity {
name: String,
},
}Expand description
Failure while constructing the structured executable program.
Variants§
Manifest(ResolvedProgramManifestError)
ModuleValidation
MissingEntry
MissingModule
MissingSourceObject
RelationArityConflict
MissingRelationArity
Trait Implementations§
Source§impl Error for ResolvedProgramExtractionError
impl Error for ResolvedProgramExtractionError
1.30.0 · 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<ResolvedProgramManifestError> for ResolvedProgramExtractionError
impl From<ResolvedProgramManifestError> for ResolvedProgramExtractionError
Source§fn from(error: ResolvedProgramManifestError) -> Self
fn from(error: ResolvedProgramManifestError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResolvedProgramExtractionError
impl RefUnwindSafe for ResolvedProgramExtractionError
impl Send for ResolvedProgramExtractionError
impl Sync for ResolvedProgramExtractionError
impl Unpin for ResolvedProgramExtractionError
impl UnsafeUnpin for ResolvedProgramExtractionError
impl UnwindSafe for ResolvedProgramExtractionError
Blanket Implementations§
impl<T> Allocation for T
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