pub enum DetectDominantLanguageError {
InternalServer(String),
InvalidRequest(String),
TextSizeLimitExceeded(String),
}Expand description
Errors returned by DetectDominantLanguage
Variants§
InternalServer(String)
An internal server error occurred. Retry your request.
InvalidRequest(String)
The request is invalid.
TextSizeLimitExceeded(String)
The size of the input text exceeds the limit. Use a smaller document.
Implementations§
Source§impl DetectDominantLanguageError
impl DetectDominantLanguageError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DetectDominantLanguageError>
Trait Implementations§
Source§impl Debug for DetectDominantLanguageError
impl Debug for DetectDominantLanguageError
Source§impl Error for DetectDominantLanguageError
impl Error for DetectDominantLanguageError
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()
impl StructuralPartialEq for DetectDominantLanguageError
Auto Trait Implementations§
impl Freeze for DetectDominantLanguageError
impl RefUnwindSafe for DetectDominantLanguageError
impl Send for DetectDominantLanguageError
impl Sync for DetectDominantLanguageError
impl Unpin for DetectDominantLanguageError
impl UnwindSafe for DetectDominantLanguageError
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