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