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