[][src]Struct csv::Decoded

pub struct Decoded { /* fields omitted */ }

A record to be decoded.

This is a "wrapper" type that allows the Decoder machinery from the serialize crate to decode a single CSV record into your custom types.

Generally, you should not need to use this type directly. Instead, you should prefer the decode or decode_all methods defined on CsvReader.

Methods

impl Decoded[src]

pub fn new(bytes: Vec<ByteString>) -> Decoded[src]

Creates a new decodable record from a record of byte strings.

Trait Implementations

impl Decoder for Decoded[src]

type Error = Error

The error type for method results.

Auto Trait Implementations

impl Send for Decoded

impl Sync for Decoded

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<D> DecoderHelpers for D where
    D: Decoder
[src]