pub struct OutputFile {
pub id: String,
pub path: PathBuf,
pub file: File,
}Expand description
A file a command’s full output goes to, as an OutputStore creates it.
Fields§
§id: StringThe name a caller passes back to read the file, such as shell_output’s shell_id.
path: PathBufWhere the file is; it is removed when the result turns out to need none.
file: FileThe file, open for writing.
Trait Implementations§
Auto Trait Implementations§
impl Forget for OutputFile
impl Freeze for OutputFile
impl Move for OutputFile
impl RefUnwindSafe for OutputFilewhere
I32NotAllOnes: RefUnwindSafe,
impl Send for OutputFile
impl Sync for OutputFile
impl Unpin for OutputFile
impl UnsafeUnpin for OutputFile
impl UnwindSafe for OutputFilewhere
RawVecInner: UnwindSafe,
I32NotAllOnes: UnwindSafe,
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