pub struct TarEntryInput { /* private fields */ }Expand description
Single file or directory entry to write into a pure-Rust .tar.gz archive.
Implementations§
Source§impl TarEntryInput
impl TarEntryInput
pub fn get_archive_path(&self) -> &String
pub fn get_mut_archive_path(&mut self) -> &mut String
pub fn set_archive_path(&mut self, val: String) -> &mut Self
pub fn get_data(&self) -> &Vec<u8> ⓘ
pub fn get_mut_data(&mut self) -> &mut Vec<u8> ⓘ
pub fn set_data(&mut self, val: Vec<u8>) -> &mut Self
pub fn get_unix_mode(&self) -> u32
pub fn get_mut_unix_mode(&mut self) -> &mut u32
pub fn set_unix_mode(&mut self, val: u32) -> &mut Self
pub fn get_is_dir(&self) -> bool
pub fn get_mut_is_dir(&mut self) -> &mut bool
pub fn set_is_dir(&mut self, val: bool) -> &mut Self
Trait Implementations§
Source§impl Clone for TarEntryInput
impl Clone for TarEntryInput
Source§impl Debug for TarEntryInput
impl Debug for TarEntryInput
impl Eq for TarEntryInput
Source§impl PartialEq for TarEntryInput
impl PartialEq for TarEntryInput
impl StructuralPartialEq for TarEntryInput
Auto Trait Implementations§
impl Forget for TarEntryInput
impl Freeze for TarEntryInput
impl Move for TarEntryInput
impl RefUnwindSafe for TarEntryInput
impl Send for TarEntryInputwhere
RawVecInner: Send,
impl Sync for TarEntryInputwhere
RawVecInner: Sync,
impl Unpin for TarEntryInput
impl UnsafeUnpin for TarEntryInput
impl UnwindSafe for TarEntryInputwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more