Home
last modified time | relevance | path

Searched defs:OpenOptions (Results 1 – 10 of 10) sorted by relevance

/third_party/rust/rust/library/std/src/sys/solid/
Dfs.rs68 pub struct OpenOptions { struct
70 read: bool,
71 write: bool,
72 append: bool,
73 truncate: bool,
74 create: bool,
75 create_new: bool,
77 custom_flags: i32,
228 impl OpenOptions { impl
/third_party/rust/rust/library/std/src/os/windows/
Dfs.rs269 impl OpenOptionsExt for OpenOptions { implementation
270 fn access_mode(&mut self, access: u32) -> &mut OpenOptions { in access_mode()
275 fn share_mode(&mut self, share: u32) -> &mut OpenOptions { in share_mode()
280 fn custom_flags(&mut self, flags: u32) -> &mut OpenOptions { in custom_flags()
285 fn attributes(&mut self, attributes: u32) -> &mut OpenOptions { in attributes() method
290 fn security_qos_flags(&mut self, flags: u32) -> &mut OpenOptions { in security_qos_flags()
/third_party/rust/rust/library/std/src/sys/hermit/
Dfs.rs31 pub struct OpenOptions { struct
33 read: bool,
34 write: bool,
35 append: bool,
36 truncate: bool,
37 create: bool,
38 create_new: bool,
40 mode: i32,
194 impl OpenOptions { impl
/third_party/rust/rust/library/std/src/os/wasi/
Dfs.rs365 impl OpenOptionsExt for OpenOptions { implementation
366 fn lookup_flags(&mut self, flags: u32) -> &mut OpenOptions { in lookup_flags()
371 fn directory(&mut self, dir: bool) -> &mut OpenOptions { in directory()
376 fn dsync(&mut self, enabled: bool) -> &mut OpenOptions { in dsync()
381 fn nonblock(&mut self, enabled: bool) -> &mut OpenOptions { in nonblock()
386 fn rsync(&mut self, enabled: bool) -> &mut OpenOptions { in rsync()
391 fn sync(&mut self, enabled: bool) -> &mut OpenOptions { in sync()
396 fn fs_rights_base(&mut self, rights: u64) -> &mut OpenOptions { in fs_rights_base()
401 fn fs_rights_inheriting(&mut self, rights: u64) -> &mut OpenOptions { in fs_rights_inheriting()
/third_party/rust/rust/library/std/src/sys/windows/
Dfs.rs61 unsafe impl Send for OpenOptions {} implementation
62 unsafe impl Sync for OpenOptions {} implementation
65 pub struct OpenOptions { struct
67 read: bool,
68 write: bool,
69 append: bool,
70 truncate: bool,
71 create: bool,
72 create_new: bool,
74 custom_flags: u32,
[all …]
/third_party/rust/rust/library/std/src/sys/wasi/
Dfs.rs51 pub struct OpenOptions { struct
52 read: bool,
53 write: bool,
54 append: bool,
55 dirflags: wasi::Lookupflags,
56 fdflags: wasi::Fdflags,
57 oflags: wasi::Oflags,
58 rights_base: Option<wasi::Rights>,
59 rights_inheriting: Option<wasi::Rights>,
267 impl OpenOptions { impl
/third_party/rust/rust/library/std/src/sys/unix/
Dfs.rs343 pub struct OpenOptions { struct
345 read: bool,
346 write: bool,
347 append: bool,
348 truncate: bool,
349 create: bool,
350 create_new: bool,
352 custom_flags: i32,
353 mode: mode_t,
998 impl OpenOptions { implementation
/third_party/rust/rust/library/std/src/
Dfs.rs186 pub struct OpenOptions(fs_imp::OpenOptions); struct
862 impl OpenOptions { impl
1091 impl AsInner<fs_imp::OpenOptions> for OpenOptions { implementation
1093 fn as_inner(&self) -> &fs_imp::OpenOptions { in as_inner()
1098 impl AsInnerMut<fs_imp::OpenOptions> for OpenOptions { implementation
1100 fn as_inner_mut(&mut self) -> &mut fs_imp::OpenOptions { in as_inner_mut()
/third_party/rust/rust/library/std/src/sys/unsupported/
Dfs.rs18 pub struct OpenOptions {} struct
171 impl OpenOptions { impl
/third_party/rust/rust/library/std/src/os/unix/
Dfs.rs389 impl OpenOptionsExt for OpenOptions { implementation
390 fn mode(&mut self, mode: u32) -> &mut OpenOptions { in mode() method
395 fn custom_flags(&mut self, flags: i32) -> &mut OpenOptions { in custom_flags()