Enum fungi_lang::decide::effect::Error
source · pub enum Error {
CannotSubtractFromIdxTm(IdxTm, IdxTm),
CannotSubtractFromVar(Var, IdxTm),
CannotSubtractNmSetTmFromNmSet(NmSet, NmSetTm),
CannotSubtract(Effect, Effect),
CannotSequence(Effect, Effect),
CannotDecideReadSubset(Rc<DecError>),
TODO,
}
Expand description
Effect-related decision errors
Variants
CannotSubtractFromIdxTm(IdxTm, IdxTm)
Cannot subtract the second index term from the first
CannotSubtractFromVar(Var, IdxTm)
Cannot subtract structure from a variable with unknown structure
CannotSubtractNmSetTmFromNmSet(NmSet, NmSetTm)
Cannot subtract a name set term from a name set
CannotSubtract(Effect, Effect)
The Archivist cannot subtract the second effect from the first
CannotSequence(Effect, Effect)
The Archivist cannot sequence the two effects
CannotDecideReadSubset(Rc<DecError>)
The Archivist cannot prove that the current effect typing context permits a given read set
TODO
TODO
Trait Implementations
impl Eq for Error
impl StructuralEq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !Send for Error
impl !Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more