Enum libnv::nvpair::Value[][src]

pub enum Value {
    Unknown,
    Bool(bool),
    Int8(i8),
    Uint8(u8),
    Int16(i16),
    Uint16(u16),
    Int32(i32),
    Uint32(u32),
    Int64(i64),
    Uint64(u64),
    String(String),
}

Variants

Unknown
Bool(bool)

Tuple Fields of Bool

0: bool
Int8(i8)

Tuple Fields of Int8

0: i8
Uint8(u8)

Tuple Fields of Uint8

0: u8
Int16(i16)

Tuple Fields of Int16

0: i16
Uint16(u16)

Tuple Fields of Uint16

0: u16
Int32(i32)

Tuple Fields of Int32

0: i32
Uint32(u32)

Tuple Fields of Uint32

0: u32
Int64(i64)

Tuple Fields of Int64

0: i64
Uint64(u64)

Tuple Fields of Uint64

0: u64
String(String)

Tuple Fields of String

0: String

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.