pub trait CodesReaderFactoryHelper<E: Endianness>: for<'a> CodesReaderFactory<E, CodesReader<'a>: CodesRead<E, Error = Self::Error>> {
type Error;
}
Expand description
Extension helper trait for CodesReaderFactory
.
By writing trait bounds using this helper instead of CodesReaderFactory
,
you can access the error type of the CodesReaderFactory::CodesReader
through
CodesReaderFactoryHelper::Error
.
Required Associated Types§
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.