pub struct OpenOptions {
pub password: Vec<u8>,
pub strictness: Strictness,
pub limits: Limits,
}Expand description
How to open a file.
Fields§
§password: Vec<u8>Password for encrypted files, tried as user then owner password. The empty password is always tried when this is empty.
strictness: StrictnessWhether repairs are allowed.
limits: LimitsResource limits.
Trait Implementations§
Source§impl Clone for OpenOptions
impl Clone for OpenOptions
Source§impl Debug for OpenOptions
impl Debug for OpenOptions
Auto Trait Implementations§
impl !RefUnwindSafe for OpenOptions
impl !UnwindSafe for OpenOptions
impl Freeze for OpenOptions
impl Send for OpenOptions
impl Sync for OpenOptions
impl Unpin for OpenOptions
impl UnsafeUnpin for OpenOptions
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