Skip to main content

Crate dicom_ul

Crate dicom_ul 

Source
Expand description

This crates contains the types and methods needed to interact with DICOM nodes through the upper layer protocol.

This crate can be used as a base for finite-state machines and higher-level helpers, enabling the creation of concrete service class users (SCUs) and service class providers (SCPs).

  • The address module provides an abstraction for working with compound addresses referring to application entities in a network.
  • The pdu module provides data structures representing protocol data units, which are passed around as part of the DICOM network communication support.
  • The association module comprises abstractions for establishing and negotiating associations between application entities, via the upper layer protocol by TCP.

DICOM Associations on top of TLS is also supported, thus offering a Secure Transport Connection. TLS capabilities are provided by one of the backends supported by Rustls, which includes client authentication if desired.

§Features

  • async: Enables a fully asynchronous implementation of the upper layer protocol. See ClientAssociationOptions and ServerAssociationOptions for details
  • sync-tls: Enables TLS support for synchronous associations.
  • async-tls: Enables TLS support for asynchronous associations. Implies async and sync-tls.
  • full: Enables all capabilities: async-tls

Re-exports§

pub use address::AeAddr;
pub use address::FullAeAddr;
pub use association::client::ClientAssociation;
pub use association::client::ClientAssociationOptions;
pub use association::server::ServerAssociation;
pub use association::server::ServerAssociationOptions;
pub use pdu::read_pdu;
pub use pdu::write_pdu;
pub use pdu::Pdu;

Modules§

address
Data types for addresses to nodes in DICOM networks.
association
DICOM association module
pdu
Protocol Data Unit module
prelude
Prelude module for easy inclusion of important types

Constants§

IMPLEMENTATION_CLASS_UID
The current implementation class UID generically referring to DICOM-rs.
IMPLEMENTATION_VERSION_NAME
The current implementation version name generically referring to DICOM-rs.