Trait ion::FromIon

source ·
pub trait FromIon<T>
where Self: Sized,
{ type Err; // Required method fn from_ion(_: &T) -> Result<Self, Self::Err>; }

Required Associated Types§

Required Methods§

source

fn from_ion(_: &T) -> Result<Self, Self::Err>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FromIon<Value> for Option<String>

§

type Err = ()

source§

fn from_ion(value: &Value) -> Result<Self, Self::Err>

source§

impl FromIon<Value> for bool

§

type Err = ParseBoolError

source§

fn from_ion(value: &Value) -> Result<Self, Self::Err>

source§

impl FromIon<Value> for i8

§

type Err = ParseIntError

source§

fn from_ion(value: &Value) -> Result<Self, Self::Err>

source§

impl FromIon<Value> for i16

§

type Err = ParseIntError

source§

fn from_ion(value: &Value) -> Result<Self, Self::Err>

source§

impl FromIon<Value> for i32

§

type Err = ParseIntError

source§

fn from_ion(value: &Value) -> Result<Self, Self::Err>

source§

impl FromIon<Value> for i64

§

type Err = ParseIntError

source§

fn from_ion(value: &Value) -> Result<Self, Self::Err>

source§

impl FromIon<Value> for isize

§

type Err = ParseIntError

source§

fn from_ion(value: &Value) -> Result<Self, Self::Err>

source§

impl FromIon<Value> for u8

§

type Err = ParseIntError

source§

fn from_ion(value: &Value) -> Result<Self, Self::Err>

source§

impl FromIon<Value> for u16

§

type Err = ParseIntError

source§

fn from_ion(value: &Value) -> Result<Self, Self::Err>

source§

impl FromIon<Value> for u32

§

type Err = ParseIntError

source§

fn from_ion(value: &Value) -> Result<Self, Self::Err>

source§

impl FromIon<Value> for u64

§

type Err = ParseIntError

source§

fn from_ion(value: &Value) -> Result<Self, Self::Err>

source§

impl FromIon<Value> for usize

§

type Err = ParseIntError

source§

fn from_ion(value: &Value) -> Result<Self, Self::Err>

source§

impl FromIon<Value> for String

§

type Err = ()

source§

fn from_ion(value: &Value) -> Result<Self, Self::Err>

Implementors§