Trait Id128DynamicArrayConv

Source
pub trait Id128DynamicArrayConv: Sized {
    // Required methods
    fn try_from_array_dynamic(array: &[u8; 17]) -> Option<Self>;
    fn to_array_dynamic(&self) -> [u8; 17];
}
Expand description

Conversion to and from byte arrays with Kind information.

Required Methods§

Source

fn try_from_array_dynamic(array: &[u8; 17]) -> Option<Self>

Convert a byte array into this type.

Source

fn to_array_dynamic(&self) -> [u8; 17]

Convert this type into a byte array.

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.

Implementors§