pub struct PicoError {
pub code: pico_Status,
pub descr: String,
}
Expand description
An error caused by Pico TTS.
Fields§
§code: pico_Status
The Pico status code of the error.
Set to -1 for internal ttspico-rs
errors.
descr: String
A human-readable description of the error.
Trait Implementations§
impl Eq for PicoError
impl StructuralPartialEq for PicoError
Auto Trait Implementations§
impl Freeze for PicoError
impl RefUnwindSafe for PicoError
impl Send for PicoError
impl Sync for PicoError
impl Unpin for PicoError
impl UnwindSafe for PicoError
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