pub enum GetSpeakerError {
ConnectionError(String),
BadRequest400,
ServiceUnavailable503,
InternalServerError500,
Unauthorised401(String),
NotModified304,
}
Available on crate feature
tts
only.Variants§
ConnectionError(String)
There was an error establishing the connection
BadRequest400
The service is currently unavailable
InternalServerError500
The service experienced an internal error
The specified speaker_id is invalid for the requesting credentials“)]
NotModified304
The requested resource has not been modified since the time specified by the If-Modified-Since header, as documented in the HTTP specification
Trait Implementations§
Source§impl Debug for GetSpeakerError
impl Debug for GetSpeakerError
Source§impl Display for GetSpeakerError
impl Display for GetSpeakerError
Source§impl Error for GetSpeakerError
impl Error for GetSpeakerError
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 GetSpeakerError
impl RefUnwindSafe for GetSpeakerError
impl Send for GetSpeakerError
impl Sync for GetSpeakerError
impl Unpin for GetSpeakerError
impl UnwindSafe for GetSpeakerError
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