Enum ketos::restrict::RestrictError [] [src]

pub enum RestrictError {
    ExecutionTimeExceeded,
    CallStackExceeded,
    ValueStackExceeded,
    NamespaceSizeExceeded,
    MemoryLimitExceeded,
    IntegerLimitExceeded,
    MaxSyntaxNestingExceeded,
}

Represents an error caused by breach of runtime execution restrictions

Variants

Execution time exceeded limit

Call stack exceeded limit

Value stack exceeded limit

Namespace size exceeded limit

Memory consumption exceeded limit

Integer bit limit exceeded

Nested syntax exceeded limit

Methods

impl RestrictError
[src]

Returns a string describing the error that occurred.

Trait Implementations

impl Copy for RestrictError
[src]

impl Clone for RestrictError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for RestrictError
[src]

Formats the value using the given formatter.

impl Eq for RestrictError
[src]

impl PartialEq for RestrictError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for RestrictError
[src]

Formats the value using the given formatter. Read more

impl NameDisplay for RestrictError
[src]

Writes the value's display representation to the formatter stream.