pub enum CreateChannelError {
BadRequest(String),
Conflict(String),
Forbidden(String),
ResourceLimitExceeded(String),
ServiceFailure(String),
ServiceUnavailable(String),
ThrottledClient(String),
UnauthorizedClient(String),
}Expand description
Errors returned by CreateChannel
Variants§
BadRequest(String)
The input parameters don't match the service's restrictions.
Conflict(String)
The request could not be processed because of conflict in the current state of the resource.
Forbidden(String)
The client is permanently forbidden from making the request.
ResourceLimitExceeded(String)
The request exceeds the resource limit.
ServiceFailure(String)
The service encountered an unexpected error.
The service is currently unavailable.
ThrottledClient(String)
The client exceeded its request rate limit.
The client is not currently authorized to make the request.
Implementations§
Source§impl CreateChannelError
impl CreateChannelError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateChannelError>
Trait Implementations§
Source§impl Debug for CreateChannelError
impl Debug for CreateChannelError
Source§impl Display for CreateChannelError
impl Display for CreateChannelError
Source§impl Error for CreateChannelError
impl Error for CreateChannelError
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 CreateChannelError
impl PartialEq for CreateChannelError
impl StructuralPartialEq for CreateChannelError
Auto Trait Implementations§
impl Freeze for CreateChannelError
impl RefUnwindSafe for CreateChannelError
impl Send for CreateChannelError
impl Sync for CreateChannelError
impl Unpin for CreateChannelError
impl UnwindSafe for CreateChannelError
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