pub enum FlacDecoderInitErrorCode {
StreamDecoderInitStatusOk = 0,
StreamDecoderInitStatusUnsupportedContainer = 1,
StreamDecoderInitStatusInvalidCallbacks = 2,
StreamDecoderInitStatusMemoryAllocationError = 3,
StreamDecoderInitStatusErrorOpeningFile = 4,
StreamDecoderInitStatusAlreadyInitialized = 5,
}Variants§
StreamDecoderInitStatusOk = 0
StreamDecoderInitStatusUnsupportedContainer = 1
StreamDecoderInitStatusInvalidCallbacks = 2
StreamDecoderInitStatusMemoryAllocationError = 3
StreamDecoderInitStatusErrorOpeningFile = 4
StreamDecoderInitStatusAlreadyInitialized = 5
Trait Implementations§
Source§impl Clone for FlacDecoderInitErrorCode
impl Clone for FlacDecoderInitErrorCode
Source§fn clone(&self) -> FlacDecoderInitErrorCode
fn clone(&self) -> FlacDecoderInitErrorCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FlacDecoderInitErrorCode
impl Debug for FlacDecoderInitErrorCode
Source§impl Display for FlacDecoderInitErrorCode
impl Display for FlacDecoderInitErrorCode
Source§impl Error for FlacDecoderInitErrorCode
impl Error for FlacDecoderInitErrorCode
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()
Source§impl From<u32> for FlacDecoderInitErrorCode
impl From<u32> for FlacDecoderInitErrorCode
impl Copy for FlacDecoderInitErrorCode
Auto Trait Implementations§
impl Freeze for FlacDecoderInitErrorCode
impl RefUnwindSafe for FlacDecoderInitErrorCode
impl Send for FlacDecoderInitErrorCode
impl Sync for FlacDecoderInitErrorCode
impl Unpin for FlacDecoderInitErrorCode
impl UnwindSafe for FlacDecoderInitErrorCode
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