[−][src]Enum flac_bound::FlacEncoderInitError
Possible erroneous return values for the FlacEncoderConfig::init_*()
functions.
Variants
General failure to set up encoder; call FlacEncoder::state()
for cause.
The library was not compiled with support for the given container format.
A required callback was not supplied.
The encoder has an invalid setting for number of channels.
The encoder has an invalid setting for bits-per-sample.
FLAC supports 4-32 bps but the reference encoder currently supports only up to 24 bps.
The encoder has an invalid setting for the input sample rate.
The encoder has an invalid setting for the block size.
The encoder has an invalid setting for the maximum LPC order.
The encoder has an invalid setting for the precision of the quantized linear predictor coefficients.
The specified block size is less than the maximum LPC order.
The encoder is bound to the Subset but other settings violate it.
The metadata input to the encoder is invalid, in one of the following ways:
- One of the metadata blocks contains an undefined type
- It contains an illegal CUESHEET as checked by
FLAC__format_cuesheet_is_legal()
- It contains an illegal SEEKTABLE as checked by
FLAC__format_seektable_is_legal()
- It contains more than one SEEKTABLE block or more than one VORBIS_COMMENT block
FlacEncoderConfig::init_*()
was called when the encoder was already initialized, usually because
FLAC__stream_encoder_finish() was not called.
Trait Implementations
impl Clone for FlacEncoderInitError
[src]
fn clone(&self) -> FlacEncoderInitError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FlacEncoderInitError
[src]
impl Debug for FlacEncoderInitError
[src]
impl Eq for FlacEncoderInitError
[src]
impl Hash for FlacEncoderInitError
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Into<u32> for FlacEncoderInitError
[src]
fn into(self) -> FLAC__StreamEncoderInitStatus
[src]
impl Ord for FlacEncoderInitError
[src]
fn cmp(&self, other: &FlacEncoderInitError) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<FlacEncoderInitError> for FlacEncoderInitError
[src]
fn eq(&self, other: &FlacEncoderInitError) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<FlacEncoderInitError> for FlacEncoderInitError
[src]
fn partial_cmp(&self, other: &FlacEncoderInitError) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for FlacEncoderInitError
[src]
impl StructuralPartialEq for FlacEncoderInitError
[src]
impl TryFrom<u32> for FlacEncoderInitError
[src]
type Error = ()
The type returned in the event of a conversion error.
fn try_from(
raw: FLAC__StreamEncoderInitStatus
) -> Result<FlacEncoderInitError, ()>
[src]
raw: FLAC__StreamEncoderInitStatus
) -> Result<FlacEncoderInitError, ()>
Auto Trait Implementations
impl RefUnwindSafe for FlacEncoderInitError
impl Send for FlacEncoderInitError
impl Sync for FlacEncoderInitError
impl Unpin for FlacEncoderInitError
impl UnwindSafe for FlacEncoderInitError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,