pub struct OutputStream<Registry: PollableRegistry> { /* private fields */ }Implementations§
Source§impl<Registry> OutputStream<Registry>where
Registry: PollableRegistry,
impl<Registry> OutputStream<Registry>where
Registry: PollableRegistry,
pub fn new(stream: OutputStream, registry: Registry) -> Self
pub fn poll_check_write( &mut self, cx: &mut Context<'_>, ) -> Poll<Result<OutputStreamPermit<'_>, Error>>
pub fn poll_splice( &mut self, cx: &mut Context<'_>, src: &InputStream<Registry>, len: u64, ) -> Poll<Result<u64, Error>>
pub fn poll_flush(&mut self, cx: &mut Context<'_>) -> Poll<Result<(), Error>>
Auto Trait Implementations§
impl<Registry> !Freeze for OutputStream<Registry>
impl<Registry> RefUnwindSafe for OutputStream<Registry>
impl<Registry> Send for OutputStream<Registry>
impl<Registry> Sync for OutputStream<Registry>
impl<Registry> Unpin for OutputStream<Registry>
impl<Registry> UnsafeUnpin for OutputStream<Registry>
impl<Registry> UnwindSafe for OutputStream<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