Module traits

Source
Expand description

§Traits

Contains all the traits associated with functions in this library

Traits§

ConvertAsBytes
ConvertAsBytes convert different types of data into a Vec<u8>, made just for convinence
It is auto implemented (if imported) for the following types:
Vec<u8>, &[u8], &str, String, [u8; N] (1 thru 16), and u8
Parsable
Parsable means that the item is parsable from raw bytes to itself
ParsableContext
ParsableContext means that the item is parsable from raw bytes to itself with a self context