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§
fn from_bytes(slice: &[u8]) -> Self
Object Safety§
This trait is not object safe.