pub enum HTTPResponse<T> {
HttpOk(T),
HttpError(HttpErrorInner),
}Variants§
HttpOk(T)
HttpError(HttpErrorInner)
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for HTTPResponse<T>where
T: Freeze,
impl<T> RefUnwindSafe for HTTPResponse<T>where
T: RefUnwindSafe,
impl<T> Send for HTTPResponse<T>where
T: Send,
impl<T> Sync for HTTPResponse<T>where
T: Sync,
impl<T> Unpin for HTTPResponse<T>where
T: Unpin,
impl<T> UnwindSafe for HTTPResponse<T>where
T: UnwindSafe,
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