Enum Phaser Error
pub enum PhaserError {
InvalidSampleRate,
InvalidControls,
InvalidChannelCount,
InvalidMaximumFrames,
ChannelCount,
BufferTooShort,
TooManyFrames,
InvalidPhase,
}Variants§
InvalidSampleRate
InvalidControls
InvalidChannelCount
InvalidMaximumFrames
ChannelCount
BufferTooShort
TooManyFrames
InvalidPhase
Trait Implementations§
§impl Clone for PhaserError
impl Clone for PhaserError
§fn clone(&self) -> PhaserError
fn clone(&self) -> PhaserError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PhaserError
§impl Debug for PhaserError
impl Debug for PhaserError
§impl Display for PhaserError
impl Display for PhaserError
impl Eq for PhaserError
§impl Error for PhaserError
impl Error for PhaserError
1.30.0 · §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 · §fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
§impl PartialEq for PhaserError
impl PartialEq for PhaserError
impl StructuralPartialEq for PhaserError
Auto Trait Implementations§
impl Freeze for PhaserError
impl RefUnwindSafe for PhaserError
impl Send for PhaserError
impl Sync for PhaserError
impl Unpin for PhaserError
impl UnsafeUnpin for PhaserError
impl UnwindSafe for PhaserError
Blanket Implementations§
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more