pub struct DeserializeResult<T> {
pub values: Vec<T>,
pub error: Option<DeserializeError>,
pub remaining_bytes: DeserializeBytes,
}
Expand description
Result from attempt to deserialize multiple items, including the successfully serialized items, an error if one occurred, and the remaining bytes that were not serialized.
Fields§
§values: Vec<T>
§error: Option<DeserializeError>
§remaining_bytes: DeserializeBytes
Trait Implementations§
Source§impl<T: Debug> Debug for DeserializeResult<T>
impl<T: Debug> Debug for DeserializeResult<T>
Source§impl<T: PartialEq> PartialEq for DeserializeResult<T>
impl<T: PartialEq> PartialEq for DeserializeResult<T>
impl<T> StructuralPartialEq for DeserializeResult<T>
Auto Trait Implementations§
impl<T> Freeze for DeserializeResult<T>
impl<T> RefUnwindSafe for DeserializeResult<T>where
T: RefUnwindSafe,
impl<T> Send for DeserializeResult<T>where
T: Send,
impl<T> Sync for DeserializeResult<T>where
T: Sync,
impl<T> Unpin for DeserializeResult<T>where
T: Unpin,
impl<T> UnwindSafe for DeserializeResult<T>where
T: UnwindSafe,
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