pub enum RotateChannelCredentialsError {
Forbidden(String),
InternalServerError(String),
NotFound(String),
ServiceUnavailable(String),
TooManyRequests(String),
UnprocessableEntity(String),
}Expand description
Errors returned by RotateChannelCredentials
Variants§
Forbidden(String)
The client is not authorized to access the requested resource.
InternalServerError(String)
An unexpected error occurred.
NotFound(String)
The requested resource does not exist.
An unexpected error occurred.
TooManyRequests(String)
The client has exceeded their resource or throttling limits.
UnprocessableEntity(String)
The parameters sent in the request are not valid.
Implementations§
Trait Implementations§
Source§impl Error for RotateChannelCredentialsError
impl Error for RotateChannelCredentialsError
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 RotateChannelCredentialsError
impl PartialEq for RotateChannelCredentialsError
Source§fn eq(&self, other: &RotateChannelCredentialsError) -> bool
fn eq(&self, other: &RotateChannelCredentialsError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RotateChannelCredentialsError
Auto Trait Implementations§
impl Freeze for RotateChannelCredentialsError
impl RefUnwindSafe for RotateChannelCredentialsError
impl Send for RotateChannelCredentialsError
impl Sync for RotateChannelCredentialsError
impl Unpin for RotateChannelCredentialsError
impl UnwindSafe for RotateChannelCredentialsError
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