Skip to main content

ParameterValue

Type Alias ParameterValue 

Source
pub type ParameterValue = ParameterValue;
Expand description

The container to store the value of a single parameter to a guest function.

Aliased Type§

pub enum ParameterValue {
    Int(i32),
    UInt(u32),
    Long(i64),
    ULong(u64),
    Float(f32),
    Double(f64),
    String(String),
    Bool(bool),
    VecBytes(Vec<u8>),
}

Variants§

§

Int(i32)

i32

§

UInt(u32)

u32

§

Long(i64)

i64

§

ULong(u64)

i64

§

Float(f32)

f32

§

Double(f64)

f64

§

String(String)

String

§

Bool(bool)

bool

§

VecBytes(Vec<u8>)

Vec<u8>