Enum fress::edn::reader::ReadResult[][src]

pub enum ReadResult {
    Ok {
        bytes_used: u32,
        value: Unit,
    },
    NeedMore {
        bytes_not_used: u32,
    },
    Error {
        location: Counter,
        message: String,
    },
}

Variants

Ok

Fields of Ok

bytes_used: u32value: Unit
NeedMore

Fields of NeedMore

bytes_not_used: u32
Error

Fields of Error

location: Countermessage: String

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.