pub struct SpeechError { /* private fields */ }Expand description
A SpeechErrorKind that you can match on, plus the message the OS gave us.
Display writes just that message, which is already worded for end users.
Implementations§
Source§impl SpeechError
impl SpeechError
Trait Implementations§
Source§impl Clone for SpeechError
impl Clone for SpeechError
Source§impl Debug for SpeechError
impl Debug for SpeechError
Source§impl Display for SpeechError
impl Display for SpeechError
impl Eq for SpeechError
Source§impl Error for SpeechError
impl Error for SpeechError
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 SpeechError
impl PartialEq for SpeechError
impl StructuralPartialEq for SpeechError
Auto Trait Implementations§
impl Freeze for SpeechError
impl RefUnwindSafe for SpeechError
impl Send for SpeechError
impl Sync for SpeechError
impl Unpin for SpeechError
impl UnsafeUnpin for SpeechError
impl UnwindSafe for SpeechError
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