pub enum StateError {
    BreakInNonStreamable,
    BreakEmptyStack,
    ChunksInChunks,
    StructureInChunks,
    StructureNotFinished,
    StructureEndNotInStructure,
    InvalidTypeInChunk,
    TagNotFinished,
    TagInChunk,
}

Variants

BreakInNonStreamable

Break in non indefinite structure

BreakEmptyStack

Break without any structure

ChunksInChunks

indefinite value in indefinite text or indefinite bytes.

StructureInChunks

structure start in indefinite text or indefinite bytes.

StructureNotFinished

Structure end but structure still have some items to process

StructureEndNotInStructure

Structure end not in structure

InvalidTypeInChunk

Trying to add a simple type like int,constants,… in a indefinite bytes/text

TagNotFinished

Trying to close an unfinished Tag

TagInChunk

Tag in Chunk

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

Converts to this type from the input type.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

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.