pub struct Stream<S, H = (), const KNOWN: bool = false> { /* private fields */ }Implementations§
Source§impl<S, H, const KNOWN: bool> Stream<S, H, KNOWN>
impl<S, H, const KNOWN: bool> Stream<S, H, KNOWN>
pub fn with_status(self, status: Code) -> Self
Trait Implementations§
Source§impl<'req, 'd, Ranges: Copy + 'd, D, S: Source<Polled<KNOWN>>, H: Source<Application>, const KNOWN: bool> Emit<'req, 'd, D, Ranges> for Stream<S, H, KNOWN>
impl<'req, 'd, Ranges: Copy + 'd, D, S: Source<Polled<KNOWN>>, H: Source<Application>, const KNOWN: bool> Emit<'req, 'd, D, Ranges> for Stream<S, H, KNOWN>
const BODY: Kind = payload::Kind::Stream
type Kind = Polled<KNOWN>
type Stream = S
type Bound = Unbounded
fn consume<W: Transaction<'req, 'd, S, Ranges, Self::Kind>>( self, writer: W, ) -> W::Done
const DECLARED: Option<Head<Self>> = None
fn into_exact(self) -> Result<impl Reply, Self>
Auto Trait Implementations§
impl<S, H, const KNOWN: bool> Forget for Stream<S, H, KNOWN>
impl<S, H, const KNOWN: bool> Freeze for Stream<S, H, KNOWN>
impl<S, H, const KNOWN: bool> Move for Stream<S, H, KNOWN>
impl<S, H, const KNOWN: bool> RefUnwindSafe for Stream<S, H, KNOWN>
impl<S, H, const KNOWN: bool> Send for Stream<S, H, KNOWN>
impl<S, H, const KNOWN: bool> Sync for Stream<S, H, KNOWN>
impl<S, H, const KNOWN: bool> Unpin for Stream<S, H, KNOWN>
impl<S, H, const KNOWN: bool> UnsafeUnpin for Stream<S, H, KNOWN>
impl<S, H, const KNOWN: bool> UnwindSafe for Stream<S, H, KNOWN>
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