pub trait Decoder {
Show 32 methods fn read_unit(&mut self);
fn read_usize(&mut self) -> usize;
fn read_u128(&mut self) -> u128;
fn read_u64(&mut self) -> u64;
fn read_u32(&mut self) -> u32;
fn read_u16(&mut self) -> u16;
fn read_u8(&mut self) -> u8;
fn read_isize(&mut self) -> isize;
fn read_i128(&mut self) -> i128;
fn read_i64(&mut self) -> i64;
fn read_i32(&mut self) -> i32;
fn read_i16(&mut self) -> i16;
fn read_i8(&mut self) -> i8;
fn read_bool(&mut self) -> bool;
fn read_f64(&mut self) -> f64;
fn read_f32(&mut self) -> f32;
fn read_char(&mut self) -> char;
fn read_str(&mut self) -> Cow<'_, str>;
fn read_raw_bytes_into(&mut self, s: &mut [u8]); fn read_enum<T, F>(&mut self, f: F) -> T
    where
        F: FnOnce(&mut Self) -> T
, { ... }
fn read_enum_variant<T, F>(&mut self, _names: &[&str], f: F) -> T
    where
        F: FnMut(&mut Self, usize) -> T
, { ... }
fn read_enum_variant_arg<T, F>(&mut self, f: F) -> T
    where
        F: FnOnce(&mut Self) -> T
, { ... }
fn read_struct<T, F>(&mut self, f: F) -> T
    where
        F: FnOnce(&mut Self) -> T
, { ... }
fn read_struct_field<T, F>(&mut self, _f_name: &str, f: F) -> T
    where
        F: FnOnce(&mut Self) -> T
, { ... }
fn read_tuple<T, F>(&mut self, _len: usize, f: F) -> T
    where
        F: FnOnce(&mut Self) -> T
, { ... }
fn read_tuple_arg<T, F>(&mut self, f: F) -> T
    where
        F: FnOnce(&mut Self) -> T
, { ... }
fn read_option<T, F>(&mut self, f: F) -> T
    where
        F: FnMut(&mut Self, bool) -> T
, { ... }
fn read_seq<T, F>(&mut self, f: F) -> T
    where
        F: FnOnce(&mut Self, usize) -> T
, { ... }
fn read_seq_elt<T, F>(&mut self, f: F) -> T
    where
        F: FnOnce(&mut Self) -> T
, { ... }
fn read_map<T, F>(&mut self, f: F) -> T
    where
        F: FnOnce(&mut Self, usize) -> T
, { ... }
fn read_map_elt_key<T, F>(&mut self, f: F) -> T
    where
        F: FnOnce(&mut Self) -> T
, { ... }
fn read_map_elt_val<T, F>(&mut self, f: F) -> T
    where
        F: FnOnce(&mut Self) -> T
, { ... }
}

Required methods

Provided methods

Implementors