#[derive(TryFromForSizedBytes)]
{
    // Attributes available to this derive:
    #[ErrorType]
}
Expand description

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.