Docs.rs
  • cmd_wrk_parser-0.0.1
    • cmd_wrk_parser 0.0.1
    • Docs.rs crate page
    • Apache-2.0 OR MIT
    • Links
    • crates.io
    • Source
    • Owners
    • khionu
    • Dependencies
      • clap ^2.33.0 normal
      • lazy_static ^1.4.0 normal
      • regex ^1.3.1 normal optional
      • typemap ^0.3.3 normal
    • Versions
    • 0% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

cmd_wrk_parser0.0.1

TypeParser

Required Associated Types

  • Context
  • Type

Required Methods

  • parse

Implementors

In crate cmd_wrk_parser

cmd_wrk_parser

Trait TypeParser

Source
pub trait TypeParser {
    type Type;
    type Context;

    // Required method
    fn parse(
        &self,
        ctx: &Self::Context,
        src: &str,
    ) -> TypeParseResult<Self::Type>;
}

Required Associated Types§

Source

type Type

Source

type Context

Required Methods§

Source

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

Implementors§

Source§

impl TypeParser for I8Parser

Source§

type Type = i8

Source§

type Context = ()

Source§

impl TypeParser for I16Parser

Source§

type Type = i16

Source§

type Context = ()

Source§

impl TypeParser for I32Parser

Source§

type Type = i32

Source§

type Context = ()

Source§

impl TypeParser for I64Parser

Source§

type Type = i64

Source§

type Context = ()

Source§

impl TypeParser for U8Parser

Source§

type Type = u8

Source§

type Context = ()

Source§

impl TypeParser for U16Parser

Source§

type Type = u16

Source§

type Context = ()

Source§

impl TypeParser for U32Parser

Source§

type Type = u32

Source§

type Context = ()

Source§

impl TypeParser for U64Parser

Source§

type Type = u64

Source§

type Context = ()

Source§

impl TypeParser for DurationParser

Source§

type Type = Duration

Source§

type Context = ()

Source§

impl TypeParser for IpParser

Source§

type Type = IpAddr

Source§

type Context = ()

Source§

impl TypeParser for StringParser

Source§

type Type = String

Source§

type Context = ()