bundler::bundle

Trait FromByteSlice

Source
trait FromByteSlice {
    // Required method
    fn from_bytes(slice: &[u8]) -> Self;
}
Expand description

An extension trait used to implement header creation from byte slices

Required Methods§

Source

fn from_bytes(slice: &[u8]) -> Self

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 FromByteSlice for Header

Source§

fn from_bytes(slice: &[u8]) -> Self

Implementors§