[][src]Crate generic_bytes_derive

Derive Macros

SizedBytes
TryFromForSizedBytes

Derive TryFrom<&u8, Error = ErrorType> for any T: SizedBytes, assuming ErrorType: Default. This proc-macro is here to work around the lack of specialization, but there's nothing otherwise clever about it.