[][src]Enum bwavfile::Error

pub enum Error {
    IOError(Error),
    UuidError(Error),
    HeaderNotRecognized,
    MissingRequiredDS64,
    ChunkMissing {
        signature: FourCC,
    },
    FmtChunkAfterData,
    NotMinimalWaveFile,
    DataChunkNotAligned,
    InsufficientDS64Reservation {
        expected: u64,
        actual: u64,
    },
    DataChunkNotPreparedForAppend,
}

Errors returned by methods in this crate.

Variants

IOError(Error)

An io::Error occurred

UuidError(Error)

An error occured reading a tag UUID

HeaderNotRecognized

The file does not begin with a recognized WAVE header

MissingRequiredDS64

A wave file with a 64-bit header does not contain the required ds64 metadata element

ChunkMissing

A data chunk required to complete the operation is not present in the file

Fields of ChunkMissing

signature: FourCC
FmtChunkAfterData

The file is formatted improperly

NotMinimalWaveFile

The file did not validate as a minimal WAV file

DataChunkNotAligned

The data chunk is not aligned to the desired page boundary

InsufficientDS64Reservation

The file cannot be converted into an RF64 file due to its internal structure

Fields of InsufficientDS64Reservation

expected: u64actual: u64
DataChunkNotPreparedForAppend

The file is not optimized for writing new data

Trait Implementations

impl Debug for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

Auto Trait Implementations

impl !RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl !UnwindSafe for Error

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.