Struct fs::WriteOptions
source · pub struct WriteOptions { /* private fields */ }
Expand description
Options for how to write to the target file.
The default is to create a new file at the path.
This can be created from std::fs::OpenOptions
.
Trait Implementations§
source§impl Debug for WriteOptions
impl Debug for WriteOptions
source§impl Default for WriteOptions
impl Default for WriteOptions
source§fn default() -> WriteOptions
fn default() -> WriteOptions
Returns the “default value” for a type. Read more
source§impl From<OpenOptions> for WriteOptions
impl From<OpenOptions> for WriteOptions
source§fn from(open: OpenOptions) -> WriteOptions
fn from(open: OpenOptions) -> WriteOptions
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for WriteOptions
impl Send for WriteOptions
impl Sync for WriteOptions
impl Unpin for WriteOptions
impl UnwindSafe for WriteOptions
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