Enum fungi_lang::decide::effect::Error [−][src]
pub enum Error { CannotSubtractFromIdxTm(IdxTm, IdxTm), CannotSubtractFromVar(Var, IdxTm), CannotSubtractNmSetTmFromNmSet(NmSet, NmSetTm), CannotSubtract(Effect, Effect), CannotSequence(Effect, Effect), CannotDecideReadSubset(Rc<DecError>), TODO, }
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 Clone for Error
[src]
impl Clone for Error
fn clone(&self) -> Error
[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for Error
[src]
impl Eq for Error
impl PartialEq for Error
[src]
impl PartialEq for Error
fn eq(&self, other: &Error) -> bool
[src]
fn eq(&self, other: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Error) -> bool
[src]
fn ne(&self, other: &Error) -> bool
This method tests for !=
.
impl Hash for Error
[src]
impl Hash for Error