pub struct RtAudioError {
pub type_: RtAudioErrorType,
pub msg: Option<String>,
}
Fields§
§type_: RtAudioErrorType
§msg: Option<String>
Trait Implementations§
Source§impl Clone for RtAudioError
impl Clone for RtAudioError
Source§fn clone(&self) -> RtAudioError
fn clone(&self) -> RtAudioError
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 moreSource§impl Debug for RtAudioError
impl Debug for RtAudioError
Source§impl Display for RtAudioError
impl Display for RtAudioError
Source§impl Error for RtAudioError
impl Error for RtAudioError
1.30.0 · Source§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 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for RtAudioError
impl PartialEq for RtAudioError
impl Eq for RtAudioError
impl StructuralPartialEq for RtAudioError
Auto Trait Implementations§
impl Freeze for RtAudioError
impl RefUnwindSafe for RtAudioError
impl Send for RtAudioError
impl Sync for RtAudioError
impl Unpin for RtAudioError
impl UnwindSafe for RtAudioError
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