[−][src]Enum async_resol_vbus::specification_file::ErrorKind
A list of errors that can occur if the VSF1 data cannot be parsed.
Variants
The data is too small for a valid FILEHEADER.
The data length does not match the "TotalLength" field of the FILEHEADER.
The data does not match the "ChecksumA" field of the FILEHEADER.
The data does not match the "ChecksumB" field of the FILEHEADER.
The "DataVersion" field of the FILEHEADER is not supported.
The "SpecificationOffset" of the FILEHEADER is out-of-bounds.
The "Text{Count,TableOffset}" fields of the SPECIFICATION block are out-of-bounds.
The "LocalizedText{Count,TableOffset}" fields of the SPECIFICATION block are out-of-bounds.
The "Unit{Count,TableOffset}" fields of the SPECIFICATION block are out-of-bounds.
The "DeviceTemplate{Count,TableOffset}" fields of the SPECIFICATION block are out-of-bounds.
The "PacketTemplate{Count,TableOffset}" fields of the SPECIFICATION block are out-of-bounds.
The "StringOffset" field of a TEXT block is out-of-bounds.
The contents of a TEXT is out-of-bounds.
The "TextIndexEN" field of a LOCALIZEDTEXT block is out-of-bounds.
The "TextIndexDE" field of a LOCALIZEDTEXT block is out-of-bounds.
The "TextIndexFR" field of a LOCALIZEDTEXT block is out-of-bounds.
The "UnitFamilyId" field of a UNIT block is out-of-bounds.
The "UnitCodeTextIndex" field of a UNIT block is out-of-bounds.
The "UnitTextTextIndex" field of a UNIT block is out-of-bounds.
The "NameLocalizedTextIndex" field of a DEVICETEMPLATE block is out-of-bounds.
The "Field{Count,TableOffset}" fields of a PACKETTEMPLATE block are out-of-bounds.
The "IdTextIndex" of a PACKETTEMPLATEFIELD block is out-of-bounds.
The "NameLocalizedTextIndex" of a PACKETTEMPLATEFIELD block is out-of-bounds.
The "UnitId" of a PACKETTEMPLATEFIELD block is out-of-bounds.
The "TypeId" of a PACKETTEMPLATEFIELD block is out-of-bounds.
The "Part{Count,TableOffset}" of a PACKETTEMPLATEFIELD is out-of-bounds.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> 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, 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>,