pub trait FromArgument<'a> {
    // Required method
    fn from_arg(arg: &'a str) -> Result<Self, &'static str>
       where Self: Sized;
}

Required Methods§

source

fn from_arg(arg: &'a str) -> Result<Self, &'static str>
where Self: Sized,

Implementations on Foreign Types§

source§

impl<'a> FromArgument<'a> for &'a str

source§

fn from_arg(arg: &'a str) -> Result<Self, &'static str>

source§

impl<'a> FromArgument<'a> for bool

source§

fn from_arg(arg: &'a str) -> Result<Self, &'static str>

source§

impl<'a> FromArgument<'a> for char

source§

fn from_arg(arg: &'a str) -> Result<Self, &'static str>

source§

impl<'a> FromArgument<'a> for f32

source§

fn from_arg(arg: &'a str) -> Result<Self, &'static str>

source§

impl<'a> FromArgument<'a> for f64

source§

fn from_arg(arg: &'a str) -> Result<Self, &'static str>

source§

impl<'a> FromArgument<'a> for i8

source§

fn from_arg(arg: &'a str) -> Result<Self, &'static str>

source§

impl<'a> FromArgument<'a> for i16

source§

fn from_arg(arg: &'a str) -> Result<Self, &'static str>

source§

impl<'a> FromArgument<'a> for i32

source§

fn from_arg(arg: &'a str) -> Result<Self, &'static str>

source§

impl<'a> FromArgument<'a> for i64

source§

fn from_arg(arg: &'a str) -> Result<Self, &'static str>

source§

impl<'a> FromArgument<'a> for i128

source§

fn from_arg(arg: &'a str) -> Result<Self, &'static str>

source§

impl<'a> FromArgument<'a> for isize

source§

fn from_arg(arg: &'a str) -> Result<Self, &'static str>

source§

impl<'a> FromArgument<'a> for u8

source§

fn from_arg(arg: &'a str) -> Result<Self, &'static str>

source§

impl<'a> FromArgument<'a> for u16

source§

fn from_arg(arg: &'a str) -> Result<Self, &'static str>

source§

impl<'a> FromArgument<'a> for u32

source§

fn from_arg(arg: &'a str) -> Result<Self, &'static str>

source§

impl<'a> FromArgument<'a> for u64

source§

fn from_arg(arg: &'a str) -> Result<Self, &'static str>

source§

impl<'a> FromArgument<'a> for u128

source§

fn from_arg(arg: &'a str) -> Result<Self, &'static str>

source§

impl<'a> FromArgument<'a> for usize

source§

fn from_arg(arg: &'a str) -> Result<Self, &'static str>

Implementors§