Enum netidx_netproto::value::Typ[][src]

pub enum Typ {
    U32,
    V32,
    I32,
    Z32,
    U64,
    V64,
    I64,
    Z64,
    F32,
    F64,
    DateTime,
    Duration,
    Bool,
    String,
    Bytes,
    Result,
}

Variants

U32
V32
I32
Z32
U64
V64
I64
Z64
F32
F64
DateTime
Duration
Bool
String
Bytes
Result

Implementations

impl Typ[src]

pub fn name(&self) -> &'static str[src]

pub fn get(v: &Value) -> Option<Self>[src]

pub fn parse(&self, s: &str) -> Result<Value>[src]

pub fn all() -> &'static [Self]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

Trait Implementations

impl Clone for Typ[src]

impl Copy for Typ[src]

impl Debug for Typ[src]

impl Display for Typ[src]

impl Eq for Typ[src]

impl FromStr for Typ[src]

type Err = Error

The associated error which can be returned from parsing.

impl Ord for Typ[src]

impl PartialEq<Typ> for Typ[src]

impl PartialOrd<Typ> for Typ[src]

impl StructuralEq for Typ[src]

impl StructuralPartialEq for Typ[src]

Auto Trait Implementations

impl RefUnwindSafe for Typ

impl Send for Typ

impl Sync for Typ

impl Unpin for Typ

impl UnwindSafe for Typ

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,