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