[−][src]Struct maturin::SDistWriter
Creates a .tar.gz archive containing the source distribution
Methods
impl SDistWriter
[src]
pub fn new(
wheel_dir: impl AsRef<Path>,
metadata21: &Metadata21
) -> Result<Self, Error>
[src]
wheel_dir: impl AsRef<Path>,
metadata21: &Metadata21
) -> Result<Self, Error>
Create a source distribution .tar.gz which can be subsequently expanded
pub fn finish(self) -> Result<PathBuf, Error>
[src]
Finished the .tar.gz archive
Trait Implementations
impl ModuleWriter for SDistWriter
[src]
fn add_directory(&mut self, _path: impl AsRef<Path>) -> Result<(), Error>
[src]
fn add_bytes_with_permissions(
&mut self,
target: impl AsRef<Path>,
bytes: &[u8],
permissions: u32
) -> Result<(), Error>
[src]
&mut self,
target: impl AsRef<Path>,
bytes: &[u8],
permissions: u32
) -> Result<(), Error>
fn add_file(
&mut self,
target: impl AsRef<Path>,
source: impl AsRef<Path>
) -> Result<(), Error>
[src]
&mut self,
target: impl AsRef<Path>,
source: impl AsRef<Path>
) -> Result<(), Error>
fn add_bytes(
&mut self,
target: impl AsRef<Path>,
bytes: &[u8]
) -> Result<(), Error>
[src]
&mut self,
target: impl AsRef<Path>,
bytes: &[u8]
) -> Result<(), Error>
Auto Trait Implementations
impl Sync for SDistWriter
impl Send for SDistWriter
impl Unpin for SDistWriter
impl UnwindSafe for SDistWriter
impl RefUnwindSafe for SDistWriter
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,