[][src]Trait cmd_wrk_parser::TypeParser

pub trait TypeParser {
    type Type;
    type Context;
    fn parse(
        &self,
        ctx: &Self::Context,
        src: &str
    ) -> TypeParseResult<Self::Type>; }

Associated Types

type Type

type Context

Loading content...

Required methods

fn parse(&self, ctx: &Self::Context, src: &str) -> TypeParseResult<Self::Type>

Loading content...

Implementors

impl TypeParser for I16Parser[src]

type Type = i16

type Context = ()

impl TypeParser for I32Parser[src]

type Type = i32

type Context = ()

impl TypeParser for I64Parser[src]

type Type = i64

type Context = ()

impl TypeParser for I8Parser[src]

type Type = i8

type Context = ()

impl TypeParser for U16Parser[src]

type Type = u16

type Context = ()

impl TypeParser for U32Parser[src]

type Type = u32

type Context = ()

impl TypeParser for U64Parser[src]

type Type = u64

type Context = ()

impl TypeParser for U8Parser[src]

type Type = u8

type Context = ()

impl TypeParser for DurationParser[src]

type Type = Duration

type Context = ()

impl TypeParser for IpParser[src]

type Type = IpAddr

type Context = ()

impl TypeParser for StringParser[src]

type Type = String

type Context = ()

Loading content...