pub enum LogoutError {
InvalidRequest(String),
TooManyRequests(String),
Unauthorized(String),
}Expand description
Errors returned by Logout
Variants§
InvalidRequest(String)
Indicates that a problem occurred with the input to the request. For example, a required parameter might be missing or out of range.
TooManyRequests(String)
Indicates that the request is being made too frequently and is more than what the server can handle.
Indicates that the request is not authorized. This can happen due to an invalid access token in the request.
Implementations§
Source§impl LogoutError
impl LogoutError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<LogoutError>
Trait Implementations§
Source§impl Debug for LogoutError
impl Debug for LogoutError
Source§impl Display for LogoutError
impl Display for LogoutError
Source§impl Error for LogoutError
impl Error for LogoutError
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()
Source§impl PartialEq for LogoutError
impl PartialEq for LogoutError
impl StructuralPartialEq for LogoutError
Auto Trait Implementations§
impl Freeze for LogoutError
impl RefUnwindSafe for LogoutError
impl Send for LogoutError
impl Sync for LogoutError
impl Unpin for LogoutError
impl UnwindSafe for LogoutError
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