pub enum GetConnectionError {
Forbidden(String),
Gone(String),
LimitExceeded(String),
}
Expand description
Errors returned by GetConnection
Variants§
Forbidden(String)
The caller is not authorized to invoke this operation.
Gone(String)
The connection with the provided id no longer exists.
LimitExceeded(String)
The client is sending more than the allowed number of requests per unit of time or the WebSocket client side buffer is full.
Implementations§
Source§impl GetConnectionError
impl GetConnectionError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetConnectionError>
Trait Implementations§
Source§impl Debug for GetConnectionError
impl Debug for GetConnectionError
Source§impl Display for GetConnectionError
impl Display for GetConnectionError
Source§impl Error for GetConnectionError
impl Error for GetConnectionError
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 GetConnectionError
impl PartialEq for GetConnectionError
impl StructuralPartialEq for GetConnectionError
Auto Trait Implementations§
impl Freeze for GetConnectionError
impl RefUnwindSafe for GetConnectionError
impl Send for GetConnectionError
impl Sync for GetConnectionError
impl Unpin for GetConnectionError
impl UnwindSafe for GetConnectionError
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