pub enum NeverAdapter {}Expand description
An immaterial type representing a data set adapter which is never required, and as such is never instantiated. Most transfer syntaxes use this, as they do not have to adapt readers and writers for encoding and decoding data sets. The main exception is in the family of Deflated Explicit VR Little Endian transfer syntaxes.
Trait Implementations§
source§impl Clone for NeverAdapter
impl Clone for NeverAdapter
source§fn clone(&self) -> NeverAdapter
fn clone(&self) -> NeverAdapter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<R, W> DataRWAdapter<R, W> for NeverAdapter
impl<R, W> DataRWAdapter<R, W> for NeverAdapter
source§fn adapt_reader(&self, _reader: R) -> Self::Readerwhere
R: Read,
fn adapt_reader(&self, _reader: R) -> Self::Readerwhere
R: Read,
Adapt a byte reader.
source§fn adapt_writer(&self, _writer: W) -> Self::Writerwhere
W: Write,
fn adapt_writer(&self, _writer: W) -> Self::Writerwhere
W: Write,
Adapt a byte writer.
source§impl Debug for NeverAdapter
impl Debug for NeverAdapter
source§impl Hash for NeverAdapter
impl Hash for NeverAdapter
source§impl Ord for NeverAdapter
impl Ord for NeverAdapter
source§fn cmp(&self, other: &NeverAdapter) -> Ordering
fn cmp(&self, other: &NeverAdapter) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<NeverAdapter> for NeverAdapter
impl PartialEq<NeverAdapter> for NeverAdapter
source§fn eq(&self, other: &NeverAdapter) -> bool
fn eq(&self, other: &NeverAdapter) -> bool
source§impl PartialOrd<NeverAdapter> for NeverAdapter
impl PartialOrd<NeverAdapter> for NeverAdapter
source§fn partial_cmp(&self, other: &NeverAdapter) -> Option<Ordering>
fn partial_cmp(&self, other: &NeverAdapter) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more