pub enum SpeechTextError {
Empty,
TooLong {
actual_bytes: usize,
maximum_bytes: usize,
},
}Variants§
Trait Implementations§
Source§impl Debug for SpeechTextError
impl Debug for SpeechTextError
Source§impl Display for SpeechTextError
impl Display for SpeechTextError
Source§impl Error for SpeechTextError
impl Error for SpeechTextError
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()
Auto Trait Implementations§
impl Freeze for SpeechTextError
impl RefUnwindSafe for SpeechTextError
impl Send for SpeechTextError
impl Sync for SpeechTextError
impl Unpin for SpeechTextError
impl UnsafeUnpin for SpeechTextError
impl UnwindSafe for SpeechTextError
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