Struct dicom_dump::ColorModeError
source · [−]pub struct ColorModeError;Expand description
The error raised when providing an invalid color mode.
Trait Implementations
sourceimpl Clone for ColorModeError
impl Clone for ColorModeError
sourcefn clone(&self) -> ColorModeError
fn clone(&self) -> ColorModeError
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 Debug for ColorModeError
impl Debug for ColorModeError
sourceimpl Default for ColorModeError
impl Default for ColorModeError
sourcefn default() -> ColorModeError
fn default() -> ColorModeError
Returns the “default value” for a type. Read more
sourceimpl Display for ColorModeError
impl Display for ColorModeError
sourceimpl Error for ColorModeError
impl Error for ColorModeError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl Hash for ColorModeError
impl Hash for ColorModeError
sourceimpl PartialEq<ColorModeError> for ColorModeError
impl PartialEq<ColorModeError> for ColorModeError
sourcefn eq(&self, other: &ColorModeError) -> bool
fn eq(&self, other: &ColorModeError) -> bool
impl Copy for ColorModeError
impl Eq for ColorModeError
impl StructuralEq for ColorModeError
impl StructuralPartialEq for ColorModeError
Auto Trait Implementations
impl RefUnwindSafe for ColorModeError
impl Send for ColorModeError
impl Sync for ColorModeError
impl Unpin for ColorModeError
impl UnwindSafe for ColorModeError
Blanket Implementations
sourceimpl<T> AsErrorSource for Twhere
T: 'static + Error,
impl<T> AsErrorSource for Twhere
T: 'static + Error,
sourcefn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers. Read more
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