[][src]Enum kes::context::Value

pub enum Value<'b> {
    Int(u32),
    Str(&'b str),
}

Variants

Int(u32)
Str(&'b str)

Methods

impl<'b> Value<'b>[src]

pub fn into_bool(self) -> bool[src]

Trait Implementations

impl<'b> Clone for Value<'b>[src]

impl<'b> Copy for Value<'b>[src]

impl<'b> Debug for Value<'b>[src]

impl<'b> Display for Value<'b>[src]

impl<'b> Eq for Value<'b>[src]

impl<'b> From<&'b str> for Value<'b>[src]

impl<'b> From<Value<'b>> for bool[src]

impl<'b> From<bool> for Value<'b>[src]

impl<'b> From<u32> for Value<'b>[src]

impl<'b> Ord for Value<'b>[src]

impl<'b> PartialEq<Value<'b>> for Value<'b>[src]

impl<'b> PartialOrd<Value<'b>> for Value<'b>[src]

impl<'b> StructuralEq for Value<'b>[src]

impl<'b> StructuralPartialEq for Value<'b>[src]

impl<'b> TryFrom<Value<'b>> for u32[src]

type Error = ValueConvertError

The type returned in the event of a conversion error.

impl<'b> TryFrom<Value<'b>> for &'b str[src]

type Error = ValueConvertError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<'b> RefUnwindSafe for Value<'b>

impl<'b> Send for Value<'b>

impl<'b> Sync for Value<'b>

impl<'b> Unpin for Value<'b>

impl<'b> UnwindSafe for Value<'b>

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> 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.