• Home
  • Raw
  • Download

Lines Matching refs:OpenOptions

72 pub struct OpenOptions(std::fs::OpenOptions);  struct
74 impl OpenOptions { impl
91 pub fn new() -> OpenOptions { in new()
92 OpenOptions(std::fs::OpenOptions::new()) in new()
120 pub fn read(&mut self, read: bool) -> &mut OpenOptions { in read() argument
150 pub fn write(&mut self, write: bool) -> &mut OpenOptions { in write() argument
209 pub fn append(&mut self, append: bool) -> &mut OpenOptions { in append() argument
242 pub fn truncate(&mut self, truncate: bool) -> &mut OpenOptions { in truncate() argument
278 pub fn create(&mut self, create: bool) -> &mut OpenOptions { in create() argument
321 pub fn create_new(&mut self, create_new: bool) -> &mut OpenOptions { in create_new() argument
387 pub(super) fn as_inner_mut(&mut self) -> &mut std::fs::OpenOptions { in as_inner_mut() argument
397 impl OpenOptions { impl
421 pub fn mode(&mut self, mode: u32) -> &mut OpenOptions {
453 pub fn custom_flags(&mut self, flags: i32) -> &mut OpenOptions {
465 impl OpenOptions { impl
489 pub fn access_mode(&mut self, access: u32) -> &mut OpenOptions {
522 pub fn share_mode(&mut self, share: u32) -> &mut OpenOptions {
554 pub fn custom_flags(&mut self, flags: u32) -> &mut OpenOptions {
593 pub fn attributes(&mut self, attributes: u32) -> &mut OpenOptions {
641 pub fn security_qos_flags(&mut self, flags: u32) -> &mut OpenOptions {
648 impl From<std::fs::OpenOptions> for OpenOptions { implementation
649 fn from(options: std::fs::OpenOptions) -> OpenOptions { in from() argument
650 OpenOptions(options) in from()
654 impl Default for OpenOptions { implementation