Enum Voice Error
pub enum VoiceError {
InvalidConfiguration,
InvalidIndex,
}Variants§
Trait Implementations§
§impl Clone for VoiceError
impl Clone for VoiceError
§fn clone(&self) -> VoiceError
fn clone(&self) -> VoiceError
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 VoiceError
§impl Debug for VoiceError
impl Debug for VoiceError
§impl Display for VoiceError
impl Display for VoiceError
impl Eq for VoiceError
§impl Error for VoiceError
impl Error for VoiceError
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 VoiceError
impl PartialEq for VoiceError
impl StructuralPartialEq for VoiceError
Auto Trait Implementations§
impl Freeze for VoiceError
impl RefUnwindSafe for VoiceError
impl Send for VoiceError
impl Sync for VoiceError
impl Unpin for VoiceError
impl UnsafeUnpin for VoiceError
impl UnwindSafe for VoiceError
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