pub struct ProgressPipe { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Pipe for ProgressPipe
impl Pipe for ProgressPipe
Source§type Reader = PipeReader<ProgressPipe>
type Reader = PipeReader<ProgressPipe>
The wrapping reader type used for this pipe.
Source§type Writer = PipeWriter<ProgressPipe>
type Writer = PipeWriter<ProgressPipe>
The wrapping writer type used for this pipe.
Source§fn pipe(&mut self, input: &[u8]) -> (usize, Option<Vec<u8>>)
fn pipe(&mut self, input: &[u8]) -> (usize, Option<Vec<u8>>)
Pipe bytes from
input
, monitor/transform it, return the output. Read moreSource§fn reader(self, inner: Box<dyn Read>) -> Self::Reader
fn reader(self, inner: Box<dyn Read>) -> Self::Reader
Wrap the
inner
reader, bytes that are read are transformed through this pipe.Auto Trait Implementations§
impl Freeze for ProgressPipe
impl RefUnwindSafe for ProgressPipe
impl Send for ProgressPipe
impl Sync for ProgressPipe
impl Unpin for ProgressPipe
impl UnwindSafe for ProgressPipe
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