[][src]Trait uclicious::traits::FromObject

pub trait FromObject<T>: Sized {
    fn try_from(value: T) -> Result<Self, ObjectError>;
}

Implement this trait on your types in order for automatic derive to work. This is a copy of TryFrom.

Required methods

fn try_from(value: T) -> Result<Self, ObjectError>

Performs the conversion.

Loading content...

Implementations on Foreign Types

impl FromObject<ObjectRef> for i64[src]

impl FromObject<ObjectRef> for u64[src]

impl FromObject<ObjectRef> for i32[src]

impl FromObject<ObjectRef> for u32[src]

impl FromObject<ObjectRef> for i16[src]

impl FromObject<ObjectRef> for u16[src]

impl FromObject<ObjectRef> for i8[src]

impl FromObject<ObjectRef> for u8[src]

impl FromObject<ObjectRef> for f64[src]

impl FromObject<ObjectRef> for bool[src]

impl FromObject<ObjectRef> for ()[src]

impl FromObject<ObjectRef> for String[src]

impl FromObject<ObjectRef> for PathBuf[src]

impl FromObject<ObjectRef> for SocketAddr[src]

impl<T> FromObject<ObjectRef> for Vec<T> where
    T: FromObject<ObjectRef>, 
[src]

impl<T> FromObject<ObjectRef> for Option<T> where
    T: FromObject<ObjectRef>, 
[src]

impl<T, S> FromObject<ObjectRef> for HashMap<String, T, S> where
    T: FromObject<ObjectRef> + Clone,
    S: BuildHasher + Default
[src]

impl FromObject<ObjectRef> for Duration[src]

Loading content...

Implementors

Loading content...