pub enum CreateBrokerError {
BadRequest(String),
Conflict(String),
Forbidden(String),
InternalServerError(String),
Unauthorized(String),
}
Expand description
Errors returned by CreateBroker
Variants§
BadRequest(String)
Returns information about an error.
Conflict(String)
Returns information about an error.
Forbidden(String)
Returns information about an error.
InternalServerError(String)
Returns information about an error.
Returns information about an error.
Implementations§
Source§impl CreateBrokerError
impl CreateBrokerError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateBrokerError>
Trait Implementations§
Source§impl Debug for CreateBrokerError
impl Debug for CreateBrokerError
Source§impl Display for CreateBrokerError
impl Display for CreateBrokerError
Source§impl Error for CreateBrokerError
impl Error for CreateBrokerError
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 CreateBrokerError
impl PartialEq for CreateBrokerError
impl StructuralPartialEq for CreateBrokerError
Auto Trait Implementations§
impl Freeze for CreateBrokerError
impl RefUnwindSafe for CreateBrokerError
impl Send for CreateBrokerError
impl Sync for CreateBrokerError
impl Unpin for CreateBrokerError
impl UnwindSafe for CreateBrokerError
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