pub enum HandwritingError {
ProtobufError(Error),
InvalidFrameSize(usize),
XZError(Error),
CompressionUnknown,
InvalidStrokesLength(usize, usize),
ConversionError,
DecompressedNotSet,
InvalidDecompressedLength(usize, usize),
ResizeError(TryFromIntError),
}Expand description
Errors that can happen when parsing handwriting data
Variants§
ProtobufError(Error)
Wraps an error returned by the protobuf parser.
InvalidFrameSize(usize)
Indicates that the frame size was invalid.
XZError(Error)
Wraps an error returned by the LZMA decompression.
CompressionUnknown
Indicates that the compression method is unknown.
InvalidStrokesLength(usize, usize)
Indicates that the strokes length is invalid.
ConversionError
Indicates a numeric conversion error.
DecompressedNotSet
Indicates that the decompressed data was not set.
InvalidDecompressedLength(usize, usize)
Indicates that the decompressed length is invalid.
ResizeError(TryFromIntError)
Wraps an error that occurred during resizing of handwriting coordinates.
Trait Implementations§
Source§impl Debug for HandwritingError
impl Debug for HandwritingError
Auto Trait Implementations§
impl Freeze for HandwritingError
impl !RefUnwindSafe for HandwritingError
impl Send for HandwritingError
impl Sync for HandwritingError
impl Unpin for HandwritingError
impl !UnwindSafe for HandwritingError
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