Struct async_vfs::OpenOptions
source · pub struct OpenOptions { /* private fields */ }
Implementations§
source§impl OpenOptions
impl OpenOptions
pub fn new() -> OpenOptions
pub fn has_read(&self) -> bool
pub fn read(self, read: bool) -> OpenOptions
pub fn has_write(&self) -> bool
pub fn write(self, write: bool) -> OpenOptions
pub fn has_create(&self) -> bool
pub fn create(self, create: bool) -> OpenOptions
pub fn has_append(&self) -> bool
pub fn append(self, append: bool) -> OpenOptions
pub fn has_truncate(&self) -> bool
pub fn truncate(self, truncate: bool) -> OpenOptions
Trait Implementations§
source§impl Debug for OpenOptions
impl Debug for OpenOptions
source§impl Default for OpenOptions
impl Default for OpenOptions
source§fn default() -> OpenOptions
fn default() -> OpenOptions
Returns the “default value” for a type. Read more