Trait GetParameterValue

Source
pub trait GetParameterValue: Sized {
    // Required methods
    fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>;
    fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>;
    fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>;
    fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>;
    fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>;
    fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>;
    fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>;
    fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>;
    fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>;
    fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>;
    fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>;
    fn from_bytes_as_string(bytes: &[u8]) -> Result<Self, String>;
}

Required Methods§

Source

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source

fn from_bytes_as_string(bytes: &[u8]) -> Result<Self, String>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl GetParameterValue for bool

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(bytes: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for f32

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for f64

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for i8

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for i16

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for i32

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for i64

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for u8

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for u16

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for u32

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for u64

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for String

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(bytes: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for Vec<bool>

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(bytes: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for Vec<f32>

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(bytes: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for Vec<f64>

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(bytes: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for Vec<i8>

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(bytes: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for Vec<i16>

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(bytes: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for Vec<i32>

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(bytes: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for Vec<i64>

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(bytes: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for Vec<u8>

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(bytes: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for Vec<u16>

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(bytes: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for Vec<u32>

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(bytes: &[u8]) -> Result<Self, String>

Source§

impl GetParameterValue for Vec<u64>

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(bytes: &[u8]) -> Result<Self, String>

Source§

impl<const N: usize> GetParameterValue for [bool; N]

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Source§

impl<const N: usize> GetParameterValue for [f32; N]

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Source§

impl<const N: usize> GetParameterValue for [f64; N]

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Source§

impl<const N: usize> GetParameterValue for [i8; N]

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Source§

impl<const N: usize> GetParameterValue for [i16; N]

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Source§

impl<const N: usize> GetParameterValue for [i32; N]

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Source§

impl<const N: usize> GetParameterValue for [i64; N]

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Source§

impl<const N: usize> GetParameterValue for [u8; N]

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Source§

impl<const N: usize> GetParameterValue for [u16; N]

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Source§

impl<const N: usize> GetParameterValue for [u32; N]

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Source§

impl<const N: usize> GetParameterValue for [u64; N]

Source§

fn from_bytes_as_bool(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u8(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u16(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_i64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_u64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f32(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_f64(bytes: &[u8]) -> Result<Self, String>

Source§

fn from_bytes_as_string(_: &[u8]) -> Result<Self, String>

Implementors§