pub enum UpdateResourceLimitsError {
RequestFailure(Error),
InvalidHeaderValue(InvalidHeaderValue),
UnexpectedStatus(StatusCode),
Status400 {
errors: Vec<String>,
},
Status403 {
error: String,
},
Status500 {
error: String,
},
}
Variants§
RequestFailure(Error)
InvalidHeaderValue(InvalidHeaderValue)
UnexpectedStatus(StatusCode)
Status400
Status403
Status500
Implementations§
source§impl UpdateResourceLimitsError
impl UpdateResourceLimitsError
pub fn to_limits_endpoint_error(&self) -> Option<LimitsEndpointError>
Trait Implementations§
source§impl From<Error> for UpdateResourceLimitsError
impl From<Error> for UpdateResourceLimitsError
source§fn from(error: Error) -> UpdateResourceLimitsError
fn from(error: Error) -> UpdateResourceLimitsError
Converts to this type from the input type.
source§impl From<InvalidHeaderValue> for UpdateResourceLimitsError
impl From<InvalidHeaderValue> for UpdateResourceLimitsError
source§fn from(error: InvalidHeaderValue) -> UpdateResourceLimitsError
fn from(error: InvalidHeaderValue) -> UpdateResourceLimitsError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for UpdateResourceLimitsError
impl Send for UpdateResourceLimitsError
impl Sync for UpdateResourceLimitsError
impl Unpin for UpdateResourceLimitsError
impl !UnwindSafe for UpdateResourceLimitsError
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