#[repr(C)]pub enum mpg123_errors {
Show 48 variants
MPG123_DONE = -12,
MPG123_NEW_FORMAT = -11,
MPG123_NEED_MORE = -10,
MPG123_ERR = -1,
MPG123_OK = 0,
MPG123_BAD_OUTFORMAT = 1,
MPG123_BAD_CHANNEL = 2,
MPG123_BAD_RATE = 3,
MPG123_ERR_16TO8TABLE = 4,
MPG123_BAD_PARAM = 5,
MPG123_BAD_BUFFER = 6,
MPG123_OUT_OF_MEM = 7,
MPG123_NOT_INITIALIZED = 8,
MPG123_BAD_DECODER = 9,
MPG123_BAD_HANDLE = 10,
MPG123_NO_BUFFERS = 11,
MPG123_BAD_RVA = 12,
MPG123_NO_GAPLESS = 13,
MPG123_NO_SPACE = 14,
MPG123_BAD_TYPES = 15,
MPG123_BAD_BAND = 16,
MPG123_ERR_NULL = 17,
MPG123_ERR_READER = 18,
MPG123_NO_SEEK_FROM_END = 19,
MPG123_BAD_WHENCE = 20,
MPG123_NO_TIMEOUT = 21,
MPG123_BAD_FILE = 22,
MPG123_NO_SEEK = 23,
MPG123_NO_READER = 24,
MPG123_BAD_PARS = 25,
MPG123_BAD_INDEX_PAR = 26,
MPG123_OUT_OF_SYNC = 27,
MPG123_RESYNC_FAIL = 28,
MPG123_NO_8BIT = 29,
MPG123_BAD_ALIGN = 30,
MPG123_NULL_BUFFER = 31,
MPG123_NO_RELSEEK = 32,
MPG123_NULL_POINTER = 33,
MPG123_BAD_KEY = 34,
MPG123_NO_INDEX = 35,
MPG123_INDEX_FAIL = 36,
MPG123_BAD_DECODER_SETUP = 37,
MPG123_MISSING_FEATURE = 38,
MPG123_BAD_VALUE = 39,
MPG123_LSEEK_FAILED = 40,
MPG123_BAD_CUSTOM_IO = 41,
MPG123_LFS_OVERFLOW = 42,
MPG123_INT_OVERFLOW = 43,
}Variants§
MPG123_DONE = -12
MPG123_NEW_FORMAT = -11
MPG123_NEED_MORE = -10
MPG123_ERR = -1
MPG123_OK = 0
MPG123_BAD_OUTFORMAT = 1
MPG123_BAD_CHANNEL = 2
MPG123_BAD_RATE = 3
MPG123_ERR_16TO8TABLE = 4
MPG123_BAD_PARAM = 5
MPG123_BAD_BUFFER = 6
MPG123_OUT_OF_MEM = 7
MPG123_NOT_INITIALIZED = 8
MPG123_BAD_DECODER = 9
MPG123_BAD_HANDLE = 10
MPG123_NO_BUFFERS = 11
MPG123_BAD_RVA = 12
MPG123_NO_GAPLESS = 13
MPG123_NO_SPACE = 14
MPG123_BAD_TYPES = 15
MPG123_BAD_BAND = 16
MPG123_ERR_NULL = 17
MPG123_ERR_READER = 18
MPG123_NO_SEEK_FROM_END = 19
MPG123_BAD_WHENCE = 20
MPG123_NO_TIMEOUT = 21
MPG123_BAD_FILE = 22
MPG123_NO_SEEK = 23
MPG123_NO_READER = 24
MPG123_BAD_PARS = 25
MPG123_BAD_INDEX_PAR = 26
MPG123_OUT_OF_SYNC = 27
MPG123_RESYNC_FAIL = 28
MPG123_NO_8BIT = 29
MPG123_BAD_ALIGN = 30
MPG123_NULL_BUFFER = 31
MPG123_NO_RELSEEK = 32
MPG123_NULL_POINTER = 33
MPG123_BAD_KEY = 34
MPG123_NO_INDEX = 35
MPG123_INDEX_FAIL = 36
MPG123_BAD_DECODER_SETUP = 37
MPG123_MISSING_FEATURE = 38
MPG123_BAD_VALUE = 39
MPG123_LSEEK_FAILED = 40
MPG123_BAD_CUSTOM_IO = 41
MPG123_LFS_OVERFLOW = 42
MPG123_INT_OVERFLOW = 43
Trait Implementations§
Source§impl Clone for mpg123_errors
impl Clone for mpg123_errors
Source§fn clone(&self) -> mpg123_errors
fn clone(&self) -> mpg123_errors
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 moreimpl Copy for mpg123_errors
Auto Trait Implementations§
impl Freeze for mpg123_errors
impl RefUnwindSafe for mpg123_errors
impl Send for mpg123_errors
impl Sync for mpg123_errors
impl Unpin for mpg123_errors
impl UnwindSafe for mpg123_errors
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