Enum cold_iron::ThaumError[]

pub enum ThaumError {
    ConnectionError(String),
    LicenseError,
    InsufficentEnergy,
    ReadError(Error),
    WriteError(Error),
    AddressConflictError(String),
}
Expand description

Represents various error conditions that result from Thaumatic programming

Variants

ConnectionError(String)

Failed to connect to thaumatic device

LicenseError

You have not confirmed you are licensed to operate thaumatic communication equipment

InsufficentEnergy

Insufficient thaumatic energy. Consider a small offering

ReadError(Error)

Read Error over thaumatic connection

WriteError(Error)

Write Error over thaumatic connection

AddressConflictError(String)

Someone else is using that address

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.