Enum resp_async::Value[][src]

pub enum Value {
    String(String),
    Error(String),
    Integer(i64),
    Bulk(Vec<u8>),
    Null,
    Array(Vec<Value>),
}

Variants

Trait Implementations

impl Debug for Value
[src]

Formats the value using the given formatter. Read more

impl Clone for Value
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Value
[src]

impl PartialEq for Value
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl TryInto<String> for Value
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl Into<String> for Value
[src]

Performs the conversion.

impl TryInto<Vec<u8>> for Value
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl Into<Vec<u8>> for Value
[src]

Performs the conversion.

impl TryInto<i64> for Value
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl Into<i64> for Value
[src]

Performs the conversion.

impl TryInto<Option<Vec<u8>>> for Value
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl Into<Option<Vec<u8>>> for Value
[src]

Performs the conversion.

impl From<i64> for Value
[src]

Performs the conversion.

impl From<i32> for Value
[src]

Performs the conversion.

impl From<usize> for Value
[src]

Performs the conversion.

impl From<u32> for Value
[src]

Performs the conversion.

impl From<u64> for Value
[src]

Performs the conversion.

impl From<Vec<u8>> for Value
[src]

Performs the conversion.

impl From<Option<Vec<u8>>> for Value
[src]

Performs the conversion.

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

Performs the conversion.

Auto Trait Implementations

impl Send for Value

impl Sync for Value