Enum eva_common::hyper_tools::HContent
source · pub enum HContent {
Data(Vec<u8>, Option<&'static str>, Option<HeaderMap>),
Value(Value),
Redirect(String),
HyperResult(Result<Response<Body>, Error>),
}Variants§
Data(Vec<u8>, Option<&'static str>, Option<HeaderMap>)
Value(Value)
Redirect(String)
HyperResult(Result<Response<Body>, Error>)
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for HContent
impl Send for HContent
impl Sync for HContent
impl Unpin for HContent
impl !UnwindSafe for HContent
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