pub enum ListSpeakersError {
InternalServerError500,
ServiceUnavailable503,
ConnectionError(String),
BadRequest400,
}
Available on crate feature
tts
only.Variants§
InternalServerError500
The service experienced an internal error
The service is currently unavailable
ConnectionError(String)
There was an error making the request
BadRequest400
The request failed. Possible failure causes include. Invalid service credentials were passed with the request
Trait Implementations§
Source§impl Debug for ListSpeakersError
impl Debug for ListSpeakersError
Source§impl Display for ListSpeakersError
impl Display for ListSpeakersError
Source§impl Error for ListSpeakersError
impl Error for ListSpeakersError
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 ListSpeakersError
impl RefUnwindSafe for ListSpeakersError
impl Send for ListSpeakersError
impl Sync for ListSpeakersError
impl Unpin for ListSpeakersError
impl UnwindSafe for ListSpeakersError
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