pub struct BodySender { /* private fields */ }Expand description
Sends body chunks of a streaming response; clone it to feed one stream from several tasks. The body ends when all clones are dropped.
Implementations§
Source§impl BodySender
impl BodySender
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BodySender
impl RefUnwindSafe for BodySender
impl Send for BodySender
impl Sync for BodySender
impl Unpin for BodySender
impl UnsafeUnpin for BodySender
impl UnwindSafe for BodySender
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