Trait binn_ir::value::Decoder [−][src]
pub trait Decoder: Read + Sized { fn decode(&mut self) -> Result<Option<Value>> { ... } fn decode_null(&mut self) -> Result<Option<()>> { ... } fn decode_bool(&mut self) -> Result<Option<bool>> { ... } fn decode_u8(&mut self) -> Result<Option<u8>> { ... } fn decode_i8(&mut self) -> Result<Option<i8>> { ... } fn decode_u16(&mut self) -> Result<Option<u16>> { ... } fn decode_i16(&mut self) -> Result<Option<i16>> { ... } fn decode_u32(&mut self) -> Result<Option<u32>> { ... } fn decode_i32(&mut self) -> Result<Option<i32>> { ... } fn decode_u64(&mut self) -> Result<Option<u64>> { ... } fn decode_i64(&mut self) -> Result<Option<i64>> { ... } fn decode_float(&mut self) -> Result<Option<f32>> { ... } fn decode_double(&mut self) -> Result<Option<f64>> { ... } fn decode_text(&mut self) -> Result<Option<String>> { ... } fn decode_date_time(&mut self) -> Result<Option<String>> { ... } fn decode_date(&mut self) -> Result<Option<String>> { ... } fn decode_time(&mut self) -> Result<Option<String>> { ... } fn decode_decimal_str(&mut self) -> Result<Option<String>> { ... } fn decode_blob(&mut self) -> Result<Option<Vec<u8>>> { ... } fn decode_list(&mut self) -> Result<Option<Vec<Value>>> { ... } fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>> { ... } fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>> { ... } }
Decoder
Usage
Decoding any values
You can use ::decode()
and a match
to filter values. This function will hand you the values after finishing decoding process.
Decoding desired values
You can use ::decode_*()
. However, please note that: if an un-expected value is detected, the whole decoding operation might be
broken. It's because those functions just decode the header of a value, and stop if not matched. So at that point, data stream might
already be broken.
In contrast, with ::decode()
, when you expect an Object
but get a List
, you can still continue decoding next values.
Notes
- If a
::decode*()
function returns anOk(None)
, it means there's no more data to decode. - Default implementors are copied from
Read
's.
Provided Methods
fn decode(&mut self) -> Result<Option<Value>>
fn decode_null(&mut self) -> Result<Option<()>>
fn decode_bool(&mut self) -> Result<Option<bool>>
fn decode_u8(&mut self) -> Result<Option<u8>>
fn decode_i8(&mut self) -> Result<Option<i8>>
fn decode_u16(&mut self) -> Result<Option<u16>>
fn decode_i16(&mut self) -> Result<Option<i16>>
fn decode_u32(&mut self) -> Result<Option<u32>>
fn decode_i32(&mut self) -> Result<Option<i32>>
fn decode_u64(&mut self) -> Result<Option<u64>>
fn decode_i64(&mut self) -> Result<Option<i64>>
fn decode_float(&mut self) -> Result<Option<f32>>
fn decode_double(&mut self) -> Result<Option<f64>>
fn decode_text(&mut self) -> Result<Option<String>>
fn decode_date_time(&mut self) -> Result<Option<String>>
fn decode_date(&mut self) -> Result<Option<String>>
fn decode_time(&mut self) -> Result<Option<String>>
fn decode_decimal_str(&mut self) -> Result<Option<String>>
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
Implementations on Foreign Types
impl Decoder for File
[src]
impl Decoder for File
fn decode(&mut self) -> Result<Option<Value>>
[src]
fn decode(&mut self) -> Result<Option<Value>>
fn decode_null(&mut self) -> Result<Option<()>>
[src]
fn decode_null(&mut self) -> Result<Option<()>>
fn decode_bool(&mut self) -> Result<Option<bool>>
[src]
fn decode_bool(&mut self) -> Result<Option<bool>>
fn decode_u8(&mut self) -> Result<Option<u8>>
[src]
fn decode_u8(&mut self) -> Result<Option<u8>>
fn decode_i8(&mut self) -> Result<Option<i8>>
[src]
fn decode_i8(&mut self) -> Result<Option<i8>>
fn decode_u16(&mut self) -> Result<Option<u16>>
[src]
fn decode_u16(&mut self) -> Result<Option<u16>>
fn decode_i16(&mut self) -> Result<Option<i16>>
[src]
fn decode_i16(&mut self) -> Result<Option<i16>>
fn decode_u32(&mut self) -> Result<Option<u32>>
[src]
fn decode_u32(&mut self) -> Result<Option<u32>>
fn decode_i32(&mut self) -> Result<Option<i32>>
[src]
fn decode_i32(&mut self) -> Result<Option<i32>>
fn decode_u64(&mut self) -> Result<Option<u64>>
[src]
fn decode_u64(&mut self) -> Result<Option<u64>>
fn decode_i64(&mut self) -> Result<Option<i64>>
[src]
fn decode_i64(&mut self) -> Result<Option<i64>>
fn decode_float(&mut self) -> Result<Option<f32>>
[src]
fn decode_float(&mut self) -> Result<Option<f32>>
fn decode_double(&mut self) -> Result<Option<f64>>
[src]
fn decode_double(&mut self) -> Result<Option<f64>>
fn decode_text(&mut self) -> Result<Option<String>>
[src]
fn decode_text(&mut self) -> Result<Option<String>>
fn decode_date_time(&mut self) -> Result<Option<String>>
[src]
fn decode_date_time(&mut self) -> Result<Option<String>>
fn decode_date(&mut self) -> Result<Option<String>>
[src]
fn decode_date(&mut self) -> Result<Option<String>>
fn decode_time(&mut self) -> Result<Option<String>>
[src]
fn decode_time(&mut self) -> Result<Option<String>>
fn decode_decimal_str(&mut self) -> Result<Option<String>>
[src]
fn decode_decimal_str(&mut self) -> Result<Option<String>>
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
[src]
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
[src]
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
[src]
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
[src]
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
impl<'a> Decoder for &'a File
[src]
impl<'a> Decoder for &'a File
fn decode(&mut self) -> Result<Option<Value>>
[src]
fn decode(&mut self) -> Result<Option<Value>>
fn decode_null(&mut self) -> Result<Option<()>>
[src]
fn decode_null(&mut self) -> Result<Option<()>>
fn decode_bool(&mut self) -> Result<Option<bool>>
[src]
fn decode_bool(&mut self) -> Result<Option<bool>>
fn decode_u8(&mut self) -> Result<Option<u8>>
[src]
fn decode_u8(&mut self) -> Result<Option<u8>>
fn decode_i8(&mut self) -> Result<Option<i8>>
[src]
fn decode_i8(&mut self) -> Result<Option<i8>>
fn decode_u16(&mut self) -> Result<Option<u16>>
[src]
fn decode_u16(&mut self) -> Result<Option<u16>>
fn decode_i16(&mut self) -> Result<Option<i16>>
[src]
fn decode_i16(&mut self) -> Result<Option<i16>>
fn decode_u32(&mut self) -> Result<Option<u32>>
[src]
fn decode_u32(&mut self) -> Result<Option<u32>>
fn decode_i32(&mut self) -> Result<Option<i32>>
[src]
fn decode_i32(&mut self) -> Result<Option<i32>>
fn decode_u64(&mut self) -> Result<Option<u64>>
[src]
fn decode_u64(&mut self) -> Result<Option<u64>>
fn decode_i64(&mut self) -> Result<Option<i64>>
[src]
fn decode_i64(&mut self) -> Result<Option<i64>>
fn decode_float(&mut self) -> Result<Option<f32>>
[src]
fn decode_float(&mut self) -> Result<Option<f32>>
fn decode_double(&mut self) -> Result<Option<f64>>
[src]
fn decode_double(&mut self) -> Result<Option<f64>>
fn decode_text(&mut self) -> Result<Option<String>>
[src]
fn decode_text(&mut self) -> Result<Option<String>>
fn decode_date_time(&mut self) -> Result<Option<String>>
[src]
fn decode_date_time(&mut self) -> Result<Option<String>>
fn decode_date(&mut self) -> Result<Option<String>>
[src]
fn decode_date(&mut self) -> Result<Option<String>>
fn decode_time(&mut self) -> Result<Option<String>>
[src]
fn decode_time(&mut self) -> Result<Option<String>>
fn decode_decimal_str(&mut self) -> Result<Option<String>>
[src]
fn decode_decimal_str(&mut self) -> Result<Option<String>>
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
[src]
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
[src]
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
[src]
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
[src]
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
impl<R: Read> Decoder for BufReader<R>
[src]
impl<R: Read> Decoder for BufReader<R>
fn decode(&mut self) -> Result<Option<Value>>
[src]
fn decode(&mut self) -> Result<Option<Value>>
fn decode_null(&mut self) -> Result<Option<()>>
[src]
fn decode_null(&mut self) -> Result<Option<()>>
fn decode_bool(&mut self) -> Result<Option<bool>>
[src]
fn decode_bool(&mut self) -> Result<Option<bool>>
fn decode_u8(&mut self) -> Result<Option<u8>>
[src]
fn decode_u8(&mut self) -> Result<Option<u8>>
fn decode_i8(&mut self) -> Result<Option<i8>>
[src]
fn decode_i8(&mut self) -> Result<Option<i8>>
fn decode_u16(&mut self) -> Result<Option<u16>>
[src]
fn decode_u16(&mut self) -> Result<Option<u16>>
fn decode_i16(&mut self) -> Result<Option<i16>>
[src]
fn decode_i16(&mut self) -> Result<Option<i16>>
fn decode_u32(&mut self) -> Result<Option<u32>>
[src]
fn decode_u32(&mut self) -> Result<Option<u32>>
fn decode_i32(&mut self) -> Result<Option<i32>>
[src]
fn decode_i32(&mut self) -> Result<Option<i32>>
fn decode_u64(&mut self) -> Result<Option<u64>>
[src]
fn decode_u64(&mut self) -> Result<Option<u64>>
fn decode_i64(&mut self) -> Result<Option<i64>>
[src]
fn decode_i64(&mut self) -> Result<Option<i64>>
fn decode_float(&mut self) -> Result<Option<f32>>
[src]
fn decode_float(&mut self) -> Result<Option<f32>>
fn decode_double(&mut self) -> Result<Option<f64>>
[src]
fn decode_double(&mut self) -> Result<Option<f64>>
fn decode_text(&mut self) -> Result<Option<String>>
[src]
fn decode_text(&mut self) -> Result<Option<String>>
fn decode_date_time(&mut self) -> Result<Option<String>>
[src]
fn decode_date_time(&mut self) -> Result<Option<String>>
fn decode_date(&mut self) -> Result<Option<String>>
[src]
fn decode_date(&mut self) -> Result<Option<String>>
fn decode_time(&mut self) -> Result<Option<String>>
[src]
fn decode_time(&mut self) -> Result<Option<String>>
fn decode_decimal_str(&mut self) -> Result<Option<String>>
[src]
fn decode_decimal_str(&mut self) -> Result<Option<String>>
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
[src]
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
[src]
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
[src]
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
[src]
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
impl<T> Decoder for Cursor<T> where
T: AsRef<[u8]>,
[src]
impl<T> Decoder for Cursor<T> where
T: AsRef<[u8]>,
fn decode(&mut self) -> Result<Option<Value>>
[src]
fn decode(&mut self) -> Result<Option<Value>>
fn decode_null(&mut self) -> Result<Option<()>>
[src]
fn decode_null(&mut self) -> Result<Option<()>>
fn decode_bool(&mut self) -> Result<Option<bool>>
[src]
fn decode_bool(&mut self) -> Result<Option<bool>>
fn decode_u8(&mut self) -> Result<Option<u8>>
[src]
fn decode_u8(&mut self) -> Result<Option<u8>>
fn decode_i8(&mut self) -> Result<Option<i8>>
[src]
fn decode_i8(&mut self) -> Result<Option<i8>>
fn decode_u16(&mut self) -> Result<Option<u16>>
[src]
fn decode_u16(&mut self) -> Result<Option<u16>>
fn decode_i16(&mut self) -> Result<Option<i16>>
[src]
fn decode_i16(&mut self) -> Result<Option<i16>>
fn decode_u32(&mut self) -> Result<Option<u32>>
[src]
fn decode_u32(&mut self) -> Result<Option<u32>>
fn decode_i32(&mut self) -> Result<Option<i32>>
[src]
fn decode_i32(&mut self) -> Result<Option<i32>>
fn decode_u64(&mut self) -> Result<Option<u64>>
[src]
fn decode_u64(&mut self) -> Result<Option<u64>>
fn decode_i64(&mut self) -> Result<Option<i64>>
[src]
fn decode_i64(&mut self) -> Result<Option<i64>>
fn decode_float(&mut self) -> Result<Option<f32>>
[src]
fn decode_float(&mut self) -> Result<Option<f32>>
fn decode_double(&mut self) -> Result<Option<f64>>
[src]
fn decode_double(&mut self) -> Result<Option<f64>>
fn decode_text(&mut self) -> Result<Option<String>>
[src]
fn decode_text(&mut self) -> Result<Option<String>>
fn decode_date_time(&mut self) -> Result<Option<String>>
[src]
fn decode_date_time(&mut self) -> Result<Option<String>>
fn decode_date(&mut self) -> Result<Option<String>>
[src]
fn decode_date(&mut self) -> Result<Option<String>>
fn decode_time(&mut self) -> Result<Option<String>>
[src]
fn decode_time(&mut self) -> Result<Option<String>>
fn decode_decimal_str(&mut self) -> Result<Option<String>>
[src]
fn decode_decimal_str(&mut self) -> Result<Option<String>>
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
[src]
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
[src]
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
[src]
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
[src]
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
impl<'a, R: Read + ?Sized> Decoder for &'a mut R
[src]
impl<'a, R: Read + ?Sized> Decoder for &'a mut R
fn decode(&mut self) -> Result<Option<Value>>
[src]
fn decode(&mut self) -> Result<Option<Value>>
fn decode_null(&mut self) -> Result<Option<()>>
[src]
fn decode_null(&mut self) -> Result<Option<()>>
fn decode_bool(&mut self) -> Result<Option<bool>>
[src]
fn decode_bool(&mut self) -> Result<Option<bool>>
fn decode_u8(&mut self) -> Result<Option<u8>>
[src]
fn decode_u8(&mut self) -> Result<Option<u8>>
fn decode_i8(&mut self) -> Result<Option<i8>>
[src]
fn decode_i8(&mut self) -> Result<Option<i8>>
fn decode_u16(&mut self) -> Result<Option<u16>>
[src]
fn decode_u16(&mut self) -> Result<Option<u16>>
fn decode_i16(&mut self) -> Result<Option<i16>>
[src]
fn decode_i16(&mut self) -> Result<Option<i16>>
fn decode_u32(&mut self) -> Result<Option<u32>>
[src]
fn decode_u32(&mut self) -> Result<Option<u32>>
fn decode_i32(&mut self) -> Result<Option<i32>>
[src]
fn decode_i32(&mut self) -> Result<Option<i32>>
fn decode_u64(&mut self) -> Result<Option<u64>>
[src]
fn decode_u64(&mut self) -> Result<Option<u64>>
fn decode_i64(&mut self) -> Result<Option<i64>>
[src]
fn decode_i64(&mut self) -> Result<Option<i64>>
fn decode_float(&mut self) -> Result<Option<f32>>
[src]
fn decode_float(&mut self) -> Result<Option<f32>>
fn decode_double(&mut self) -> Result<Option<f64>>
[src]
fn decode_double(&mut self) -> Result<Option<f64>>
fn decode_text(&mut self) -> Result<Option<String>>
[src]
fn decode_text(&mut self) -> Result<Option<String>>
fn decode_date_time(&mut self) -> Result<Option<String>>
[src]
fn decode_date_time(&mut self) -> Result<Option<String>>
fn decode_date(&mut self) -> Result<Option<String>>
[src]
fn decode_date(&mut self) -> Result<Option<String>>
fn decode_time(&mut self) -> Result<Option<String>>
[src]
fn decode_time(&mut self) -> Result<Option<String>>
fn decode_decimal_str(&mut self) -> Result<Option<String>>
[src]
fn decode_decimal_str(&mut self) -> Result<Option<String>>
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
[src]
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
[src]
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
[src]
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
[src]
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
impl<R: Read + ?Sized> Decoder for Box<R>
[src]
impl<R: Read + ?Sized> Decoder for Box<R>
fn decode(&mut self) -> Result<Option<Value>>
[src]
fn decode(&mut self) -> Result<Option<Value>>
fn decode_null(&mut self) -> Result<Option<()>>
[src]
fn decode_null(&mut self) -> Result<Option<()>>
fn decode_bool(&mut self) -> Result<Option<bool>>
[src]
fn decode_bool(&mut self) -> Result<Option<bool>>
fn decode_u8(&mut self) -> Result<Option<u8>>
[src]
fn decode_u8(&mut self) -> Result<Option<u8>>
fn decode_i8(&mut self) -> Result<Option<i8>>
[src]
fn decode_i8(&mut self) -> Result<Option<i8>>
fn decode_u16(&mut self) -> Result<Option<u16>>
[src]
fn decode_u16(&mut self) -> Result<Option<u16>>
fn decode_i16(&mut self) -> Result<Option<i16>>
[src]
fn decode_i16(&mut self) -> Result<Option<i16>>
fn decode_u32(&mut self) -> Result<Option<u32>>
[src]
fn decode_u32(&mut self) -> Result<Option<u32>>
fn decode_i32(&mut self) -> Result<Option<i32>>
[src]
fn decode_i32(&mut self) -> Result<Option<i32>>
fn decode_u64(&mut self) -> Result<Option<u64>>
[src]
fn decode_u64(&mut self) -> Result<Option<u64>>
fn decode_i64(&mut self) -> Result<Option<i64>>
[src]
fn decode_i64(&mut self) -> Result<Option<i64>>
fn decode_float(&mut self) -> Result<Option<f32>>
[src]
fn decode_float(&mut self) -> Result<Option<f32>>
fn decode_double(&mut self) -> Result<Option<f64>>
[src]
fn decode_double(&mut self) -> Result<Option<f64>>
fn decode_text(&mut self) -> Result<Option<String>>
[src]
fn decode_text(&mut self) -> Result<Option<String>>
fn decode_date_time(&mut self) -> Result<Option<String>>
[src]
fn decode_date_time(&mut self) -> Result<Option<String>>
fn decode_date(&mut self) -> Result<Option<String>>
[src]
fn decode_date(&mut self) -> Result<Option<String>>
fn decode_time(&mut self) -> Result<Option<String>>
[src]
fn decode_time(&mut self) -> Result<Option<String>>
fn decode_decimal_str(&mut self) -> Result<Option<String>>
[src]
fn decode_decimal_str(&mut self) -> Result<Option<String>>
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
[src]
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
[src]
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
[src]
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
[src]
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
impl<'a> Decoder for &'a [u8]
[src]
impl<'a> Decoder for &'a [u8]
fn decode(&mut self) -> Result<Option<Value>>
[src]
fn decode(&mut self) -> Result<Option<Value>>
fn decode_null(&mut self) -> Result<Option<()>>
[src]
fn decode_null(&mut self) -> Result<Option<()>>
fn decode_bool(&mut self) -> Result<Option<bool>>
[src]
fn decode_bool(&mut self) -> Result<Option<bool>>
fn decode_u8(&mut self) -> Result<Option<u8>>
[src]
fn decode_u8(&mut self) -> Result<Option<u8>>
fn decode_i8(&mut self) -> Result<Option<i8>>
[src]
fn decode_i8(&mut self) -> Result<Option<i8>>
fn decode_u16(&mut self) -> Result<Option<u16>>
[src]
fn decode_u16(&mut self) -> Result<Option<u16>>
fn decode_i16(&mut self) -> Result<Option<i16>>
[src]
fn decode_i16(&mut self) -> Result<Option<i16>>
fn decode_u32(&mut self) -> Result<Option<u32>>
[src]
fn decode_u32(&mut self) -> Result<Option<u32>>
fn decode_i32(&mut self) -> Result<Option<i32>>
[src]
fn decode_i32(&mut self) -> Result<Option<i32>>
fn decode_u64(&mut self) -> Result<Option<u64>>
[src]
fn decode_u64(&mut self) -> Result<Option<u64>>
fn decode_i64(&mut self) -> Result<Option<i64>>
[src]
fn decode_i64(&mut self) -> Result<Option<i64>>
fn decode_float(&mut self) -> Result<Option<f32>>
[src]
fn decode_float(&mut self) -> Result<Option<f32>>
fn decode_double(&mut self) -> Result<Option<f64>>
[src]
fn decode_double(&mut self) -> Result<Option<f64>>
fn decode_text(&mut self) -> Result<Option<String>>
[src]
fn decode_text(&mut self) -> Result<Option<String>>
fn decode_date_time(&mut self) -> Result<Option<String>>
[src]
fn decode_date_time(&mut self) -> Result<Option<String>>
fn decode_date(&mut self) -> Result<Option<String>>
[src]
fn decode_date(&mut self) -> Result<Option<String>>
fn decode_time(&mut self) -> Result<Option<String>>
[src]
fn decode_time(&mut self) -> Result<Option<String>>
fn decode_decimal_str(&mut self) -> Result<Option<String>>
[src]
fn decode_decimal_str(&mut self) -> Result<Option<String>>
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
[src]
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
[src]
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
[src]
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
[src]
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
impl Decoder for Empty
[src]
impl Decoder for Empty
fn decode(&mut self) -> Result<Option<Value>>
[src]
fn decode(&mut self) -> Result<Option<Value>>
fn decode_null(&mut self) -> Result<Option<()>>
[src]
fn decode_null(&mut self) -> Result<Option<()>>
fn decode_bool(&mut self) -> Result<Option<bool>>
[src]
fn decode_bool(&mut self) -> Result<Option<bool>>
fn decode_u8(&mut self) -> Result<Option<u8>>
[src]
fn decode_u8(&mut self) -> Result<Option<u8>>
fn decode_i8(&mut self) -> Result<Option<i8>>
[src]
fn decode_i8(&mut self) -> Result<Option<i8>>
fn decode_u16(&mut self) -> Result<Option<u16>>
[src]
fn decode_u16(&mut self) -> Result<Option<u16>>
fn decode_i16(&mut self) -> Result<Option<i16>>
[src]
fn decode_i16(&mut self) -> Result<Option<i16>>
fn decode_u32(&mut self) -> Result<Option<u32>>
[src]
fn decode_u32(&mut self) -> Result<Option<u32>>
fn decode_i32(&mut self) -> Result<Option<i32>>
[src]
fn decode_i32(&mut self) -> Result<Option<i32>>
fn decode_u64(&mut self) -> Result<Option<u64>>
[src]
fn decode_u64(&mut self) -> Result<Option<u64>>
fn decode_i64(&mut self) -> Result<Option<i64>>
[src]
fn decode_i64(&mut self) -> Result<Option<i64>>
fn decode_float(&mut self) -> Result<Option<f32>>
[src]
fn decode_float(&mut self) -> Result<Option<f32>>
fn decode_double(&mut self) -> Result<Option<f64>>
[src]
fn decode_double(&mut self) -> Result<Option<f64>>
fn decode_text(&mut self) -> Result<Option<String>>
[src]
fn decode_text(&mut self) -> Result<Option<String>>
fn decode_date_time(&mut self) -> Result<Option<String>>
[src]
fn decode_date_time(&mut self) -> Result<Option<String>>
fn decode_date(&mut self) -> Result<Option<String>>
[src]
fn decode_date(&mut self) -> Result<Option<String>>
fn decode_time(&mut self) -> Result<Option<String>>
[src]
fn decode_time(&mut self) -> Result<Option<String>>
fn decode_decimal_str(&mut self) -> Result<Option<String>>
[src]
fn decode_decimal_str(&mut self) -> Result<Option<String>>
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
[src]
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
[src]
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
[src]
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
[src]
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
impl Decoder for Repeat
[src]
impl Decoder for Repeat
fn decode(&mut self) -> Result<Option<Value>>
[src]
fn decode(&mut self) -> Result<Option<Value>>
fn decode_null(&mut self) -> Result<Option<()>>
[src]
fn decode_null(&mut self) -> Result<Option<()>>
fn decode_bool(&mut self) -> Result<Option<bool>>
[src]
fn decode_bool(&mut self) -> Result<Option<bool>>
fn decode_u8(&mut self) -> Result<Option<u8>>
[src]
fn decode_u8(&mut self) -> Result<Option<u8>>
fn decode_i8(&mut self) -> Result<Option<i8>>
[src]
fn decode_i8(&mut self) -> Result<Option<i8>>
fn decode_u16(&mut self) -> Result<Option<u16>>
[src]
fn decode_u16(&mut self) -> Result<Option<u16>>
fn decode_i16(&mut self) -> Result<Option<i16>>
[src]
fn decode_i16(&mut self) -> Result<Option<i16>>
fn decode_u32(&mut self) -> Result<Option<u32>>
[src]
fn decode_u32(&mut self) -> Result<Option<u32>>
fn decode_i32(&mut self) -> Result<Option<i32>>
[src]
fn decode_i32(&mut self) -> Result<Option<i32>>
fn decode_u64(&mut self) -> Result<Option<u64>>
[src]
fn decode_u64(&mut self) -> Result<Option<u64>>
fn decode_i64(&mut self) -> Result<Option<i64>>
[src]
fn decode_i64(&mut self) -> Result<Option<i64>>
fn decode_float(&mut self) -> Result<Option<f32>>
[src]
fn decode_float(&mut self) -> Result<Option<f32>>
fn decode_double(&mut self) -> Result<Option<f64>>
[src]
fn decode_double(&mut self) -> Result<Option<f64>>
fn decode_text(&mut self) -> Result<Option<String>>
[src]
fn decode_text(&mut self) -> Result<Option<String>>
fn decode_date_time(&mut self) -> Result<Option<String>>
[src]
fn decode_date_time(&mut self) -> Result<Option<String>>
fn decode_date(&mut self) -> Result<Option<String>>
[src]
fn decode_date(&mut self) -> Result<Option<String>>
fn decode_time(&mut self) -> Result<Option<String>>
[src]
fn decode_time(&mut self) -> Result<Option<String>>
fn decode_decimal_str(&mut self) -> Result<Option<String>>
[src]
fn decode_decimal_str(&mut self) -> Result<Option<String>>
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
[src]
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
[src]
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
[src]
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
[src]
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
impl Decoder for Stdin
[src]
impl Decoder for Stdin
fn decode(&mut self) -> Result<Option<Value>>
[src]
fn decode(&mut self) -> Result<Option<Value>>
fn decode_null(&mut self) -> Result<Option<()>>
[src]
fn decode_null(&mut self) -> Result<Option<()>>
fn decode_bool(&mut self) -> Result<Option<bool>>
[src]
fn decode_bool(&mut self) -> Result<Option<bool>>
fn decode_u8(&mut self) -> Result<Option<u8>>
[src]
fn decode_u8(&mut self) -> Result<Option<u8>>
fn decode_i8(&mut self) -> Result<Option<i8>>
[src]
fn decode_i8(&mut self) -> Result<Option<i8>>
fn decode_u16(&mut self) -> Result<Option<u16>>
[src]
fn decode_u16(&mut self) -> Result<Option<u16>>
fn decode_i16(&mut self) -> Result<Option<i16>>
[src]
fn decode_i16(&mut self) -> Result<Option<i16>>
fn decode_u32(&mut self) -> Result<Option<u32>>
[src]
fn decode_u32(&mut self) -> Result<Option<u32>>
fn decode_i32(&mut self) -> Result<Option<i32>>
[src]
fn decode_i32(&mut self) -> Result<Option<i32>>
fn decode_u64(&mut self) -> Result<Option<u64>>
[src]
fn decode_u64(&mut self) -> Result<Option<u64>>
fn decode_i64(&mut self) -> Result<Option<i64>>
[src]
fn decode_i64(&mut self) -> Result<Option<i64>>
fn decode_float(&mut self) -> Result<Option<f32>>
[src]
fn decode_float(&mut self) -> Result<Option<f32>>
fn decode_double(&mut self) -> Result<Option<f64>>
[src]
fn decode_double(&mut self) -> Result<Option<f64>>
fn decode_text(&mut self) -> Result<Option<String>>
[src]
fn decode_text(&mut self) -> Result<Option<String>>
fn decode_date_time(&mut self) -> Result<Option<String>>
[src]
fn decode_date_time(&mut self) -> Result<Option<String>>
fn decode_date(&mut self) -> Result<Option<String>>
[src]
fn decode_date(&mut self) -> Result<Option<String>>
fn decode_time(&mut self) -> Result<Option<String>>
[src]
fn decode_time(&mut self) -> Result<Option<String>>
fn decode_decimal_str(&mut self) -> Result<Option<String>>
[src]
fn decode_decimal_str(&mut self) -> Result<Option<String>>
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
[src]
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
[src]
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
[src]
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
[src]
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
impl<'a> Decoder for StdinLock<'a>
[src]
impl<'a> Decoder for StdinLock<'a>
fn decode(&mut self) -> Result<Option<Value>>
[src]
fn decode(&mut self) -> Result<Option<Value>>
fn decode_null(&mut self) -> Result<Option<()>>
[src]
fn decode_null(&mut self) -> Result<Option<()>>
fn decode_bool(&mut self) -> Result<Option<bool>>
[src]
fn decode_bool(&mut self) -> Result<Option<bool>>
fn decode_u8(&mut self) -> Result<Option<u8>>
[src]
fn decode_u8(&mut self) -> Result<Option<u8>>
fn decode_i8(&mut self) -> Result<Option<i8>>
[src]
fn decode_i8(&mut self) -> Result<Option<i8>>
fn decode_u16(&mut self) -> Result<Option<u16>>
[src]
fn decode_u16(&mut self) -> Result<Option<u16>>
fn decode_i16(&mut self) -> Result<Option<i16>>
[src]
fn decode_i16(&mut self) -> Result<Option<i16>>
fn decode_u32(&mut self) -> Result<Option<u32>>
[src]
fn decode_u32(&mut self) -> Result<Option<u32>>
fn decode_i32(&mut self) -> Result<Option<i32>>
[src]
fn decode_i32(&mut self) -> Result<Option<i32>>
fn decode_u64(&mut self) -> Result<Option<u64>>
[src]
fn decode_u64(&mut self) -> Result<Option<u64>>
fn decode_i64(&mut self) -> Result<Option<i64>>
[src]
fn decode_i64(&mut self) -> Result<Option<i64>>
fn decode_float(&mut self) -> Result<Option<f32>>
[src]
fn decode_float(&mut self) -> Result<Option<f32>>
fn decode_double(&mut self) -> Result<Option<f64>>
[src]
fn decode_double(&mut self) -> Result<Option<f64>>
fn decode_text(&mut self) -> Result<Option<String>>
[src]
fn decode_text(&mut self) -> Result<Option<String>>
fn decode_date_time(&mut self) -> Result<Option<String>>
[src]
fn decode_date_time(&mut self) -> Result<Option<String>>
fn decode_date(&mut self) -> Result<Option<String>>
[src]
fn decode_date(&mut self) -> Result<Option<String>>
fn decode_time(&mut self) -> Result<Option<String>>
[src]
fn decode_time(&mut self) -> Result<Option<String>>
fn decode_decimal_str(&mut self) -> Result<Option<String>>
[src]
fn decode_decimal_str(&mut self) -> Result<Option<String>>
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
[src]
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
[src]
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
[src]
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
[src]
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
impl<T: Read, U: Read> Decoder for Chain<T, U>
[src]
impl<T: Read, U: Read> Decoder for Chain<T, U>
fn decode(&mut self) -> Result<Option<Value>>
[src]
fn decode(&mut self) -> Result<Option<Value>>
fn decode_null(&mut self) -> Result<Option<()>>
[src]
fn decode_null(&mut self) -> Result<Option<()>>
fn decode_bool(&mut self) -> Result<Option<bool>>
[src]
fn decode_bool(&mut self) -> Result<Option<bool>>
fn decode_u8(&mut self) -> Result<Option<u8>>
[src]
fn decode_u8(&mut self) -> Result<Option<u8>>
fn decode_i8(&mut self) -> Result<Option<i8>>
[src]
fn decode_i8(&mut self) -> Result<Option<i8>>
fn decode_u16(&mut self) -> Result<Option<u16>>
[src]
fn decode_u16(&mut self) -> Result<Option<u16>>
fn decode_i16(&mut self) -> Result<Option<i16>>
[src]
fn decode_i16(&mut self) -> Result<Option<i16>>
fn decode_u32(&mut self) -> Result<Option<u32>>
[src]
fn decode_u32(&mut self) -> Result<Option<u32>>
fn decode_i32(&mut self) -> Result<Option<i32>>
[src]
fn decode_i32(&mut self) -> Result<Option<i32>>
fn decode_u64(&mut self) -> Result<Option<u64>>
[src]
fn decode_u64(&mut self) -> Result<Option<u64>>
fn decode_i64(&mut self) -> Result<Option<i64>>
[src]
fn decode_i64(&mut self) -> Result<Option<i64>>
fn decode_float(&mut self) -> Result<Option<f32>>
[src]
fn decode_float(&mut self) -> Result<Option<f32>>
fn decode_double(&mut self) -> Result<Option<f64>>
[src]
fn decode_double(&mut self) -> Result<Option<f64>>
fn decode_text(&mut self) -> Result<Option<String>>
[src]
fn decode_text(&mut self) -> Result<Option<String>>
fn decode_date_time(&mut self) -> Result<Option<String>>
[src]
fn decode_date_time(&mut self) -> Result<Option<String>>
fn decode_date(&mut self) -> Result<Option<String>>
[src]
fn decode_date(&mut self) -> Result<Option<String>>
fn decode_time(&mut self) -> Result<Option<String>>
[src]
fn decode_time(&mut self) -> Result<Option<String>>
fn decode_decimal_str(&mut self) -> Result<Option<String>>
[src]
fn decode_decimal_str(&mut self) -> Result<Option<String>>
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
[src]
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
[src]
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
[src]
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
[src]
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
impl<T: Read> Decoder for Take<T>
[src]
impl<T: Read> Decoder for Take<T>
fn decode(&mut self) -> Result<Option<Value>>
[src]
fn decode(&mut self) -> Result<Option<Value>>
fn decode_null(&mut self) -> Result<Option<()>>
[src]
fn decode_null(&mut self) -> Result<Option<()>>
fn decode_bool(&mut self) -> Result<Option<bool>>
[src]
fn decode_bool(&mut self) -> Result<Option<bool>>
fn decode_u8(&mut self) -> Result<Option<u8>>
[src]
fn decode_u8(&mut self) -> Result<Option<u8>>
fn decode_i8(&mut self) -> Result<Option<i8>>
[src]
fn decode_i8(&mut self) -> Result<Option<i8>>
fn decode_u16(&mut self) -> Result<Option<u16>>
[src]
fn decode_u16(&mut self) -> Result<Option<u16>>
fn decode_i16(&mut self) -> Result<Option<i16>>
[src]
fn decode_i16(&mut self) -> Result<Option<i16>>
fn decode_u32(&mut self) -> Result<Option<u32>>
[src]
fn decode_u32(&mut self) -> Result<Option<u32>>
fn decode_i32(&mut self) -> Result<Option<i32>>
[src]
fn decode_i32(&mut self) -> Result<Option<i32>>
fn decode_u64(&mut self) -> Result<Option<u64>>
[src]
fn decode_u64(&mut self) -> Result<Option<u64>>
fn decode_i64(&mut self) -> Result<Option<i64>>
[src]
fn decode_i64(&mut self) -> Result<Option<i64>>
fn decode_float(&mut self) -> Result<Option<f32>>
[src]
fn decode_float(&mut self) -> Result<Option<f32>>
fn decode_double(&mut self) -> Result<Option<f64>>
[src]
fn decode_double(&mut self) -> Result<Option<f64>>
fn decode_text(&mut self) -> Result<Option<String>>
[src]
fn decode_text(&mut self) -> Result<Option<String>>
fn decode_date_time(&mut self) -> Result<Option<String>>
[src]
fn decode_date_time(&mut self) -> Result<Option<String>>
fn decode_date(&mut self) -> Result<Option<String>>
[src]
fn decode_date(&mut self) -> Result<Option<String>>
fn decode_time(&mut self) -> Result<Option<String>>
[src]
fn decode_time(&mut self) -> Result<Option<String>>
fn decode_decimal_str(&mut self) -> Result<Option<String>>
[src]
fn decode_decimal_str(&mut self) -> Result<Option<String>>
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
[src]
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
[src]
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
[src]
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
[src]
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
impl Decoder for TcpStream
[src]
impl Decoder for TcpStream
fn decode(&mut self) -> Result<Option<Value>>
[src]
fn decode(&mut self) -> Result<Option<Value>>
fn decode_null(&mut self) -> Result<Option<()>>
[src]
fn decode_null(&mut self) -> Result<Option<()>>
fn decode_bool(&mut self) -> Result<Option<bool>>
[src]
fn decode_bool(&mut self) -> Result<Option<bool>>
fn decode_u8(&mut self) -> Result<Option<u8>>
[src]
fn decode_u8(&mut self) -> Result<Option<u8>>
fn decode_i8(&mut self) -> Result<Option<i8>>
[src]
fn decode_i8(&mut self) -> Result<Option<i8>>
fn decode_u16(&mut self) -> Result<Option<u16>>
[src]
fn decode_u16(&mut self) -> Result<Option<u16>>
fn decode_i16(&mut self) -> Result<Option<i16>>
[src]
fn decode_i16(&mut self) -> Result<Option<i16>>
fn decode_u32(&mut self) -> Result<Option<u32>>
[src]
fn decode_u32(&mut self) -> Result<Option<u32>>
fn decode_i32(&mut self) -> Result<Option<i32>>
[src]
fn decode_i32(&mut self) -> Result<Option<i32>>
fn decode_u64(&mut self) -> Result<Option<u64>>
[src]
fn decode_u64(&mut self) -> Result<Option<u64>>
fn decode_i64(&mut self) -> Result<Option<i64>>
[src]
fn decode_i64(&mut self) -> Result<Option<i64>>
fn decode_float(&mut self) -> Result<Option<f32>>
[src]
fn decode_float(&mut self) -> Result<Option<f32>>
fn decode_double(&mut self) -> Result<Option<f64>>
[src]
fn decode_double(&mut self) -> Result<Option<f64>>
fn decode_text(&mut self) -> Result<Option<String>>
[src]
fn decode_text(&mut self) -> Result<Option<String>>
fn decode_date_time(&mut self) -> Result<Option<String>>
[src]
fn decode_date_time(&mut self) -> Result<Option<String>>
fn decode_date(&mut self) -> Result<Option<String>>
[src]
fn decode_date(&mut self) -> Result<Option<String>>
fn decode_time(&mut self) -> Result<Option<String>>
[src]
fn decode_time(&mut self) -> Result<Option<String>>
fn decode_decimal_str(&mut self) -> Result<Option<String>>
[src]
fn decode_decimal_str(&mut self) -> Result<Option<String>>
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
[src]
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
[src]
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
[src]
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
[src]
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
impl<'a> Decoder for &'a TcpStream
[src]
impl<'a> Decoder for &'a TcpStream
fn decode(&mut self) -> Result<Option<Value>>
[src]
fn decode(&mut self) -> Result<Option<Value>>
fn decode_null(&mut self) -> Result<Option<()>>
[src]
fn decode_null(&mut self) -> Result<Option<()>>
fn decode_bool(&mut self) -> Result<Option<bool>>
[src]
fn decode_bool(&mut self) -> Result<Option<bool>>
fn decode_u8(&mut self) -> Result<Option<u8>>
[src]
fn decode_u8(&mut self) -> Result<Option<u8>>
fn decode_i8(&mut self) -> Result<Option<i8>>
[src]
fn decode_i8(&mut self) -> Result<Option<i8>>
fn decode_u16(&mut self) -> Result<Option<u16>>
[src]
fn decode_u16(&mut self) -> Result<Option<u16>>
fn decode_i16(&mut self) -> Result<Option<i16>>
[src]
fn decode_i16(&mut self) -> Result<Option<i16>>
fn decode_u32(&mut self) -> Result<Option<u32>>
[src]
fn decode_u32(&mut self) -> Result<Option<u32>>
fn decode_i32(&mut self) -> Result<Option<i32>>
[src]
fn decode_i32(&mut self) -> Result<Option<i32>>
fn decode_u64(&mut self) -> Result<Option<u64>>
[src]
fn decode_u64(&mut self) -> Result<Option<u64>>
fn decode_i64(&mut self) -> Result<Option<i64>>
[src]
fn decode_i64(&mut self) -> Result<Option<i64>>
fn decode_float(&mut self) -> Result<Option<f32>>
[src]
fn decode_float(&mut self) -> Result<Option<f32>>
fn decode_double(&mut self) -> Result<Option<f64>>
[src]
fn decode_double(&mut self) -> Result<Option<f64>>
fn decode_text(&mut self) -> Result<Option<String>>
[src]
fn decode_text(&mut self) -> Result<Option<String>>
fn decode_date_time(&mut self) -> Result<Option<String>>
[src]
fn decode_date_time(&mut self) -> Result<Option<String>>
fn decode_date(&mut self) -> Result<Option<String>>
[src]
fn decode_date(&mut self) -> Result<Option<String>>
fn decode_time(&mut self) -> Result<Option<String>>
[src]
fn decode_time(&mut self) -> Result<Option<String>>
fn decode_decimal_str(&mut self) -> Result<Option<String>>
[src]
fn decode_decimal_str(&mut self) -> Result<Option<String>>
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
[src]
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
[src]
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
[src]
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
[src]
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
impl Decoder for ChildStdout
[src]
impl Decoder for ChildStdout
fn decode(&mut self) -> Result<Option<Value>>
[src]
fn decode(&mut self) -> Result<Option<Value>>
fn decode_null(&mut self) -> Result<Option<()>>
[src]
fn decode_null(&mut self) -> Result<Option<()>>
fn decode_bool(&mut self) -> Result<Option<bool>>
[src]
fn decode_bool(&mut self) -> Result<Option<bool>>
fn decode_u8(&mut self) -> Result<Option<u8>>
[src]
fn decode_u8(&mut self) -> Result<Option<u8>>
fn decode_i8(&mut self) -> Result<Option<i8>>
[src]
fn decode_i8(&mut self) -> Result<Option<i8>>
fn decode_u16(&mut self) -> Result<Option<u16>>
[src]
fn decode_u16(&mut self) -> Result<Option<u16>>
fn decode_i16(&mut self) -> Result<Option<i16>>
[src]
fn decode_i16(&mut self) -> Result<Option<i16>>
fn decode_u32(&mut self) -> Result<Option<u32>>
[src]
fn decode_u32(&mut self) -> Result<Option<u32>>
fn decode_i32(&mut self) -> Result<Option<i32>>
[src]
fn decode_i32(&mut self) -> Result<Option<i32>>
fn decode_u64(&mut self) -> Result<Option<u64>>
[src]
fn decode_u64(&mut self) -> Result<Option<u64>>
fn decode_i64(&mut self) -> Result<Option<i64>>
[src]
fn decode_i64(&mut self) -> Result<Option<i64>>
fn decode_float(&mut self) -> Result<Option<f32>>
[src]
fn decode_float(&mut self) -> Result<Option<f32>>
fn decode_double(&mut self) -> Result<Option<f64>>
[src]
fn decode_double(&mut self) -> Result<Option<f64>>
fn decode_text(&mut self) -> Result<Option<String>>
[src]
fn decode_text(&mut self) -> Result<Option<String>>
fn decode_date_time(&mut self) -> Result<Option<String>>
[src]
fn decode_date_time(&mut self) -> Result<Option<String>>
fn decode_date(&mut self) -> Result<Option<String>>
[src]
fn decode_date(&mut self) -> Result<Option<String>>
fn decode_time(&mut self) -> Result<Option<String>>
[src]
fn decode_time(&mut self) -> Result<Option<String>>
fn decode_decimal_str(&mut self) -> Result<Option<String>>
[src]
fn decode_decimal_str(&mut self) -> Result<Option<String>>
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
[src]
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
[src]
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
[src]
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
[src]
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
impl Decoder for ChildStderr
[src]
impl Decoder for ChildStderr
fn decode(&mut self) -> Result<Option<Value>>
[src]
fn decode(&mut self) -> Result<Option<Value>>
fn decode_null(&mut self) -> Result<Option<()>>
[src]
fn decode_null(&mut self) -> Result<Option<()>>
fn decode_bool(&mut self) -> Result<Option<bool>>
[src]
fn decode_bool(&mut self) -> Result<Option<bool>>
fn decode_u8(&mut self) -> Result<Option<u8>>
[src]
fn decode_u8(&mut self) -> Result<Option<u8>>
fn decode_i8(&mut self) -> Result<Option<i8>>
[src]
fn decode_i8(&mut self) -> Result<Option<i8>>
fn decode_u16(&mut self) -> Result<Option<u16>>
[src]
fn decode_u16(&mut self) -> Result<Option<u16>>
fn decode_i16(&mut self) -> Result<Option<i16>>
[src]
fn decode_i16(&mut self) -> Result<Option<i16>>
fn decode_u32(&mut self) -> Result<Option<u32>>
[src]
fn decode_u32(&mut self) -> Result<Option<u32>>
fn decode_i32(&mut self) -> Result<Option<i32>>
[src]
fn decode_i32(&mut self) -> Result<Option<i32>>
fn decode_u64(&mut self) -> Result<Option<u64>>
[src]
fn decode_u64(&mut self) -> Result<Option<u64>>
fn decode_i64(&mut self) -> Result<Option<i64>>
[src]
fn decode_i64(&mut self) -> Result<Option<i64>>
fn decode_float(&mut self) -> Result<Option<f32>>
[src]
fn decode_float(&mut self) -> Result<Option<f32>>
fn decode_double(&mut self) -> Result<Option<f64>>
[src]
fn decode_double(&mut self) -> Result<Option<f64>>
fn decode_text(&mut self) -> Result<Option<String>>
[src]
fn decode_text(&mut self) -> Result<Option<String>>
fn decode_date_time(&mut self) -> Result<Option<String>>
[src]
fn decode_date_time(&mut self) -> Result<Option<String>>
fn decode_date(&mut self) -> Result<Option<String>>
[src]
fn decode_date(&mut self) -> Result<Option<String>>
fn decode_time(&mut self) -> Result<Option<String>>
[src]
fn decode_time(&mut self) -> Result<Option<String>>
fn decode_decimal_str(&mut self) -> Result<Option<String>>
[src]
fn decode_decimal_str(&mut self) -> Result<Option<String>>
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
[src]
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
[src]
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
[src]
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
[src]
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
impl Decoder for UnixStream
[src]
impl Decoder for UnixStream
fn decode(&mut self) -> Result<Option<Value>>
[src]
fn decode(&mut self) -> Result<Option<Value>>
fn decode_null(&mut self) -> Result<Option<()>>
[src]
fn decode_null(&mut self) -> Result<Option<()>>
fn decode_bool(&mut self) -> Result<Option<bool>>
[src]
fn decode_bool(&mut self) -> Result<Option<bool>>
fn decode_u8(&mut self) -> Result<Option<u8>>
[src]
fn decode_u8(&mut self) -> Result<Option<u8>>
fn decode_i8(&mut self) -> Result<Option<i8>>
[src]
fn decode_i8(&mut self) -> Result<Option<i8>>
fn decode_u16(&mut self) -> Result<Option<u16>>
[src]
fn decode_u16(&mut self) -> Result<Option<u16>>
fn decode_i16(&mut self) -> Result<Option<i16>>
[src]
fn decode_i16(&mut self) -> Result<Option<i16>>
fn decode_u32(&mut self) -> Result<Option<u32>>
[src]
fn decode_u32(&mut self) -> Result<Option<u32>>
fn decode_i32(&mut self) -> Result<Option<i32>>
[src]
fn decode_i32(&mut self) -> Result<Option<i32>>
fn decode_u64(&mut self) -> Result<Option<u64>>
[src]
fn decode_u64(&mut self) -> Result<Option<u64>>
fn decode_i64(&mut self) -> Result<Option<i64>>
[src]
fn decode_i64(&mut self) -> Result<Option<i64>>
fn decode_float(&mut self) -> Result<Option<f32>>
[src]
fn decode_float(&mut self) -> Result<Option<f32>>
fn decode_double(&mut self) -> Result<Option<f64>>
[src]
fn decode_double(&mut self) -> Result<Option<f64>>
fn decode_text(&mut self) -> Result<Option<String>>
[src]
fn decode_text(&mut self) -> Result<Option<String>>
fn decode_date_time(&mut self) -> Result<Option<String>>
[src]
fn decode_date_time(&mut self) -> Result<Option<String>>
fn decode_date(&mut self) -> Result<Option<String>>
[src]
fn decode_date(&mut self) -> Result<Option<String>>
fn decode_time(&mut self) -> Result<Option<String>>
[src]
fn decode_time(&mut self) -> Result<Option<String>>
fn decode_decimal_str(&mut self) -> Result<Option<String>>
[src]
fn decode_decimal_str(&mut self) -> Result<Option<String>>
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
[src]
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
[src]
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
[src]
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
[src]
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
impl<'a> Decoder for &'a UnixStream
[src]
impl<'a> Decoder for &'a UnixStream
fn decode(&mut self) -> Result<Option<Value>>
[src]
fn decode(&mut self) -> Result<Option<Value>>
fn decode_null(&mut self) -> Result<Option<()>>
[src]
fn decode_null(&mut self) -> Result<Option<()>>
fn decode_bool(&mut self) -> Result<Option<bool>>
[src]
fn decode_bool(&mut self) -> Result<Option<bool>>
fn decode_u8(&mut self) -> Result<Option<u8>>
[src]
fn decode_u8(&mut self) -> Result<Option<u8>>
fn decode_i8(&mut self) -> Result<Option<i8>>
[src]
fn decode_i8(&mut self) -> Result<Option<i8>>
fn decode_u16(&mut self) -> Result<Option<u16>>
[src]
fn decode_u16(&mut self) -> Result<Option<u16>>
fn decode_i16(&mut self) -> Result<Option<i16>>
[src]
fn decode_i16(&mut self) -> Result<Option<i16>>
fn decode_u32(&mut self) -> Result<Option<u32>>
[src]
fn decode_u32(&mut self) -> Result<Option<u32>>
fn decode_i32(&mut self) -> Result<Option<i32>>
[src]
fn decode_i32(&mut self) -> Result<Option<i32>>
fn decode_u64(&mut self) -> Result<Option<u64>>
[src]
fn decode_u64(&mut self) -> Result<Option<u64>>
fn decode_i64(&mut self) -> Result<Option<i64>>
[src]
fn decode_i64(&mut self) -> Result<Option<i64>>
fn decode_float(&mut self) -> Result<Option<f32>>
[src]
fn decode_float(&mut self) -> Result<Option<f32>>
fn decode_double(&mut self) -> Result<Option<f64>>
[src]
fn decode_double(&mut self) -> Result<Option<f64>>
fn decode_text(&mut self) -> Result<Option<String>>
[src]
fn decode_text(&mut self) -> Result<Option<String>>
fn decode_date_time(&mut self) -> Result<Option<String>>
[src]
fn decode_date_time(&mut self) -> Result<Option<String>>
fn decode_date(&mut self) -> Result<Option<String>>
[src]
fn decode_date(&mut self) -> Result<Option<String>>
fn decode_time(&mut self) -> Result<Option<String>>
[src]
fn decode_time(&mut self) -> Result<Option<String>>
fn decode_decimal_str(&mut self) -> Result<Option<String>>
[src]
fn decode_decimal_str(&mut self) -> Result<Option<String>>
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
[src]
fn decode_blob(&mut self) -> Result<Option<Vec<u8>>>
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
[src]
fn decode_list(&mut self) -> Result<Option<Vec<Value>>>
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
[src]
fn decode_map(&mut self) -> Result<Option<BTreeMap<i32, Value>>>
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>
[src]
fn decode_object(&mut self) -> Result<Option<HashMap<String, Value>>>