Enum netserver::ResponseCode
source · pub enum ResponseCode {
Rc200,
Rc201,
Rc204,
Rc304,
Rc400,
Rc404,
Rc429,
Rc500,
}Expand description
A response code. Used to specify how the request was on the webserver routes.
Rc200: OK Rc201: CREATED Rc204: NO CONTENT Rc304: NOT MODIFIED Rc400: BAD REQUEST Rc404: NOT FOUND Rc429: TO MANY REQUESTS Rc500: INTERNAL SERVER ERROR
Variants§
Auto Trait Implementations§
impl RefUnwindSafe for ResponseCode
impl Send for ResponseCode
impl Sync for ResponseCode
impl Unpin for ResponseCode
impl UnwindSafe for ResponseCode
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