pub struct TmpSlot {
pub dir: PathBuf,
/* private fields */
}Expand description
A temp directory held by one command or one worker. Exclusive while this value lives; the directory itself is left in place for the next holder.
Fields§
§dir: PathBufTrait Implementations§
Auto Trait Implementations§
impl Forget for TmpSlot
impl Freeze for TmpSlot
impl Move for TmpSlot
impl RefUnwindSafe for TmpSlot
impl Send for TmpSlot
impl Sync for TmpSlot
impl Unpin for TmpSlot
impl UnsafeUnpin for TmpSlot
impl UnwindSafe for TmpSlot
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