Trait dicom_encoding::transfer_syntax::TransferSyntaxIndex [−][src]
pub trait TransferSyntaxIndex {
fn get(&self, uid: &str) -> Option<&TransferSyntax>;
}Expand description
Trait for containers 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.
Required methods
fn get(&self, uid: &str) -> Option<&TransferSyntax>
fn get(&self, uid: &str) -> Option<&TransferSyntax>
Obtain a DICOM transfer syntax by its respective UID.
Implementations of this method should be robust to the possible
presence of a trailing null characters (\0) in uid.