pub struct OutgoingBody<Registry: PollableRegistry> { /* private fields */ }Implementations§
Source§impl<Registry> OutgoingBody<Registry>where
Registry: PollableRegistry,
impl<Registry> OutgoingBody<Registry>where
Registry: PollableRegistry,
pub fn new(body: OutgoingBody, registry: Registry) -> Result<Self, Error>
pub fn stream(&mut self) -> &mut OutputStream<Registry>
pub fn finish(self, trailers: Option<FieldEntries>) -> Result<(), Error>
Auto Trait Implementations§
impl<Registry> !Freeze for OutgoingBody<Registry>
impl<Registry> RefUnwindSafe for OutgoingBody<Registry>
impl<Registry> Send for OutgoingBody<Registry>
impl<Registry> Sync for OutgoingBody<Registry>
impl<Registry> Unpin for OutgoingBody<Registry>
impl<Registry> UnsafeUnpin for OutgoingBody<Registry>
impl<Registry> UnwindSafe for OutgoingBody<Registry>
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