pub trait TransferSyntaxIndex {
    fn get(&self, uid: &str) -> Option<&TransferSyntax>;
}
Expand description

Trait for a container/repository of transfer syntax specifiers.

Types implementing this trait are held responsible for populating themselves with a set of transfer syntaxes, which can be fully supported, partially supported, or not supported. Usually, only one implementation of this trait is used for the entire program, the most common one being the TransferSyntaxRegistry type from transfer-syntax-registry.

Required Methods§

Obtain a DICOM transfer syntax by its respective UID.

Implementations of this method should be robust to the possible presence of trailing null characters (\0) in uid.

Implementations on Foreign Types§

Implementors§