pub enum ActorHttpResponse {
Buffered(Response),
Stream(StreamingResponse),
}Variants§
Buffered(Response)
Stream(StreamingResponse)
Trait Implementations§
Source§impl From<Response> for ActorHttpResponse
impl From<Response> for ActorHttpResponse
Source§impl From<StreamingResponse> for ActorHttpResponse
impl From<StreamingResponse> for ActorHttpResponse
Source§fn from(value: StreamingResponse) -> Self
fn from(value: StreamingResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ActorHttpResponse
impl !UnwindSafe for ActorHttpResponse
impl Freeze for ActorHttpResponse
impl Send for ActorHttpResponse
impl Sync for ActorHttpResponse
impl Unpin for ActorHttpResponse
impl UnsafeUnpin for ActorHttpResponse
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