pub fn tar_iter<I>(iter: I) -> Self
    where
        I: Iterator<Item = P> + Send + Sync + 'static,
    {
        TarStream {
            state: Some(TarState::BeforeNext),
            iter: Box::new(iter),
            position: 0,
            buf: [0; BUFFER_LENGTH],
            base_dir: None,
        }
    }
///
/// Create stream that tars files from given path iterator
///
Create stream that tars files from given path iterator
Create stream that tars files from given path iterator
pub fn tar_iter<I>(iter: I) -> Self
    where
        I: Iterator<Item = P> + Send + Sync + 'static,
    {
        TarStream {
            state: Some(TarState::BeforeNext),
            iter: Box::new(iter),
            position: 0,
            buf: [0; BUFFER_LENGTH],
            base_dir: None,
        }
    }
pub fn tar_iter < I > ( iter : I ) -> Self where I : Iterator < Item = P > + Send + Sync + ' static , { TarStream { state : Some ( TarState :: BeforeNext ) , iter : Box :: new ( iter ) , position : 0 , buf : [ 0 ; BUFFER_LENGTH ] , base_dir : None , } }
Create stream that tars files from given path iterator
Create stream that tars files from given path iterator
iter
I
iter
I