pub enum PostToConnectionError {
Forbidden(String),
Gone(String),
LimitExceeded(String),
PayloadTooLarge(String),
}
Expand description
Errors returned by PostToConnection
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.
PayloadTooLarge(String)
The data has exceeded the maximum size allowed.
Implementations§
Source§impl PostToConnectionError
impl PostToConnectionError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<PostToConnectionError>
Trait Implementations§
Source§impl Debug for PostToConnectionError
impl Debug for PostToConnectionError
Source§impl Display for PostToConnectionError
impl Display for PostToConnectionError
Source§impl Error for PostToConnectionError
impl Error for PostToConnectionError
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 PostToConnectionError
impl PartialEq for PostToConnectionError
impl StructuralPartialEq for PostToConnectionError
Auto Trait Implementations§
impl Freeze for PostToConnectionError
impl RefUnwindSafe for PostToConnectionError
impl Send for PostToConnectionError
impl Sync for PostToConnectionError
impl Unpin for PostToConnectionError
impl UnwindSafe for PostToConnectionError
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