pub enum ParseFrameError {
ParseUncompressedChunk(ParseUncompressedChunkError),
InvalidPartitionSize(usize, usize),
ParseFrameHeader(BoolDecoderError),
ComputePartitionSizes(ComputePartitionSizesError),
BitstreamTooShort(usize, usize),
}
Variants§
ParseUncompressedChunk(ParseUncompressedChunkError)
InvalidPartitionSize(usize, usize)
ParseFrameHeader(BoolDecoderError)
ComputePartitionSizes(ComputePartitionSizesError)
BitstreamTooShort(usize, usize)
Trait Implementations§
Source§impl Debug for ParseFrameError
impl Debug for ParseFrameError
Source§impl Display for ParseFrameError
impl Display for ParseFrameError
Source§impl Error for ParseFrameError
impl Error for ParseFrameError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ComputePartitionSizesError> for ParseFrameError
impl From<ComputePartitionSizesError> for ParseFrameError
Source§fn from(source: ComputePartitionSizesError) -> Self
fn from(source: ComputePartitionSizesError) -> Self
Converts to this type from the input type.
Source§impl From<ParseFrameError> for DecodeError
impl From<ParseFrameError> for DecodeError
Source§fn from(source: ParseFrameError) -> Self
fn from(source: ParseFrameError) -> Self
Converts to this type from the input type.
Source§impl From<ParseUncompressedChunkError> for ParseFrameError
impl From<ParseUncompressedChunkError> for ParseFrameError
Source§fn from(source: ParseUncompressedChunkError) -> Self
fn from(source: ParseUncompressedChunkError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParseFrameError
impl !RefUnwindSafe for ParseFrameError
impl Send for ParseFrameError
impl Sync for ParseFrameError
impl Unpin for ParseFrameError
impl !UnwindSafe for ParseFrameError
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