Trait Readable
input
pub trait Readable { type Output; fn read<'a, F: FnMut() -> &'a str>(get: F) -> Self::Output; }
A trait representing which type can be read.
type Output
fn read<'a, F: FnMut() -> &'a str>(get: F) -> Self::Output
impl Readable for Bytes
type Output = Vec<u8>
fn read<'a, F: FnMut() -> &'a str>(get: F) -> Vec<u8>
impl Readable for Usize1
type Output = usize
fn read<'a, F: FnMut() -> &'a str>(get: F) -> usize
impl<T: FromStr> Readable for T where T::Err: Debug,
type Output = Self
fn read<'a, F: FnMut() -> &'a str>(get: F) -> Self