Trait netidx_netproto::value::FromValue[][src]

pub trait FromValue {
    type Error;
    fn from_value(v: Value) -> Result<Self, Self::Error>
    where
        Self: Sized
; }

Associated Types

Loading content...

Required methods

fn from_value(v: Value) -> Result<Self, Self::Error> where
    Self: Sized
[src]

Loading content...

Implementations on Foreign Types

impl FromValue for u8[src]

type Error = CantCast

impl FromValue for i8[src]

type Error = CantCast

impl FromValue for u16[src]

type Error = CantCast

impl FromValue for i16[src]

type Error = CantCast

impl FromValue for u32[src]

type Error = CantCast

impl FromValue for i32[src]

type Error = CantCast

impl FromValue for u64[src]

type Error = CantCast

impl FromValue for i64[src]

type Error = CantCast

impl FromValue for f32[src]

type Error = CantCast

impl FromValue for f64[src]

type Error = CantCast

impl FromValue for Chars[src]

type Error = CantCast

impl FromValue for String[src]

type Error = CantCast

impl FromValue for DateTime<Utc>[src]

type Error = CantCast

impl FromValue for Duration[src]

type Error = CantCast

impl FromValue for bool[src]

type Error = CantCast

Loading content...

Implementors

Loading content...