pub trait ToInt {
    // Required method
    fn to_int<R>(&self) -> Result<R, String>
       where R: FromStr;
}

Required Methods§

source

fn to_int<R>(&self) -> Result<R, String>
where R: FromStr,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ToInt for Vec<u8>

source§

fn to_int<R>(&self) -> Result<R, String>
where R: FromStr,

source§

impl ToInt for [u8]

source§

fn to_int<R>(&self) -> Result<R, String>
where R: FromStr,

Implementors§