RawFixedBytes

Trait RawFixedBytes 

Source
pub trait RawFixedBytes {
    // Provided methods
    fn raw_bytes() -> Option<usize> { ... }
    fn raw_max_bytes() -> Option<usize> { ... }
    fn raw_min_bytes() -> Option<usize> { ... }
}

Provided Methods§

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 RawFixedBytes for &str

Source§

impl RawFixedBytes for bool

Source§

impl RawFixedBytes for i32

Source§

impl RawFixedBytes for i64

Source§

impl RawFixedBytes for str

Source§

impl RawFixedBytes for u8

Source§

impl RawFixedBytes for u16

Source§

impl RawFixedBytes for u32

Source§

impl RawFixedBytes for u64

Source§

impl RawFixedBytes for u128

Source§

impl RawFixedBytes for String

Source§

impl RawFixedBytes for H256

Source§

impl<T: RawEncode + RawFixedBytes> RawFixedBytes for Range<T>

Source§

impl<T: RawEncode> RawFixedBytes for [T]

Source§

impl<T: RawEncode> RawFixedBytes for Vec<T>

Source§

impl<T: RawEncode, U: ArrayLength<T>> RawFixedBytes for GenericArray<T, U>

Implementors§