pub trait TryFromSliceRef<'a, E>: TryFrom<&'a [u8], Error = E> { }
Expand description
A type of a trait alias, to work around https://github.com/rust-lang/rust/issues/113517.
If not for that issue, we could just use TryFrom<&'a [u8]>
directly in the bounds.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.