Trait input::Readable[][src]

pub trait Readable {
    type Output;
    fn read<'a, F: FnMut() -> &'a str>(get: F) -> Self::Output;
}
Expand description

A trait representing which type can be read.

Associated Types

type Output[src]

Required methods

fn read<'a, F: FnMut() -> &'a str>(get: F) -> Self::Output[src]

Implementors

impl Readable for Bytes[src]

type Output = Vec<u8>

fn read<'a, F: FnMut() -> &'a str>(get: F) -> Vec<u8>[src]

impl Readable for Usize1[src]

type Output = usize

fn read<'a, F: FnMut() -> &'a str>(get: F) -> usize[src]

impl<T: FromStr> Readable for T where
    T::Err: Debug
[src]

type Output = Self

fn read<'a, F: FnMut() -> &'a str>(get: F) -> Self[src]