Struct tbon::de::Decoder [−][src]
pub struct Decoder<R> { /* fields omitted */ }
Expand description
A structure that decodes Rust values from a TBON stream.
Implementations
Trait Implementations
Require the Decoder
to figure out how to drive the visitor based
on what data type is in the input. Read more
Hint that the FromStream
type is expecting a bool
value.
Hint that the FromStream
type is expecting an i8
value.
Hint that the FromStream
type is expecting an i16
value.
Hint that the FromStream
type is expecting an i32
value.
Hint that the FromStream
type is expecting an i64
value.
Hint that the FromStream
type is expecting a u8
value.
Hint that the FromStream
type is expecting a u16
value.
Hint that the FromStream
type is expecting a u32
value.
Hint that the FromStream
type is expecting a u64
value.
Hint that the FromStream
type is expecting a f32
value.
Hint that the FromStream
type is expecting a f64
value.
Hint that the FromStream
type is expecting an array of bool
s.
Hint that the FromStream
type is expecting an array of i8
s.
Hint that the FromStream
type is expecting an array of i16
s.
Hint that the FromStream
type is expecting an array of i32
s.
Hint that the FromStream
type is expecting an array of i64
s.
Hint that the FromStream
type is expecting an array of u8
s.
Hint that the FromStream
type is expecting an array of u16
s.
Hint that the FromStream
type is expecting an array of u32
s.
Hint that the FromStream
type is expecting an array of u64
s.
Hint that the FromStream
type is expecting an array of f32
s.
Hint that the FromStream
type is expecting an array of f64
s.
Hint that the FromStream
type is expecting a string value.
Hint that the FromStream
type is expecting a byte array.
Hint that the FromStream
type is expecting an optional value. Read more
Hint that the FromStream
type is expecting a sequence of values.
Hint that the FromStream
type is expecting a unit value (i.e. ()
).
Hint that the FromStream
type is expecting a sequence of values and
knows how many values there are without looking at the encoded data. Read more
Hint that the FromStream
type is expecting a map of key-value pairs.
Hint that the FromStream
type needs to decode a value whose type
doesn’t matter because it is ignored. Read more
Auto Trait Implementations
impl<R> RefUnwindSafe for Decoder<R> where
R: RefUnwindSafe,
impl<R> UnwindSafe for Decoder<R> where
R: UnwindSafe,