Trait dicom_encoding::transfer_syntax::TransferSyntaxIndex[][src]

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

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>[src]

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.

Loading content...

Implementations on Foreign Types

impl<T: ?Sized> TransferSyntaxIndex for &T where
    T: TransferSyntaxIndex
[src]

Loading content...

Implementors

Loading content...