Enum dicom_parser::stateful::encode::Error [−][src]
#[non_exhaustive]
pub enum Error {
UnsupportedTransferSyntax {
ts: &'static str,
backtrace: Backtrace,
},
UnsupportedCharacterSet {
charset: SpecificCharacterSet,
backtrace: Backtrace,
},
EncodeData {
position: u64,
source: Error,
},
EncodeText {
position: u64,
source: EncodeTextError,
},
WriteValueData {
position: u64,
source: Error,
backtrace: Backtrace,
},
}Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Fields of UnsupportedCharacterSet
charset: SpecificCharacterSetbacktrace: BacktraceFields of EncodeText
position: u64source: EncodeTextErrorTrait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more