Struct rustainers::compose::TemporaryFile
source · pub struct TemporaryFile { /* private fields */ }Expand description
A temporary file into a temporary director
§Example
let tmp_file = TemporaryFile::builder()
.with_path("docker-compose.yaml")
.with_content(r#"..."#)
.build();Implementations§
source§impl TemporaryFile
impl TemporaryFile
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TemporaryFile
impl RefUnwindSafe for TemporaryFile
impl Send for TemporaryFile
impl Sync for TemporaryFile
impl Unpin for TemporaryFile
impl UnwindSafe for TemporaryFile
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