Enum dicom_encoding::transfer_syntax::Codec [−][src]
pub enum Codec<A> {
None,
Unsupported,
EncapsulatedPixelData,
PixelData(A),
Dataset(A),
}A description and possible implementation regarding the encoding and decoding requirements of a transfer syntax. This is also used as a means to describe whether pixel data is encapsulated and whether this implementation supports it.
Variants
No codec is given, nor is it required.
Custom encoding and decoding of the entire data set is required, but not supported. This could be used by a stub of Deflated Explicit VR Little Endian, for example.
Custom encoding and decoding of the pixel data set is required, but not supported. The program should still be able to parse DICOM data sets and fetch the pixel data in its encapsulated form.
A pixel data encapsulation codec is required and provided for reading and writing pixel data.
A full, custom data set codec is required and provided.
Trait Implementations
impl<A> StructuralPartialEq for Codec<A>[src]
impl<A> StructuralPartialEq for Codec<A>[src]Auto Trait Implementations
impl<A> RefUnwindSafe for Codec<A> where
A: RefUnwindSafe,
impl<A> RefUnwindSafe for Codec<A> where
A: RefUnwindSafe, impl<A> UnwindSafe for Codec<A> where
A: UnwindSafe,
impl<A> UnwindSafe for Codec<A> where
A: UnwindSafe,