pub struct Repeat { /* private fields */ }Expand description
Trait Implementations§
Source§impl Read for Repeat
impl Read for Repeat
Source§async fn read(&mut self, buf: &mut [u8]) -> Result<usize>
async fn read(&mut self, buf: &mut [u8]) -> Result<usize>
Reads data from the stream into the provided buffer.
fn read_vectored( &mut self, bufs: &mut [IoSliceMut<'_>], ) -> impl Future<Output = Result<usize>>
fn is_read_vectored(&self) -> bool
fn read_to_end( &mut self, buf: &mut Vec<u8>, ) -> impl Future<Output = Result<usize>>
fn read_to_string(&mut self) -> impl Future<Output = Result<String>>
fn read_exact(&mut self, buf: &mut [u8]) -> impl Future<Output = Result<()>>
impl Copy for Repeat
Auto Trait Implementations§
impl Freeze for Repeat
impl RefUnwindSafe for Repeat
impl Send for Repeat
impl Sync for Repeat
impl Unpin for Repeat
impl UnwindSafe for Repeat
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