pub enum AifcError {
Show 14 variants
UnrecognizedFormat,
Unsupported,
InvalidCommChunk,
InvalidSampleSize,
CommChunkNotFoundBeforeSsndChunk,
InvalidNumberOfChannels,
InvalidWriteState,
SizeTooLarge,
InvalidParameter,
InvalidSampleFormat,
TimestampOutOfBounds,
ReadError,
SeekError,
StdIoError(Error),
}
Expand description
Error values.
Variants§
UnrecognizedFormat
Unrecognized format.
Unsupported
The operation is not supported for the current compression type.
InvalidCommChunk
The COMM header chunk does not exist or it contains invalid values.
InvalidSampleSize
Invalid sample size.
CommChunkNotFoundBeforeSsndChunk
The COMM chunk was not found before the SSND chunk in the stream, which means that a single-pass reader can’t read it.
InvalidNumberOfChannels
Invalid number of channels.
InvalidWriteState
Invalid write state.
SizeTooLarge
The size is too large.
InvalidParameter
Invalid parameter.
InvalidSampleFormat
Invalid sample format.
TimestampOutOfBounds
Timestamp is out of bounds.
ReadError
Read error.
SeekError
Seek error.
StdIoError(Error)
Standard IO error.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AifcError
impl !RefUnwindSafe for AifcError
impl Send for AifcError
impl Sync for AifcError
impl Unpin for AifcError
impl !UnwindSafe for AifcError
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