Enum wavv::Error [−][src]
pub enum Error { UnknownChunkID([u8; 4]), CantParseSliceInto(TryFromSliceError), CantParseChunk(ChunkId), CantParseMetaDataChunk, NoRiffChunkFound, NoWaveIdFound, NoDataChunkFound, NoFmtChunkFound, UnsupportedBitDepth(u16), }
Expand description
Error type for different parsing failures
Variants
Unknown or unsupported Chunk ID
Failed parsing slice into specific bytes
Tuple Fields of CantParseSliceInto
Failed parsing chunk with given id
Tuple Fields of CantParseChunk
0: ChunkId
Failed parsing meta data chunk
no riff chunk found in file, probably not a valid RIFF file
no wave id found in file, probably not a valid WAV file
no data chunk found in file
no fmt/header chunk found in file
unsupported bit depth
Trait Implementations
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more