pub struct ServerlessResponse {
pub status: u16,
pub headers: HashMap<String, String>,
pub body: UnboundedReceiver<Result<Vec<u8>, ServerlessStreamError>>,
}Fields§
§status: u16§headers: HashMap<String, String>§body: UnboundedReceiver<Result<Vec<u8>, ServerlessStreamError>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ServerlessResponse
impl RefUnwindSafe for ServerlessResponse
impl Send for ServerlessResponse
impl Sync for ServerlessResponse
impl Unpin for ServerlessResponse
impl UnsafeUnpin for ServerlessResponse
impl UnwindSafe for ServerlessResponse
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