[−]Enum dicom_core::error::InvalidValueReadError
Triggered when a value parsing attempt fails.
Variants
NonPrimitiveType
The value cannot be read as a primitive value.
UnresolvedValueLength
The value's effective length cannot be resolved.
InvalidToken(u8, &'static str)
The value does not have the expected format.
InvalidLength(usize, &'static str)
The value does not have the expected length.
ParseDateTime(u32, &'static str)
Invalid date or time component.
DateTimeZone
Invalid or ambiguous combination of date with time.
Chrono(ParseError)
chrono error when parsing a date or time.
ParseFloat(ParseFloatError)
The value cannot be parsed to a floating point number.
ParseInteger(ParseIntError)
The value cannot be parsed to an integer.
UnexpectedEndOfElement
An attempt of reading more than the number of bytes in the length attribute was made.
Trait Implementations
impl From<InvalidValueReadError> for Error
fn from(err: InvalidValueReadError) -> Error
impl From<ParseError> for InvalidValueReadError
fn from(err: ParseError) -> InvalidValueReadError
impl From<ParseFloatError> for InvalidValueReadError
fn from(err: ParseFloatError) -> InvalidValueReadError
impl From<ParseIntError> for InvalidValueReadError
fn from(err: ParseIntError) -> InvalidValueReadError
impl PartialEq<InvalidValueReadError> for InvalidValueReadError
[src]
fn eq(&self, other: &InvalidValueReadError) -> bool
[src]
fn ne(&self, other: &InvalidValueReadError) -> bool
[src]
impl Clone for InvalidValueReadError
[src]
fn clone(&self) -> InvalidValueReadError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for InvalidValueReadError
[src]
impl Display for InvalidValueReadError
impl Debug for InvalidValueReadError
[src]
impl Error for InvalidValueReadError
Auto Trait Implementations
impl Send for InvalidValueReadError
impl Unpin for InvalidValueReadError
impl Sync for InvalidValueReadError
impl UnwindSafe for InvalidValueReadError
impl RefUnwindSafe for InvalidValueReadError
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,