pub struct TempDirOptions {
pub parent: Option<FsPath>,
pub prefix: String,
pub suffix: String,
}Expand description
Options controlling temporary directory creation.
Fields§
§parent: Option<FsPath>Parent directory or prefix for the temporary directory.
prefix: StringName prefix.
suffix: StringName suffix.
Trait Implementations§
Source§impl Clone for TempDirOptions
impl Clone for TempDirOptions
Source§fn clone(&self) -> TempDirOptions
fn clone(&self) -> TempDirOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TempDirOptions
impl Debug for TempDirOptions
Source§impl Default for TempDirOptions
impl Default for TempDirOptions
Source§impl PartialEq for TempDirOptions
impl PartialEq for TempDirOptions
Source§fn eq(&self, other: &TempDirOptions) -> bool
fn eq(&self, other: &TempDirOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TempDirOptions
impl StructuralPartialEq for TempDirOptions
Auto Trait Implementations§
impl Freeze for TempDirOptions
impl RefUnwindSafe for TempDirOptions
impl Send for TempDirOptions
impl Sync for TempDirOptions
impl Unpin for TempDirOptions
impl UnsafeUnpin for TempDirOptions
impl UnwindSafe for TempDirOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoValueDefault<T> for T
impl<T> IntoValueDefault<T> for T
Source§fn into_value_default(self) -> T
fn into_value_default(self) -> T
Converts this argument into the default value.