Enum libfmod::FmodResult
source · pub enum FmodResult {
Show 82 variants
Ok,
ErrBadcommand,
ErrChannelAlloc,
ErrChannelStolen,
ErrDma,
ErrDspConnection,
ErrDspDontprocess,
ErrDspFormat,
ErrDspInuse,
ErrDspNotfound,
ErrDspReserved,
ErrDspSilence,
ErrDspType,
ErrFileBad,
ErrFileCouldnotseek,
ErrFileDiskejected,
ErrFileEof,
ErrFileEndofdata,
ErrFileNotfound,
ErrFormat,
ErrHeaderMismatch,
ErrHttp,
ErrHttpAccess,
ErrHttpProxyAuth,
ErrHttpServerError,
ErrHttpTimeout,
ErrInitialization,
ErrInitialized,
ErrInternal,
ErrInvalidFloat,
ErrInvalidHandle,
ErrInvalidParam,
ErrInvalidPosition,
ErrInvalidSpeaker,
ErrInvalidSyncpoint,
ErrInvalidThread,
ErrInvalidVector,
ErrMaxaudible,
ErrMemory,
ErrMemoryCantpoint,
ErrNeeds3D,
ErrNeedshardware,
ErrNetConnect,
ErrNetSocketError,
ErrNetUrl,
ErrNetWouldBlock,
ErrNotready,
ErrOutputAllocated,
ErrOutputCreatebuffer,
ErrOutputDrivercall,
ErrOutputFormat,
ErrOutputInit,
ErrOutputNodrivers,
ErrPlugin,
ErrPluginMissing,
ErrPluginResource,
ErrPluginVersion,
ErrRecord,
ErrReverbChannelgroup,
ErrReverbInstance,
ErrSubsounds,
ErrSubsoundAllocated,
ErrSubsoundCantmove,
ErrTagnotfound,
ErrToomanychannels,
ErrTruncated,
ErrUnimplemented,
ErrUninitialized,
ErrUnsupported,
ErrVersion,
ErrEventAlreadyLoaded,
ErrEventLiveupdateBusy,
ErrEventLiveupdateMismatch,
ErrEventLiveupdateTimeout,
ErrEventNotfound,
ErrStudioUninitialized,
ErrStudioNotLoaded,
ErrInvalidString,
ErrAlreadyLocked,
ErrNotLocked,
ErrRecordDisconnected,
ErrToomanysamples,
}Variants§
Ok
ErrBadcommand
ErrChannelAlloc
ErrChannelStolen
ErrDma
ErrDspConnection
ErrDspDontprocess
ErrDspFormat
ErrDspInuse
ErrDspNotfound
ErrDspReserved
ErrDspSilence
ErrDspType
ErrFileBad
ErrFileCouldnotseek
ErrFileDiskejected
ErrFileEof
ErrFileEndofdata
ErrFileNotfound
ErrFormat
ErrHeaderMismatch
ErrHttp
ErrHttpAccess
ErrHttpProxyAuth
ErrHttpServerError
ErrHttpTimeout
ErrInitialization
ErrInitialized
ErrInternal
ErrInvalidFloat
ErrInvalidHandle
ErrInvalidParam
ErrInvalidPosition
ErrInvalidSpeaker
ErrInvalidSyncpoint
ErrInvalidThread
ErrInvalidVector
ErrMaxaudible
ErrMemory
ErrMemoryCantpoint
ErrNeeds3D
ErrNeedshardware
ErrNetConnect
ErrNetSocketError
ErrNetUrl
ErrNetWouldBlock
ErrNotready
ErrOutputAllocated
ErrOutputCreatebuffer
ErrOutputDrivercall
ErrOutputFormat
ErrOutputInit
ErrOutputNodrivers
ErrPlugin
ErrPluginMissing
ErrPluginResource
ErrPluginVersion
ErrRecord
ErrReverbChannelgroup
ErrReverbInstance
ErrSubsounds
ErrSubsoundAllocated
ErrSubsoundCantmove
ErrTagnotfound
ErrToomanychannels
ErrTruncated
ErrUnimplemented
ErrUninitialized
ErrUnsupported
ErrVersion
ErrEventAlreadyLoaded
ErrEventLiveupdateBusy
ErrEventLiveupdateMismatch
ErrEventLiveupdateTimeout
ErrEventNotfound
ErrStudioUninitialized
ErrStudioNotLoaded
ErrInvalidString
ErrAlreadyLocked
ErrNotLocked
ErrRecordDisconnected
ErrToomanysamples
Implementations§
source§impl FmodResult
impl FmodResult
pub fn from(value: FMOD_RESULT) -> Result<FmodResult, Error>
Trait Implementations§
source§impl Clone for FmodResult
impl Clone for FmodResult
source§fn clone(&self) -> FmodResult
fn clone(&self) -> FmodResult
Returns a copy 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 FmodResult
impl Debug for FmodResult
source§impl From<FmodResult> for FMOD_RESULT
impl From<FmodResult> for FMOD_RESULT
source§fn from(value: FmodResult) -> FMOD_RESULT
fn from(value: FmodResult) -> FMOD_RESULT
Converts to this type from the input type.
source§impl PartialEq for FmodResult
impl PartialEq for FmodResult
source§fn eq(&self, other: &FmodResult) -> bool
fn eq(&self, other: &FmodResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for FmodResult
impl StructuralPartialEq for FmodResult
Auto Trait Implementations§
impl RefUnwindSafe for FmodResult
impl Send for FmodResult
impl Sync for FmodResult
impl Unpin for FmodResult
impl UnwindSafe for FmodResult
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