pub enum OptionsError {
InvalidBlockSize,
InvalidLpcOrder,
InvalidMaxPartitions,
ExcessivePadding,
}Expand description
An error when specifying encoding options
Variants§
InvalidBlockSize
Selected block size is too small
InvalidLpcOrder
Maximum LPC order is too large
InvalidMaxPartitions
Maximum residual partitions is too large
ExcessivePadding
Selected padding size is too large
Trait Implementations§
Source§impl Debug for OptionsError
impl Debug for OptionsError
Source§impl Display for OptionsError
impl Display for OptionsError
Source§impl Error for OptionsError
impl Error for OptionsError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for OptionsError
impl RefUnwindSafe for OptionsError
impl Send for OptionsError
impl Sync for OptionsError
impl Unpin for OptionsError
impl UnwindSafe for OptionsError
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