pub struct PropertyValueDecodeError {
pub error: Error,
pub offset: usize,
pub stage: PropertyValueDecodeStage,
pub kind: PropertyValueDecodeFailure,
pub property_identifier: Option<PropertyIdentifier>,
pub property_array_index: Option<u32>,
pub reference_complete: bool,
}Expand description
A failed property value decode, with what was read before the failure.
Fields§
§error: ErrorThe decode error.
offset: usizeOffset of the failure in the input.
stage: PropertyValueDecodeStageThe member being read.
kind: PropertyValueDecodeFailureWhy the decode failed.
property_identifier: Option<PropertyIdentifier>The property identifier, once it was read.
property_array_index: Option<u32>The array index, once it was read.
reference_complete: boolWhether the property reference (identifier and optional index) was read in full before the failure.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PropertyValueDecodeError
impl !UnwindSafe for PropertyValueDecodeError
impl Freeze for PropertyValueDecodeError
impl Send for PropertyValueDecodeError
impl Sync for PropertyValueDecodeError
impl Unpin for PropertyValueDecodeError
impl UnsafeUnpin for PropertyValueDecodeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more