Crate generic_bytes[][src]


The error type returned when a conversion from a generic byte slice to a SizedBytes fails.


A trait for sized key material that can be represented within a fixed byte array size, used to represent our DH key types. This trait being implemented with Error = SomeError allows you to derive TryFrom<&[u8], Error = SomeError>.