Enum foxbox_thinkerbell::compile::SourceError [] [src]

pub enum SourceError {
    NoRule,
    NoStatement,
    NoMatch,
    NoMatchSource,
    NoStatementDestination,
}

Variants

NoRule

The source doesn't define any rule.

NoStatement

A rule doesn't have any statements.

NoMatch

A rule doesn't have any condition.

NoMatchSource

A match doesn't have any source.

NoStatementDestination

A statement doesn't have any destination.

Trait Implementations

impl Serialize for SourceError

fn serialize<__S>(&self, serializer: &mut __S) -> Result<(), __S::Error> where __S: Serializer

Derived Implementations

impl Debug for SourceError

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for SourceError

fn clone(&self) -> SourceError

1.0.0fn clone_from(&mut self, source: &Self)