#[repr(isize)]pub enum ErrorCode {
UnknownError = 1,
OpFailed = 2,
InvalidFormat = 3,
InvalidModel = 4,
InvalidFile = 5,
}Variants§
UnknownError = 1
An error that represents a failure that no other error handles.
OpFailed = 2
An error that occurs when the framework fails to analyze audio.
InvalidFormat = 3
An error that indicates the audio data’s format isn’t valid.
InvalidModel = 4
An error that indicates the sound classifier’s underlying Core ML model is an invalid model type.
InvalidFile = 5
An error that indicates an audio file is invalid.
Trait Implementations§
impl Copy for Code
impl Eq for Code
impl StructuralPartialEq for Code
Auto Trait Implementations§
impl Freeze for Code
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnsafeUnpin for Code
impl UnwindSafe for Code
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