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