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
sourceimpl Clone for NeverAdapter
impl Clone for NeverAdapter
sourcefn clone(&self) -> NeverAdapter
fn clone(&self) -> NeverAdapter
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<R, W> DataRWAdapter<R, W> for NeverAdapter
impl<R, W> DataRWAdapter<R, W> for NeverAdapter
sourcefn adapt_reader(&self, _reader: R) -> Self::Readerwhere
R: Read,
fn adapt_reader(&self, _reader: R) -> Self::Readerwhere
R: Read,
Adapt a byte reader.
sourcefn adapt_writer(&self, _writer: W) -> Self::Writerwhere
W: Write,
fn adapt_writer(&self, _writer: W) -> Self::Writerwhere
W: Write,
Adapt a byte writer.
sourceimpl Debug for NeverAdapter
impl Debug for NeverAdapter
sourceimpl Hash for NeverAdapter
impl Hash for NeverAdapter
sourceimpl Ord for NeverAdapter
impl Ord for NeverAdapter
sourcefn cmp(&self, other: &NeverAdapter) -> Ordering
fn cmp(&self, other: &NeverAdapter) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<NeverAdapter> for NeverAdapter
impl PartialEq<NeverAdapter> for NeverAdapter
sourcefn eq(&self, other: &NeverAdapter) -> bool
fn eq(&self, other: &NeverAdapter) -> bool
sourceimpl PartialOrd<NeverAdapter> for NeverAdapter
impl PartialOrd<NeverAdapter> for NeverAdapter
sourcefn partial_cmp(&self, other: &NeverAdapter) -> Option<Ordering>
fn partial_cmp(&self, other: &NeverAdapter) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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 moreimpl Copy for NeverAdapter
impl Eq for NeverAdapter
impl StructuralEq for NeverAdapter
impl StructuralPartialEq for NeverAdapter
Auto Trait Implementations
impl RefUnwindSafe for NeverAdapter
impl Send for NeverAdapter
impl Sync for NeverAdapter
impl Unpin for NeverAdapter
impl UnwindSafe for NeverAdapter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more