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