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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FromByteSlice for Header

source§

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

Implementors§