Type Alias veloren_rtsim::data::WriteError

source ·
pub type WriteError = Error;

Aliased Type§

enum WriteError {
    InvalidValueWrite(ValueWriteError),
    UnknownLength,
    InvalidDataModel(&'static str),
    DepthLimitExceeded,
    Syntax(String),
}

Variants§

§

InvalidValueWrite(ValueWriteError)

Failed to write a MessagePack value.

§

UnknownLength

Failed to serialize struct, sequence or map, because its length is unknown.

§

InvalidDataModel(&'static str)

Invalid Data model, i.e. Serialize trait is not implmented correctly

§

DepthLimitExceeded

Depth limit exceeded

§

Syntax(String)

Catchall for syntax error messages.