Skip to main content

Association

Trait Association 

Source
pub trait Association {
    // Required methods
    fn peer_ae_title(&self) -> &str;
    fn acceptor_max_pdu_length(&self) -> u32;
    fn requestor_max_pdu_length(&self) -> u32;
    fn local_max_pdu_length(&self) -> u32;
    fn peer_max_pdu_length(&self) -> u32;
    fn presentation_contexts(&self) -> &[PresentationContextNegotiated];
    fn user_variables(&self) -> &[UserVariableItem];
}
Expand description

Trait that represents common properties of an association

Required Methods§

Source

fn peer_ae_title(&self) -> &str

Obtain the remote DICOM node’s application entity title.

Source

fn acceptor_max_pdu_length(&self) -> u32

Retrieve the maximum PDU length admitted by the association acceptor.

Source

fn requestor_max_pdu_length(&self) -> u32

Retrieve the maximum PDU length admitted by the association requestor.

Source

fn local_max_pdu_length(&self) -> u32

Retrieve the maximum PDU length that this application entity is expecting to receive. That’s the same as acceptor_max_pdu_length() for server objects, and as requestor_max_pdu_length() for client objects.

The current implementation is not required to fail and/or abort the association if a larger PDU is received.

Source

fn peer_max_pdu_length(&self) -> u32

Retrieve the maximum PDU length admitted by the peer. That’s the same as requestor_max_pdu_length() for server objects, and as acceptor_max_pdu_length() for client objects.

Source

fn presentation_contexts(&self) -> &[PresentationContextNegotiated]

Obtain a view of the negotiated presentation contexts.

Source

fn user_variables(&self) -> &[UserVariableItem]

Retrieve the user variables that were taken from the server.

It usually contains the maximum PDU length, the implementation class UID, and the implementation version name.

Implementors§