Enum roughenough::Error [] [src]

pub enum Error {
    TagNotStrictlyIncreasing(Tag),
    InvalidTag(Box<[u8]>),
    InvalidNumTags(u32),
    InvalidValueLength(Tagu32),
    EncodingFailure(Error),
    RequestTooShort,
    InvalidAlignment(u32),
    InvalidOffsetValue(u32),
    MessageTooShort,
    InvalidRequest,
}

Error types generated by this implementation

Variants

The associated tag was added to an RtMessage in non-increasing order.

The associated byte sequence does not correspond to a valid Roughtime tag.

Invalid number of tags specified

Tag value length exceeds length of source bytes

Encoding failed. The associated std::io::Error should provide more information.

Request was less than 1024 bytes

Offset was not 32-bit aligned

Offset is outside of valid message range

Could not convert bytes to message because bytes were too short

Otherwise invalid request

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl From<Error> for Error
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error